:root {
    /* High-Precision Tech Palette */
    --brand-yellow: #FFC000;
    --brand-dark: #111827;
    --text-main: #374151;
    --text-muted: #6B7280;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --border-gray: #E5E7EB;

    /* Typography */
    --font-sans: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --section-padding: 120px;

    /* Effects */
    --padding-sides: 40px;
    --radius: 8px;
    /* Standard precision radius */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
}

h1,
h2,
h3,
h4 {
    color: var(--brand-dark);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--padding-sides);
}

/* Navbar: Symmetric & Centered Container */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--padding-sides);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 900;
    font-size: 22px;
    color: var(--brand-dark);
    text-decoration: none;
    letter-spacing: -0.04em;
}

.nav-logo img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: auto;
    /* Push to the right */
}

.mobile-menu-toggle {
    display: none;
    /* Hide on desktop */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--brand-dark);
}

.cta-button {
    background: var(--brand-dark);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    color: #fff !important;
}

/* Hero: Perfectly Symmetric Center Layout */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background: url('assets/images/bedaia-hero.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--padding-sides);
    z-index: 5;
}

.hero-text-aligner {
    max-width: 700px;
    text-align: left;
    background: rgba(255, 255, 255, 0.65);
    /* More translucent white */
    backdrop-filter: blur(16px);
    /* Increased blur for readability */
    -webkit-backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--brand-dark);
    /* Restore dark text */
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-main);
    /* Restore dark text */
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-title {
    font-size: clamp(48px, 8vw, 84px);
    line-height: 1.05;
    margin-bottom: 32px;
    color: var(--brand-dark);
    /* Restore dark color */
}

.gradient-text,
.highlight {
    color: var(--brand-yellow);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
    display: inline-block;
}

.btn-primary {
    background: var(--brand-yellow);
    color: #451A03;
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--brand-dark);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--brand-dark);
    color: #fff;
    border: 1px solid var(--brand-dark);
}

.btn-dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

/* Sections */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.highlight {
    color: var(--brand-yellow);
}

/* Grid Aligned Cards */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.highlight-badge {
    padding: 40px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    border: 1px solid var(--border-gray);
    text-align: center;
}

.badge-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.about-text {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.about-text .lead {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--brand-dark);
}

/* Problem Grid: 3-column Perfect Alignment */
.problem {
    background: var(--bg-gray);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-gray);
}

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--white);
    padding: 32px;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.solution-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    font-weight: 900;
    color: var(--bg-gray);
}

/* Product Section */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product-mockup {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 60px;
    text-align: center;
    border: 1px solid var(--border-gray);
}

.feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 24px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

/* Connect Section: Clean & Centered */
.connect {
    background: var(--brand-yellow);
    padding: 100px 0;
    text-align: center;
}

.connect h2 {
    margin-bottom: 16px;
}

.connect p {
    color: #451A03;
    opacity: 0.8;
    margin-bottom: 32px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.connect .highlight {
    color: #451A03;
}

.connect .form-note {
    font-size: 14px;
    margin-top: 24px;
    margin-bottom: 0;
    opacity: 0.6;
}



/* Scroll Indicator: Restored & Fixed Positioning */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    z-index: 10;
    animation: drift 2.5s infinite ease-in-out;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 12px);
    }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 100px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--brand-yellow);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouse-scroll 1.8s infinite;
}

@keyframes mouse-scroll {
    0% {
        opacity: 0;
        transform: translate(-50%, -4px);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }

    100% {
        opacity: 0;
    }
}

/* Launching Soon: Prominent & Clean */
.coming-soon-badge {
    margin-top: 60px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #064E3B;
    /* Darker green */
    color: #fff;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.3);
}

.coming-soon-badge span {
    letter-spacing: 0.02em;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #34D399;
    border-radius: 50%;
    animation: p 2s infinite;
}

@keyframes p {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-gray);
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column h4 {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--brand-dark);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
}



/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        margin-bottom: 8px;
        /* Reduced from 16px */
    }

    .hero-text-aligner {
        padding: 24px;
        /* Already reduced, kept tight */
    }

    .hero-badge {
        margin-bottom: 12px;
        /* Reduced from 16px */
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
        /* Already reduced */
    }

    .hero-cta {
        gap: 12px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 14px;
    }


    .about-highlights,
    .problem-grid,
    .solution-grid,
    .product-showcase {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        /* Show on mobile */
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--brand-dark);
        transition: var(--transition);
    }

    .form-group {
        flex-direction: column;
        padding: 16px;
        border-radius: 16px;
    }

    .form-group button {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}