/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global reset - standard approach */

:root {
    --primary-color: #5B2C6F;
    --secondary-color: #7D3C98;
    --accent-color: #FF7F50;
    --accent-light: #FFA07A;
    --text-color: #2D2D2D;
    --text-light: #6B6B6B;
    --bg-light: #FAF7FC;
    --bg-white: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #5B2C6F 0%, #8E44AD 50%, #9B59B6 100%);
    --border-color: #E8D9F0;
    --shadow: 0 4px 15px rgba(91, 44, 111, 0.1);
    --shadow-hover: 0 8px 25px rgba(91, 44, 111, 0.2);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* could adjust timing if needed */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-notification.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--bg-white);
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
}

.cookie-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4);
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent-color);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
    background: var(--bg-gradient);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: var(--bg-white);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 127, 80, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(142, 68, 173, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--bg-white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 127, 80, 0.4);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Hero Accordion */
.hero-accordion {
    margin-top: 40px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 127, 80, 0.4);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--bg-white);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.15);
}

.accordion-icon {
    font-size: 24px;
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 20px 20px;
}

.accordion-content p {
    color: var(--bg-white);
    opacity: 0.9;
    line-height: 1.6;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, #E8D9F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(91, 44, 111, 0.1);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(91, 44, 111, 0.2);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Design Section */
.design-section {
    background: var(--bg-white);
}

.design-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.design-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.design-text h3:first-child {
    margin-top: 0;
}

.design-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.design-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.design-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(91, 44, 111, 0.25);
}

/* Development Section */
.development-section {
    background: var(--bg-light);
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dev-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.dev-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 44, 111, 0.05) 0%, transparent 70%);
    transition: var(--transition);
    transform: scale(0);
}

.dev-item:hover::before {
    transform: scale(1);
}

.dev-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.dev-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.dev-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Platforms Section */
.platforms-section {
    background: var(--bg-white);
}

.platforms-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.platform-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
}

.platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--bg-light));
    transition: var(--transition);
}

.platform-card:hover::after {
    width: 100%;
}

.platform-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-color);
}

.platform-card h3,
.platform-card p {
    position: relative;
    z-index: 1;
}

.platform-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.platform-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Security Section */
.security-section {
    background: var(--bg-light);
}

.security-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.security-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.security-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.security-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.security-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    background: var(--bg-white);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    position: absolute;
    left: -7px;
    top: 0;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4);
    border: 3px solid var(--bg-white);
}

.timeline-content {
    margin-left: 60px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    flex: 1;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 2px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4A235A 50%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--bg-white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .design-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .services-grid,
    .dev-grid,
    .platforms-content,
    .security-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 50px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .process-timeline {
        padding-left: 30px;
    }
    
    .timeline-content {
        margin-left: 50px;
        padding: 20px;
    }
}

/* Policy Pages Styles */
.policy-page {
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
}

.policy-page h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.policy-page h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-page h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 12px;
}

.policy-page h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-page p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

.policy-page ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.policy-page li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-color);
}

.policy-page a {
    color: var(--accent-color);
    text-decoration: none;
}

.policy-page a:hover {
    text-decoration: underline;
}

/* Thanks Page */
.thanks-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.thanks-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.thanks-content .btn-primary {
    margin-top: 20px;
}

