/* 1. GLOBAL RESET (Paste here) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Fixes horizontal scrolling */
    position: relative;
}

/* 2. YOUR MASTER DESIGN SYSTEM (Keep this below) */
/* --- MASTER DESIGN SYSTEM --- */
:root {
    --bg: #ecedf1;
    --white: #ffffff;
    --accent: #6d7aff;
    /* ... rest of your variables ... */
}

/* Note: You can remove the '*' line that was already in your Master Design section 
   since we added it at the very top now. */
/* --- MASTER DESIGN SYSTEM --- */
:root {
    --bg: #ecedf1;          /* Signature Grey */
    --white: #ffffff;
    --accent: #6d7aff;      /* Lavender Blue Brand Color */
    --text-main: #1c1c1c;
    --text-dim: #6b6b6b;
    --nav-bg: rgba(236, 237, 241, 0.85);
    
    /* High-Intensity Neumorphic Shadows */
    --soft-shadow: -12px -12px 24px #fafbff, 12px 12px 24px rgba(166, 171, 189, 0.35);
    --inset-shadow: inset -6px -6px 12px #fafbff, inset 6px 6px 12px rgba(166, 171, 189, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }

body { 
    background-color: var(--bg); 
    color: var(--text-main); 
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* --- 2. ENHANCED HERO ANIMATION --- */
.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 64px !important;
    font-weight: 500 !important;
    letter-spacing: -2px !important;
    line-height: 1.1;
    margin-bottom: 20px;
    
    /* REVEAL ACTION: Text slides up through an invisible mask */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(50px);
    animation: textRevealAction 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-section h1 span { 
    color: var(--accent);
    /* SHIMMER EFFECT: The brand color subtly glows */
    text-shadow: 0 0 20px rgba(109, 122, 255, 0.2);
}

.hero-section p { 
    color: var(--text-dim); 
    font-size: 18px; 
    max-width: 650px; 
    margin: 0 auto 40px; 
    line-height: 1.5;
    
    /* STAGGERED ENTRANCE */
    opacity: 0;
    transform: translateY(30px);
    animation: textRevealAction 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 25px;
    opacity: 0;
    transform: scale(0.9);
    animation: btnPopAction 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
}

/* ANIMATION KEYFRAMES */
@keyframes textRevealAction {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes btnPopAction {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* SUBTLE BACKGROUND DRIFT */
.hero-section::after {
    content: '';
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    background: radial-gradient(circle at 50% 30%, rgba(109, 122, 255, 0.04) 0%, transparent 60%);
    z-index: -1;
    animation: bgDrift 10s infinite alternate ease-in-out;
}

@keyframes bgDrift {
    from { transform: scale(1) translateY(0); }
    to { transform: scale(1.1) translateY(-20px); }
}
/* --- 1. FLOATING CAPSULE HEADER --- */
header.framer-nav {
    position: fixed;
    top: 35px;
    width: 90%;
    max-width: 1250px;
    background: var(--nav-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 100px;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--soft-shadow);
    z-index: 10000;
}

.brand-link { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
    text-decoration: none; 
    height: 75px; 
}

.brand-icon-img {
    height: 115%; width: auto; object-fit: contain;
    mix-blend-mode: multiply; filter: contrast(1.05);
}

.brand-name-img {
    height: 75%; width: auto; object-fit: contain;
    mix-blend-mode: darken; 
}

.nav-links { 
    display: flex; 
    gap: 40px; 
    list-style: none; 
    margin: 0; 
    padding: 0;
    align-items: center;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-main); 
    font-size: 15px; 
    font-weight: 600; 
    transition: 0.3s opacity;
    padding: 5px 0;
    line-height: 1;
}
.nav-links a:hover { opacity: 0.5; }

.nav-links li:last-child {
    margin-right: 20px;
}

.btn-header {
    background: var(--accent); color: white; padding: 14px 38px;
    border-radius: 60px; text-decoration: none; font-weight: 700;
    box-shadow: 0 12px 24px rgba(109, 122, 255, 0.3);
    flex-shrink: 0;
}

/* --- 2. HERO SECTION --- */
.hero-section {
    padding-top: 180px; 
    text-align: center;
    width: 100%;
    max-width: 900px; 
    padding-bottom: 40px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.neoera-badge {
    background: var(--bg);
    box-shadow: var(--soft-shadow);
    padding: 10px 24px; 
    border-radius: 50px;
    display: inline-flex;
    align-items: center; 
    gap: 12px; 
    margin-bottom: 30px; 
    border: 1px solid rgba(255,255,255,0.7);
    font-size: 14px;
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 64px !important; /* EXACT MATCH TO USER NEED */
    font-weight: 700 !important; /* SOFTENED AS PER TL FEEDBACK */
    letter-spacing: -2px !important; /* BALANCED SPACING */
    line-height: 1.1; 
    margin-bottom: 20px; 
}

.hero-section h1 span { 
    color: var(--accent); 
}

.hero-section p { 
    color: var(--text-dim); 
    font-size: 18px; 
    max-width: 650px; 
    margin: 0 auto 40px; 
    line-height: 1.5; 
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; 
    width: 100%;
    margin-top: 10px;
}

.btn-primary {
    background: var(--accent);
    color: white !important;
    padding: 18px 38px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 12px 28px rgba(109, 122, 255, 0.35);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(109, 122, 255, 0.45);
    background: #5a68ff;
}

.btn-secondary {
    background: var(--bg);
    color: var(--text-main) !important;
    padding: 18px 38px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    transform: translateY(-6px);
    box-shadow: var(--inset-shadow);
    color: var(--accent) !important;
}

/* --- INDUSTRY SOLUTIONS SECTION --- */
#industry-solutions {
    scroll-margin-top: 100px;
    width: 100%;
    max-width: 1200px;
    padding: 100px 50px;
    text-align: center;
}

.plans-badge {
    background: var(--bg);
    box-shadow: var(--soft-shadow);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 30px;
    display: inline-block;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 64px !important; /* STANDARDIZED */
    font-weight: 700 !important; /* SOFTENED */
    letter-spacing: -2px !important; /* REFINED */
    margin-bottom: 80px;
    line-height: 1.1;
}

.section-title span { color: var(--accent); }

.process-card-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    text-align: left;
    margin-bottom: 160px;
}

.process-card-layout.reverse { direction: rtl; }
.process-card-layout.reverse .process-text-content { direction: ltr; }

.process-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-card, .dev-browser, .deployment-box {
    width: 95%;
    height: 420px;
    background: var(--bg);
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.center-card { box-shadow: var(--inset-shadow); gap: 15px; }

.step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 120px;
    font-weight: 900;
    color: var(--accent);
    line-height: 0.8;
    margin-bottom: 25px;
}

.step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 45px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.step-desc {
    font-size: 20px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 550px;
}

.billing-header {
    font-weight: 800;
    font-size: 15px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bill-item {
    background: var(--white);
    border-radius: 10px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--soft-shadow);
    margin-bottom: 8px;
    font-size: 15px;
    opacity: 0;
    animation: slideIn 0.5s ease-out forwards;
}

.bill-total {
    margin-top: auto;
    border-top: 2px dashed rgba(109, 122, 255, 0.2);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.browser-dot {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

#food-items-container .bill-item {
    background: rgba(109, 122, 255, 0.05);
    border: 1px solid rgba(109, 122, 255, 0.1);
    box-shadow: none;
}

.reveal {
    opacity: 0;
    transform: translateY(100px);
    transition: 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 992px) {
    /* Main Sidebar Container */
    .mobile-sidebar {
        width: 85%; /* Make it wider like the example */
        max-width: 400px;
        padding: 60px 0 40px 0; /* Remove side padding so lines can be full-width */
        background: #ffffff;
        display: flex;
        flex-direction: column;
    }

    /* Header with the 'X' Button */
    .sidebar-header {
        padding: 0 25px;
        margin-bottom: 20px;
        display: flex;
        justify-content: flex-start; /* Align X to the left as per example */
    }

    .close-sidebar {
        background: none;
        border: none;
        padding: 0;
        color: #000;
        cursor: pointer;
    }

    /* Sidebar Links List */
    .sidebar-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .sidebar-links li {
        width: 100%;
        border-bottom: 1px solid #eeeeee; /* The subtle separator line */
    }

    .sidebar-links li a {
        text-decoration: none;
        color: #000000;
        font-family: 'Inter', sans-serif; /* Clean font like your example */
        font-size: 18px;
        font-weight: 600;
        display: block;
        padding: 20px 25px; /* Generous padding for a large touch target */
        transition: background 0.2s;
    }

    /* The "Book a call" Button at the bottom */
    .btn-sidebar-call {
        background: var(--accent) !important;
        color: #ffffff !important;
        margin: 30px 25px 0 25px; /* Add margins so it doesn't touch the edges */
        padding: 16px !important;
        border-radius: 12px;
        text-align: center;
        border-bottom: none !important; /* Remove separator line for the button */
    }
}
/* --- 5. NEXT-GEN AI SOLUTIONS (SERVICES) --- */
.services-container {
    width: 100%;
    max-width: 1150px;
    padding: 80px 0; 
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    border-radius: 40px; 
    padding: 35px; 
    box-shadow: var(--soft-shadow);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    cursor: pointer;
}

.service-card:hover { transform: translateY(-12px); }

.service-viz {
    height: 240px; 
    background: var(--bg);
    border-radius: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--inset-shadow);
}

.custom-logic-box {
    position: relative;
    width: 90px; 
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.layer-anim {
    color: var(--accent);
    animation: layerFloat 3s infinite ease-in-out;
    filter: drop-shadow(0 8px 12px rgba(109, 122, 255, 0.2));
}

@keyframes layerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(6deg); }
}

.free-badge {
    position: absolute;
    top: -5px;
    right: -15px;
    background: #10b981;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

.scale-viz {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 70px; 
    padding: 15px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
}

.scale-viz .bar {
    width: 12px;
    background: var(--accent);
    border-radius: 4px 4px 2px 2px;
    transform-origin: bottom;
}

.bar-1 { height: 30%; animation: growHeight 2s infinite ease-in-out 0.1s; }
.bar-2 { height: 60%; animation: growHeight 2s infinite ease-in-out 0.3s; }
.bar-3 { height: 90%; animation: growHeight 2s infinite ease-in-out 0.5s; }

@keyframes growHeight {
    0%, 100% { transform: scaleY(1); opacity: 0.7; }
    50% { transform: scaleY(1.2); opacity: 1; }
}

.scale-viz i {
    margin-left: 6px;
    color: var(--accent);
    animation: arrowJump 2s infinite;
}

@keyframes arrowJump {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -6px); }
}

.payment-node {
    position: relative;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    transition: 0.4s;
}

.service-card:hover .payment-node { animation: glowPulse 2s infinite ease-in-out; }

@keyframes glowPulse {
    0%, 100% { box-shadow: var(--soft-shadow); }
    50% { box-shadow: 0 0 30px rgba(109, 122, 255, 0.4); transform: scale(1.03); }
}

.install-check {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: #10b981;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.install-check i { animation: checkIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate; }

@keyframes checkIn {
    from { transform: scale(0.7); }
    to { transform: scale(1.1); }
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-card { max-width: 500px; margin: 0 auto; }
}

/* --- THINKING LOGIC BRIDGE (REFINED DATA FLOW) --- */
/* --- THINKING LOGIC BRIDGE (RED TO GREEN TRANSITION) --- */
.thinking-section {
    width: 100%;
    max-width: 1200px;
    padding: 60px 50px; 
    text-align: center;
    margin: 0 auto;
}

.section-title-animated {
    font-family: 'Poppins', sans-serif;
    font-size: 64px !important; 
    font-weight: 500 !important; 
    letter-spacing: -1px !important; 
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--text-main);
}

.section-title-animated span {
    background: linear-gradient(90deg, var(--accent), #a3adff, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: liquidShimmer 3s linear infinite;
}

@keyframes liquidShimmer { to { background-position: 200% center; } }

.thinking-bridge {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: center;
    gap: 100px; 
    margin-top: 10px;
    position: relative;
}

.think-node {
    flex: 0 1 340px; 
    background: var(--white);
    padding: 35px 30px; 
    border-radius: 30px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.9);
    text-align: left;
    z-index: 2; 
}

.think-node h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500; 
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.think-node p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.4;
}

.processing-hub {
    position: relative;
    width: 120px; 
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    z-index: 5;
}

.logic-engine {
    width: 60px;
    height: 60px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--soft-shadow), var(--inset-shadow);
    color: var(--accent);
    z-index: 10;
    /* RED TO GREEN HUB PULSE */
    animation: hubColorPulse 3s infinite ease-in-out;
}

@keyframes hubColorPulse {
    0%, 100% { box-shadow: var(--soft-shadow); color: var(--accent); }
    50% { box-shadow: 0 0 25px rgba(34, 197, 94, 0.4); color: #22c55e; }
}

.gear-core { animation: rotateLogic 4s linear infinite; }
@keyframes rotateLogic { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.data-stream {
    position: absolute;
    width: 200px; 
    height: 3px;
    /* RED TO GREEN GRADIENT BACKGROUND */
    background: linear-gradient(90deg, 
        rgba(239, 68, 68, 0) 0%, 
        rgba(239, 68, 68, 0.3) 20%, 
        var(--accent) 50%, 
        rgba(34, 197, 94, 0.3) 80%, 
        rgba(34, 197, 94, 0) 100%);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffffff; 
    border-radius: 50%;
    top: -3px;
    /* TRANSFORMATION ANIMATION: Changes glow color during travel */
    animation: transformationFlow 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes transformationFlow {
    /* Starts Red (Manual/Complex) */
    0% { left: 0%; opacity: 0; transform: scale(0.6); box-shadow: 0 0 12px 4px #ef4444; }
    15% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px 4px #ef4444; }
    
    /* Passes through Hub (Lavender) */
    50% { box-shadow: 0 0 12px 4px var(--accent); }
    
    /* Ends Green (Automated/Success) */
    85% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px 4px #22c55e; }
    100% { left: 100%; opacity: 0; transform: scale(0.6); box-shadow: 0 0 12px 4px #22c55e; }
}

@media (max-width: 850px) {
    .thinking-bridge { flex-direction: column; gap: 60px; }
    .processing-hub { transform: rotate(90deg); margin: 25px 0; }
    .data-stream { 
        width: 3px; 
        height: 200px; 
        top: 50%; 
        transform: translate(-50%, -50%);
        background: linear-gradient(180deg, 
            rgba(239, 68, 68, 0) 0%, 
            var(--accent) 50%, 
            rgba(34, 197, 94, 0) 100%);
    }
    @keyframes transformationFlow {
        0% { top: 0%; opacity: 0; box-shadow: 0 0 12px 4px #ef4444; }
        15% { opacity: 1; box-shadow: 0 0 12px 4px #ef4444; }
        50% { box-shadow: 0 0 12px 4px var(--accent); }
        85% { opacity: 1; box-shadow: 0 0 12px 4px #22c55e; }
        100% { top: 100%; opacity: 0; box-shadow: 0 0 12px 4px #22c55e; }
    }
}
/* --- SPECIAL HIGHLIGHT: ZATCA CARD --- */
.zatca-card { border: 1px solid rgba(109, 122, 255, 0.2); }

.zatca-card:hover {
    box-shadow: -15px -15px 30px #fafbff, 15px 15px 35px rgba(255, 193, 7, 0.15); 
    border-color: rgba(255, 193, 7, 0.4);
    transform: translateY(-12px) scale(1.02); 
}

.zatca-card:hover .benefit-icon-box {
    color: #ffc107; 
    box-shadow: inset -4px -4px 8px #fafbff, inset 4px 4px 8px rgba(255, 193, 7, 0.2);
}

.zatca-card:hover i { animation: iconPulse 1.5s infinite ease-in-out; }

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

/* --- AI ADVANTAGE GRID (BENEFITS) --- */
.benefits-wrapper { 
    width: 100%; 
    max-width: 1200px; 
    padding: 100px 50px; 
    text-align: center; 
}

.benefits-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    width: 100%; 
    margin-top: 60px; 
}

.benefit-card { 
    background: var(--white); 
    border-radius: 35px; 
    padding: 40px 30px; 
    text-align: center; 
    box-shadow: var(--soft-shadow); 
    border: 1px solid rgba(255, 255, 255, 0.8); 
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-card:hover { 
    transform: translateY(-12px); 
    border-color: var(--accent); 
    box-shadow: -15px -15px 30px #fafbff, 15px 15px 30px rgba(109, 122, 255, 0.15); 
}

.benefit-icon-box { 
    width: 80px; 
    height: 80px; 
    background: var(--bg); 
    box-shadow: var(--inset-shadow); 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-bottom: 25px; 
    color: var(--accent); 
    flex-shrink: 0;
}

.benefit-card h4 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 22px; 
    font-weight: 800; 
    margin-bottom: 12px; 
    letter-spacing: -1px; 
}

.benefit-card p { 
    color: var(--text-dim); 
    font-size: 15px; 
    line-height: 1.6; 
}

/* --- 7. CONSISTENT ABOUT SECTION --- */
.about-section {
    width: 100%;
    max-width: 1200px;
    padding: 120px 50px; 
    text-align: center;
}

.about-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 64px !important; /* STANDARDIZED */
    font-weight: 700 !important; /* SOFTENED */
    letter-spacing: -2px !important; /* REFINED */
    margin-bottom: 30px;
    color: var(--text-main);
}

.about-description {
    color: var(--text-dim);
    font-size: 20px;
    max-width: 850px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.btn-about {
    background: var(--accent);
    color: white;
    padding: 22px 55px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 15px 35px rgba(109, 122, 255, 0.4);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-about:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(109, 122, 255, 0.5);
}

/* --- 8. PREMIUM PLANS UI --- */
.plans-container {
    width: 100%;
    max-width: 1200px; 
    padding: 80px 40px;
    text-align: center;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px; 
    margin-top: 50px;
}

.pricing-card {
    flex: 1;
    background: var(--white);
    border-radius: 35px;
    padding: 45px 30px; 
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
}

.premium-logic {
    border: none;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
    transform: scale(1.05); 
    z-index: 10;
    box-shadow: 0 25px 60px rgba(109, 122, 255, 0.2);
}

.premium-logic::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--accent), #a3adff, #6d7aff);
    border-radius: 37px;
    z-index: -1;
    opacity: 0.8;
}

.pricing-card:hover { 
    transform: translateY(-15px); 
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.08); 
}

.premium-logic:hover { transform: scale(1.07) translateY(-15px); }

.plan-type { font-weight: 800; font-size: 13px; letter-spacing: 2px; margin-bottom: 15px; text-transform: uppercase; }

.price-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 54px; 
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

.price-tag span { font-size: 18px; color: var(--text-dim); }

.premium-feature-list { margin: 35px 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }

.feature-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--inset-shadow);
    font-size: 15px; 
    font-weight: 600;
}

.feature-check {
    width: 24px; height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.btn-get-started {
    margin-top: auto;
    padding: 18px;
    background: var(--bg);
    border-radius: 18px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
    box-shadow: var(--soft-shadow);
    transition: 0.3s;
}

.main-btn { 
    background: var(--accent); 
    color: white !important; 
    box-shadow: 0 15px 35px rgba(109, 122, 255, 0.35);
}

.btn-dark { background: var(--text-main); color: white !important; }

@media (max-width: 1100px) {
    .pricing-grid { flex-direction: column; align-items: center; gap: 40px; }
    .pricing-card { width: 100%; max-width: 480px; transform: none !important; }
}

/* --- 9. TESTIMONIALS SECTION --- */

.testimonial-section { 
    width: 100%; 
    max-width: 1200px; 
    padding: 120px 50px; 
    text-align: center; 
}

.testimonial-section h2 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 64px !important; 
    font-weight: 500 !important; /* REDUCED BOLDNESS PER TL */
    letter-spacing: -1px !important; 
    margin-bottom: 20px; 
}

.testimonial-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 35px; 
    margin-bottom: 40px; 
}

.testimonial-card { 
    background: var(--white); 
    border-radius: 50px; 
    padding: 60px 45px; 
    text-align: center; 
    box-shadow: var(--soft-shadow); 
    border: 1px solid rgba(255, 255, 255, 0.8); 
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensures icons and stars center perfectly */
}

/* PRECISION STAR UI */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 6px; 
    color: var(--accent); /* Signature Lavender Blue */
    font-size: 22px;
    margin-bottom: 30px;
}

/* GRADIENT FILL FOR THE 4.5 RATING */
.half-star {
    position: relative;
    background: linear-gradient(90deg, var(--accent) 50%, #d1d5db 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.client-name { 
    font-family: 'Poppins', sans-serif; 
    font-size: 26px; 
    font-weight: 500 !important; /* Standardized Lightness */
    margin-bottom: 8px; 
}

.client-quote { 
    font-size: 19px; 
    color: var(--text-dim); 
    line-height: 1.6; 
    font-style: italic; 
}

.testimonial-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--accent);
}

/* ICON AVATAR STYLING */
.avatar-placeholder { 
    width: 90px; 
    height: 90px; 
    border-radius: 50%; 
    margin: 0 auto 25px; 
    background: var(--bg); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 4px solid var(--white); 
    box-shadow: var(--inset-shadow); 
    color: var(--accent);
}

.client-name { 
    font-family: 'Poppins', sans-serif; 
    font-size: 26px; 
    font-weight: 600 !important; /* REFINED WEIGHT */
    margin-bottom: 8px; 
}

.rating-text { 
    font-size: 13px; 
    color: var(--text-dim); 
    margin-top: -25px; 
    margin-bottom: 25px; 
    font-weight: 600; 
}

.star-rating { color: var(--accent); font-size: 20px; letter-spacing: 5px; margin-bottom: 30px; }
.client-quote { font-size: 19px; color: var(--text-dim); line-height: 1.6; font-style: italic; }

/* Industry Accent Colors */
.boutique-accent { background: #fff1f2; color: #e11d48; }
.traders-accent { background: #f0fdf4; color: #16a34a; }
/* --- 10. BILLING QUESTIONS (FAQ) --- */
/* --- 10. REFINED BILLING QUESTIONS (FAQ) --- */
.faq-container { 
    width: 100%; 
    max-width: 1000px; 
    padding: 120px 50px; 
    text-align: center; 
}

/* REFINED FAQ HEADER */
.faq-container h2 { 
    font-family: 'Poppins', sans-serif; 
    font-size: 64px !important; 
    font-weight: 500 !important; /* REDUCED BOLDNESS PER TL */
    letter-spacing: -1px !important; 
    margin-bottom: 60px; /* Increased space for better hierarchy */
}

.faq-accordion { 
    width: 100%; 
    text-align: left; 
    display: flex;
    flex-direction: column;
    gap: 20px; /* Consistent vertical spacing */
}

.faq-item { 
    background: var(--white); 
    border-radius: 24px; 
    padding: 32px 40px; 
    box-shadow: var(--soft-shadow); 
    border: 1px solid rgba(255, 255, 255, 0.8); 
    cursor: pointer; 
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

/* Hover Effect: Subtle Lift */
.faq-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.faq-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 20px;
}

.faq-question { 
    font-size: 19px; 
    font-weight: 600; /* Medium-bold for readability */
    color: var(--text-main); 
    line-height: 1.4;
}

.faq-icon { 
    color: var(--accent); 
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    flex-shrink: 0;
}

.faq-answer { 
    max-height: 0; /* Changed to max-height for smoother transition */
    overflow: hidden; 
    color: var(--text-dim); 
    font-size: 16px; 
    line-height: 1.7; 
    transition: 0.4s ease; 
}

.faq-item.active {
    background: #fcfcff;
    border-color: rgba(109, 122, 255, 0.3);
}

.faq-item.active .faq-answer { 
    max-height: 200px; 
    padding-top: 20px; 
}

.faq-item.active .faq-icon { 
    transform: rotate(45deg); 
}

/* --- 11. CTA --- */
.cta-container {
    width: 100%;
    max-width: 1000px; 
    background: var(--white);
    border-radius: 40px;
    padding: 70px 40px; 
    text-align: center;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin: 80px auto 120px;
    position: relative;
    overflow: hidden;
}

.cta-container h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 52px; 
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 35px;
    line-height: 1.1;
}

.cta-container h2 span { color: var(--accent); }

.btn-cta {
    background: var(--accent);
    color: white !important;
    padding: 18px 45px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(109, 122, 255, 0.4);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(109, 122, 255, 0.5);
    background: #5a68ff;
}

/* --- 13. ADVANCED LEGAL SLIDE-OVER UI --- */
.footer-legal { margin-top: 25px; z-index: 10; }
.footer-legal a { transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.footer-legal a:hover { color: var(--accent) !important; opacity: 1; }

.legal-panel {
    position: fixed;
    top: 0; right: -400px; 
    width: 100%; max-width: 400px; 
    height: 100vh; 
    background: rgba(236, 237, 241, 0.98); 
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    z-index: 20000;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 30px; 
    display: flex;
    flex-direction: column; 
}

.legal-panel.active { right: 0; }
.panel-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 25px; border-bottom: 1px solid rgba(0,0,0,0.06); flex-shrink: 0; }
.panel-body { overflow-y: auto; flex: 1; padding-top: 20px; -webkit-overflow-scrolling: touch; }

.close-panel {
    background: var(--white); border: none;
    width: 42px; height: 42px; border-radius: 50%;
    box-shadow: var(--soft-shadow); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}

.close-panel:hover { transform: rotate(90deg); color: var(--accent); }

#panel-overlay {
    position: fixed; top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(28, 28, 28, 0.15); 
    backdrop-filter: blur(4px);
    display: none; z-index: 19999;
}

#panel-overlay.active { display: block; }
.panel-body::-webkit-scrollbar { width: 5px; }
.panel-body::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

.legal-scroll-area { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.7; color: var(--text-dim); padding-right: 10px; }
.legal-scroll-area h4 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: -0.5px; }
.legal-scroll-area p { margin-bottom: 15px; }

.fade-in-item { opacity: 0; transform: translateY(15px); animation: textAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes textAppear { to { opacity: 1; transform: translateY(0); } }
.legal-scroll-area { padding-top: 10px; overflow-x: hidden; }

/* --- 12. ELITE MADE IN NEOERA BADGE --- */
.made-in-neoera { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: rgba(255, 255, 255, 0.9); 
    padding: 10px 20px; 
    border-radius: 18px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    box-shadow: 0 15px 40px rgba(109, 122, 255, 0.15); 
    z-index: 10000; 
    text-decoration: none; 
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.made-in-neoera:hover { 
    transform: translateY(-8px) scale(1.02); 
    box-shadow: 0 20px 50px rgba(109, 122, 255, 0.25);
    background: #ffffff;
}

.neoera-logo-wrapper { 
    width: 32px; 
    height: 32px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative;
}

.neoera-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(109, 122, 255, 0.2));
    animation: logo-glimmer 3s infinite ease-in-out;
}

.made-in-neoera span {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.2px;
}

@keyframes logo-glimmer {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(109, 122, 255, 0)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 8px rgba(109, 122, 255, 0.4)); transform: scale(1.05); }
}

/* --- FOOTER UI RESTORATION --- */
footer.site-footer { 
    width: 100%; 
    max-width: 1100px; 
    text-align: center; 
    padding: 80px 0 60px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.footer-logo { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 50px; 
    text-decoration: none; 
}

.footer-logo-img { 
    height: 65px; 
    width: auto;
    mix-blend-mode: multiply; 
    object-fit: contain;
}

.footer-name-img { 
    height: 38px; 
    width: auto;
    mix-blend-mode: darken; 
    object-fit: contain;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.footer-links a:hover { color: var(--accent); }

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-legal a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.footer-legal a:hover { color: var(--accent); }

.copyright { 
    color: var(--text-dim); 
    font-size: 14px; 
    font-weight: 500;
}
/* --- PREMIUM FOCAL WALKTHROUGH UI --- */
/* --- 11. CENTRAL FOCAL WALKTHROUGH --- */
.walkthrough-section {
    padding: 100px 20px;
    text-align: center;
    width: 100%;
}

.focal-container {
    position: relative;
    max-width: 950px;
    margin: 40px auto;
}

/* 3D Browser Perspective */
.browser-focal-point {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    transform: perspective(1200px) rotateX(4deg); 
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-focal-point:hover {
    transform: perspective(1200px) rotateX(0deg) translateY(-10px);
    box-shadow: 0 40px 80px rgba(109, 122, 255, 0.15);
}

.browser-header {
    background: #fdfdfd;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.url-bar {
    background: #f1f2f6;
    font-size: 12px;
    color: #999;
    padding: 6px 30px;
    border-radius: 8px;
    font-weight: 600;
}

.browser-tag { 
    font-size: 11px; 
    font-weight: 600; /* REDUCED BOLDNESS PER TL */
    color: var(--accent); 
    margin-left: auto; 
    text-transform: uppercase; 
}

.video-aspect-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f9fafb;
    overflow: hidden;
}

.video-aspect-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* REFINED DEMO GRID UI: NO OVERLAP */
.demo-features-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 45px; 
    flex-wrap: wrap;
}

.feature-tag-pill {
    background: var(--white);
    padding: 12px 26px;
    border-radius: 100px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500; /* REFINED WEIGHT 500 */
    font-size: 14px;
    color: var(--text-main);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-tag-pill i { color: var(--accent); }

.feature-tag-pill:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(109, 122, 255, 0.15);
}

.feature-tag-pill.success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.feature-tag-pill.success i, 
.feature-tag-pill.success span { 
    color: #10b981; 
    font-weight: 600; 
}

.play-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 75px; height: 75px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(109, 122, 255, 0.4);
    animation: demoPulse 2s infinite;
    text-decoration: none;
}

@keyframes demoPulse {
    0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(109, 122, 255, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 20px rgba(109, 122, 255, 0); }
    100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(109, 122, 255, 0); }
}

/* Hide legacy floating labels for Better UI */
.vat-verified-tag, .floating-label { display: none !important; }
/* Floating Elements Logic */
.floating-label {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 14px;
    box-shadow: var(--soft-shadow);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    z-index: 5;
    animation: floatDemo 4s infinite ease-in-out;
}

.label-left { top: 20%; left: -30px; }
.label-right { bottom: 20%; right: -30px; animation-delay: 2s; }

@keyframes floatDemo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.play-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 75px; height: 75px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(109, 122, 255, 0.4);
    animation: demoPulse 2s infinite;
    text-decoration: none;
}

@keyframes demoPulse {
    0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(109, 122, 255, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 20px rgba(109, 122, 255, 0); }
    100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(109, 122, 255, 0); }
}
/* --- REFINED DEMO GRID UI --- */
.demo-features-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px; /* Space below the browser frame */
    flex-wrap: wrap;
}

.feature-tag-pill {
    background: var(--white);
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-tag-pill i { color: var(--accent); }

/* Hover Effect: Glow and Lift */
.feature-tag-pill:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(109, 122, 255, 0.15);
}

/* Success Highlight for VAT-Verified */
.feature-tag-pill.success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.feature-tag-pill.success i, 
.feature-tag-pill.success span { color: #10b981; }

/* Ensure Browser frame has no internal text clutter */
.video-aspect-wrapper .vat-verified-tag { display: none; }
/* --- FINAL MOBILE RESPONSIVENESS OVERRIDES --- */

@media (max-width: 768px) {
    /* 1. Fix Capsule Header Shifting */
    header.framer-nav {
        width: 95% !important; /* Forces it to stay within screen boundaries */
        padding: 10px 15px !important; /* Reduces internal space to fit content */
        top: 15px !important; /* Moves it up for more screen space */
        left: 50% !important;
        transform: translateX(-50%) !important; /* Perfectly centers the capsule */
        max-width: 100vw;
        border-radius: 50px; /* Slightly tighter radius for mobile */
    }

    .brand-link { 
        gap: 10px !important; 
    }

    /* 2. Fix Header Content Crowding */
    /* Hiding nav-links on mobile is standard to prevent horizontal shifting */
    .nav-links {
        display: none !important; 
    }

    /* 3. Adjust Hero Text Size */
    .hero-section h1 {
        font-size: 42px !important; /* Prevents giant text from breaking layout */
        letter-spacing: -1px !important;
    }

    /* 4. Fix "Made by Neoera" Badge Shifting */
    .made-in-neoera {
        right: 15px !important; /* Closer to the edge */
        bottom: 20px !important;
        padding: 8px 12px !important;
        transform: scale(0.85); /* Scales down to fit better on tiny screens */
    }
}

/* 5. Extra Safety for very small phones */
@media (max-width: 400px) {
    .hero-btns {
        flex-direction: column; /* Stack buttons so they don't overlap */
        gap: 15px;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 90%;
        justify-content: center;
    }
}
/* --- MOBILE RESPONSIVE FIXES (ADD TO THE VERY BOTTOM) --- */
@media (max-width: 768px) {
    /* Fixes the header shifting and ensures it fits the screen */
    header.framer-nav {
        width: 95% !important;
        left: 50% !important;
        transform: translateX(-50%) !important; /* Forces perfect centering */
        padding: 10px 15px !important;
        top: 15px !important;
        justify-content: space-between !important;
    }

    /* Prevents the text links from pushing the header wider than the screen */
    .nav-links {
        display: none !important; 
    }

    /* Scales down the logo area for small screens */
    .brand-link {
        gap: 10px !important;
        height: 50px !important;
    }

    .brand-icon-img {
        height: 100% !important;
    }

    /* Fixes the badge shifting on the bottom right */
    .made-in-neoera {
        right: 15px !important;
        bottom: 15px !important;
        transform: scale(0.85) !important;
    }
}

@media (max-width: 768px) {
    header.framer-nav {
        width: 95% !important;
        padding: 10px 15px !important;
        justify-content: space-between !important;
    }

    /* Allow the links to scroll horizontally instead of disappearing */
    .nav-links {
        display: flex !important; /* Overrides your 'display: none' */
        overflow-x: auto;
        white-space: nowrap;
        gap: 15px !important;
        margin: 0 10px;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    }

    /* Hide scrollbar for a cleaner look */
    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .brand-link {
        flex-shrink: 0; /* Prevents logo from getting squashed */
    }

    .btn-header {
        display: none; /* Hide the button on very small screens to save space */
    }
}

/* Hide mobile elements on desktop */
.mobile-menu-btn, .mobile-sidebar, #sidebar-overlay {
    display: none;
}

@media (max-width: 768px) {
    /* Show hamburger button on mobile */
    .mobile-menu-btn {
        display: flex;
        background: none;
        border: none;
        color: var(--text-main);
        cursor: pointer;
        padding: 8px;
    }

    /* Standardize nav-links to hide on mobile */
    .nav-links, .btn-header {
        display: none !important;
    }

    /* Sidebar container */
    .mobile-sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: -320px; /* Slide-out position */
        width: 300px;
        height: 100vh;
        background: var(--white);
        z-index: 30000;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 40px 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .mobile-sidebar.active {
        right: 0; /* Slide-in position */
    }

    #sidebar-overlay.active {
        display: block;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.3);
        backdrop-filter: blur(4px);
        z-index: 29999;
    }
}

/* Desktop: Hide Mobile Elements */
.mobile-menu-btn, .mobile-sidebar, #sidebar-overlay {
    display: none;
}

@media (max-width: 992px) {
    /* Header Adjustments */
    .nav-links, .btn-header {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
        background: #ffffff;
        border: none;
        box-shadow: var(--soft-shadow);
        border-radius: 12px;
        padding: 10px;
        cursor: pointer;
        color: var(--accent);
    }

    /* Premium Sidebar UI */
    .mobile-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -320px; /* Slide-out position */
        width: 300px;
        height: 100vh;
        background: #ffffff;
        z-index: 30000;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 40px 25px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .mobile-sidebar.active {
        right: 0; /* Slide-in position */
    }

    /* Sidebar Links Style */
    .sidebar-links {
        list-style: none;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .sidebar-links li a {
        text-decoration: none;
        color: var(--text-main);
        font-family: 'Poppins', sans-serif;
        font-size: 20px;
        font-weight: 600;
        padding: 12px 15px;
        border-radius: 12px;
        display: block;
        transition: 0.3s;
    }

    .sidebar-links li a:hover {
        background: rgba(109, 122, 255, 0.05);
        color: var(--accent);
        transform: translateX(5px);
    }

    /* Sidebar CTA */
    .btn-sidebar-call {
        background: var(--accent) !important;
        color: #fff !important;
        text-align: center;
        margin-top: 20px;
        box-shadow: 0 10px 20px rgba(109, 122, 255, 0.3);
    }

    /* Blur Overlay */
    #sidebar-overlay.active {
        display: block;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(28, 28, 28, 0.2);
        backdrop-filter: blur(8px);
        z-index: 29999;
    }
}