:root {
    --bg-color: #0a0a0f;
    --text-color: #e0e0e0;
    --accent-primary: #00f3ff;
    /* Cyan Neon */
    --accent-secondary: #bc13fe;
    /* Purple Neon */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Background Glow */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 20%, rgba(0, 243, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(188, 19, 254, 0.15), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--accent-primary);
    color: #000;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-sub {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #aaa;
    position: relative;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

/* Sections General */
section {
    padding: 80px 0;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #aaa;
}

/* Cards Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    width: 100%;
}

.card,
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover,
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card p {
    font-size: 1.1rem;
    font-weight: 500;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-secondary);
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: "•";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
}

/* Why Now */
.why-now-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.why-now-text {
    flex: 1;
}

.why-now-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.2);
    border: 1px solid var(--glass-border);
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.adv-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-primary);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-secondary);
    border-radius: 50%;
    top: 0;
    box-shadow: 0 0 10px var(--accent-secondary);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--glass-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.highlight-box {
    background: linear-gradient(45deg, rgba(0, 243, 255, 0.1), rgba(188, 19, 254, 0.1));
    border: 1px solid var(--accent-primary);
    padding: 30px;
    border-radius: 15px;
    max-width: 800px;
    margin: 40px auto;
}

/* GDPR Popup */
.gdpr-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--accent-primary);
    border-radius: 15px;
    padding: 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, opacity 0.3s;
}

.gdpr-popup.hidden {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.gdpr-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gdpr-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.gdpr-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cta-button.small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .grid-4,
    .grid-2 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .grid-2 {
        grid-template-columns: 1fr;
        /* Force services to stack earlier */
    }

    .why-now-content {
        flex-direction: column-reverse;
    }

    .feature-img {
        max-width: 80%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .why-now-content {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .why-now-text {
        flex: 1;
    }

    .why-now-image {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .feature-img {
        max-width: 100%;
        border-radius: 20px;
        box-shadow: 0 0 30px rgba(188, 19, 254, 0.2);
        border: 1px solid var(--glass-border);
    }

    .advantages-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .adv-item {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
        padding: 20px;
        border-radius: 10px;
        border-left: 3px solid var(--accent-primary);
    }

    /* Timeline */
    .timeline {
        position: relative;
        max-width: 800px;
        margin: 0 auto;
    }

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 100%;
        background: var(--glass-border);
    }

    .timeline-item {
        margin-bottom: 40px;
        position: relative;
        width: 50%;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 40px;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 40px;
    }

    .timeline-dot {
        position: absolute;
        width: 20px;
        height: 20px;
        background: var(--accent-secondary);
        border-radius: 50%;
        top: 0;
        box-shadow: 0 0 10px var(--accent-secondary);
    }

    .timeline-item:nth-child(odd) .timeline-dot {
        right: -10px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: -10px;
    }

    .timeline-content {
        background: var(--glass-bg);
        padding: 20px;
        border-radius: 10px;
        border: 1px solid var(--glass-border);
    }

    /* Footer */
    footer {
        background: rgba(0, 0, 0, 0.5);
        padding: 80px 0;
        text-align: center;
        border-top: 1px solid var(--glass-border);
    }

    .highlight-box {
        background: linear-gradient(45deg, rgba(0, 243, 255, 0.1), rgba(188, 19, 254, 0.1));
        border: 1px solid var(--accent-primary);
        padding: 30px;
        border-radius: 15px;
        max-width: 800px;
        margin: 40px auto;
    }

    /* GDPR Popup */
    .gdpr-popup {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: rgba(10, 10, 15, 0.95);
        border: 1px solid var(--accent-primary);
        border-radius: 15px;
        padding: 20px;
        z-index: 1000;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
        max-width: 600px;
        margin: 0 auto;
        transform: translateY(0);
        transition: transform 0.3s ease-in-out, opacity 0.3s;
    }

    .gdpr-popup.hidden {
        transform: translateY(150%);
        opacity: 0;
        pointer-events: none;
    }

    .gdpr-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .gdpr-content p {
        font-size: 0.9rem;
        color: var(--text-color);
        margin: 0;
    }

    .gdpr-buttons {
        display: flex;
        gap: 10px;
        flex-shrink: 0;
    }

    .cta-button.small {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    /* Responsive */
    @media (max-width: 900px) {
        .hero h1 {
            font-size: 3rem;
        }

        .grid-4,
        .grid-2 {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        }

        .grid-2 {
            grid-template-columns: 1fr;
            /* Force services to stack earlier */
        }

        .why-now-content {
            flex-direction: column-reverse;
        }

        .feature-img {
            max-width: 80%;
            margin-bottom: 30px;
        }
    }

    @media (max-width: 768px) {
        section {
            padding: 50px 0;
        }

        .hero {
            padding: 140px 0 60px;
        }

        .hero h1 {
            font-size: 2.5rem;
        }

        header {
            padding: 10px 0;
        }

        .header-content {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        .logo {
            order: 1;
            font-size: 1.2rem;
        }

        .lang-switcher {
            order: 2;
            margin-left: auto;
        }

        nav {
            order: 3;
            width: 100%;
            margin-top: 5px;
        }

        nav ul {
            gap: 10px;
            font-size: 0.85rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .timeline::before {
            left: 20px;
        }

        .timeline-item {
            width: 100%;
            left: 0 !important;
            padding-left: 50px !important;
            padding-right: 0 !important;
            text-align: left !important;
        }

        .timeline-item:nth-child(odd) .timeline-dot,
        .timeline-item:nth-child(even) .timeline-dot {
            left: 10px;
            right: auto;
        }

        .gdpr-content {
            flex-direction: column;
            text-align: center;
        }

        .gdpr-buttons {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .hero h1 {
            font-size: 2rem;
        }

        .hero-sub {
            font-size: 1rem;
        }

        .grid-4,
        .grid-2 {
            grid-template-columns: 1fr;
        }

        .card,
        .service-card {
            padding: 20px;
        }

        /* Reduce width of service blocks by ~20% to force text wrap and prevent overflow */
        .service-card {
            width: 85%;
            margin-left: auto;
            margin-right: auto;
        }

        nav ul {
            gap: 10px;
            font-size: 0.85rem;
        }

        .lang-switcher {
            width: auto;
            gap: 5px;
            justify-content: flex-end;
            /* Adjust to align right */
        }

        .lang-btn {
            flex: 0 0 auto;
            padding: 3px 6px;
            font-size: 0.75rem;
            max-width: none;
        }
    }