/* style.css */
:root {
    /* Dark theme colors */
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-surface-hover: #334155;

    /* Primary colors */
    --primary-100: #1e3a8a;
    --primary-200: #1d4ed8;
    --primary-300: #2563eb;
    --primary-400: #3b82f6;
    --primary-500: #60a5fa;

    /* Neutral colors */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-700: #cbd5e1;
    --neutral-800: #e2e8f0;

    /* Accent colors */
    --accent-100: #0d9488;
    --accent-500: #14b8a6;

    /* Semantic colors */
    --background: var(--dark-bg);
    --text-primary: var(--neutral-800);
    --text-secondary: var(--neutral-700);
}

/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg,
            var(--dark-bg) 0%,
            var(--primary-100) 100%);
    min-height: 100vh;
}

/* Header styling */
header {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-400), var(--accent-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-400);
}

.language-switch button {
    background: var(--dark-surface);
    border: 1px solid var(--primary-300);
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    color: var(--neutral-700);
    font-weight: 500;
    transition: all 0.2s ease;
}

.language-switch button:hover {
    background-color: var(--primary-300);
    color: var(--neutral-100);
}

/* Main container: continuous layout and centered content */
main {
    margin-top: 4rem;
}

/* Add a container class for consistent width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Update section styling */
section {
    padding: 6rem 0;
    /* Remove horizontal padding */
    width: 100%;
}

/* Update specific sections */
.hero {
    text-align: center;
    padding: 8rem 0 6rem;
}

.hero .container {
    max-width: 800px;
    /* Slightly narrower for better readability */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2393c5fd' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--neutral-100);
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--neutral-700);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Contact CTA button */
.cta-button {
    background: linear-gradient(135deg, var(--primary-300), var(--primary-200));
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.about {
    background: none;
    text-align: center;
}

.about h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--neutral-100);
}

.about p {
    opacity: 0.9;
}

.benefits {
    width: 100%;
    margin-top: 4rem;
}

.benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0;
    max-width: 1200px;
    /* Match container width */
    margin: 0 auto;
}

.benefits li {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefits li:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary-300);
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--primary-300);
}

.features {
    padding: 6rem 1rem;
    background: none;
}

.features h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--neutral-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 250px;
    max-width: 100%;
}

.feature-card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary-300);
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--primary-300);
}

.feature-card h3 {
    color: var(--primary-400);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--neutral-700);
    line-height: 1.7;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--neutral-700);
}

/* Update responsive design */
@media (max-width: 1200px) {
    .container {
        max-width: 900px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .container {
        max-width: 600px;
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .benefits ul {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    nav {
        position: relative;
        padding: 1rem 2rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(8px);
        padding: 1rem;
        display: none;
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0.5rem 0;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    /* Add hamburger menu */
    .menu-toggle {
        display: block;
        cursor: pointer;
        padding: 0.5rem;
    }

    /* Content */
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 2rem;
    }

    .benefits ul,
    .features-grid {
        gap: 1.5rem;
    }

    .feature-card,
    .benefits li {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .cta-button {
        width: 100%;
        padding: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .language-switch {
        position: absolute;
        top: 100%;
        right: 1rem;
        margin-top: 0.5rem;
    }
}

/* Update text spacing in sections */
section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--neutral-700);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Center all section headers */
section h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--neutral-100);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

/* Optional: Add a subtle underline decoration */
section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-300), var(--accent-500));
    border-radius: 2px;
}

section h2+p {
    margin-top: 1.5rem;
}

/* Update about section spacing */
.about h2 {
    margin-bottom: 1.5rem;
}

.about p {
    opacity: 0.9;
}

/* Update features section spacing */
.features h2 {
    margin-bottom: 1.5rem;
}

/* Add this near the other menu-toggle styles */
.menu-toggle {
    display: none;
    /* Hide by default */
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--neutral-700);
}

/* Update the mobile breakpoint styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        /* Show only on mobile */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(8px);
        padding: 1rem;
        display: none;
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* ... rest of mobile styles ... */
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--dark-surface);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid var(--primary-300);
    width: 90%;
    max-width: 800px;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.close-modal {
    color: var(--neutral-700);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

.close-modal:hover {
    color: var(--neutral-100);
}