/* ═══════════════════════════════════════════════
   AARAMBH — Premium Design System v3.0
   ═══════════════════════════════════════════════ */

/* --- Design Tokens --- */
:root {
    /* Colors */
    --c-bg:         #FAFAFA;
    --c-surface:    #FFFFFF;
    --c-border:     #E8ECF0;
    --c-text:       #0A0F1E;
    --c-muted:      #6B7488;
    --c-primary:    #2563EB;
    --c-primary-dk: #1D4ED8;
    --c-green:      #059669;
    --c-purple:     #7C3AED;
    --c-pink:       #DB2777;

    /* Gradients */
    --grad-hero:    linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 50%, #FAF5FF 100%);
    --grad-brand:   linear-gradient(120deg, #2563EB, #059669);
    --grad-accent:  linear-gradient(135deg, #2563EB, #7C3AED);
    --grad-card:    linear-gradient(145deg, #FFFFFF 0%, #F8FAFF 100%);

    /* Shadows */
    --shadow-xs:    0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-lg:    0 12px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-xl:    0 24px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-blue:  0 8px 28px rgba(37,99,235,0.25);
    --shadow-glow:  0 0 0 3px rgba(37,99,235,0.15);

    /* Motion */
    --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:  cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Spacing */
    --space-section: clamp(60px, 8vw, 120px);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--c-bg);
    color: var(--c-text);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─────────────────────────────────────────────
   MESH BACKGROUND
   ───────────────────────────────────────────── */
.mesh-bg {
    position: fixed; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%,   rgba(37,99,235,0.06)  0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 100% 0%,  rgba(5,150,105,0.05)  0%, transparent 60%),
        radial-gradient(ellipse 70% 70% at 100% 100%,rgba(124,58,237,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 0%   100%,rgba(219,39,119,0.03) 0%, transparent 60%),
        var(--c-bg);
}

/* ─────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────── */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 72px;
    display: flex; align-items: center;
    background: rgba(250,250,250,0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--c-border);
    transition: box-shadow 0.3s var(--ease-in-out);
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
    width: 100%; max-width: 1280px; margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.nav-logo {
    font-size: 1.35rem; font-weight: 900; letter-spacing: -0.04em;
    background: var(--grad-brand);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links {
    display: flex; align-items: center; gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 0.875rem; font-weight: 600; color: var(--c-muted);
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--c-text); }

.nav-cta {
    font-size: 0.875rem; font-weight: 700;
    padding: 10px 22px;
    border-radius: 9999px;
    background: var(--c-text);
    color: #fff;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    white-space: nowrap;
}
.nav-cta:hover {
    background: #1a2240;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile hamburger */
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 6px;
    color: var(--c-text); border-radius: 8px;
    transition: background 0.2s;
}
.nav-toggle:hover { background: var(--c-border); }

/* ─────────────────────────────────────────────
   MOBILE OVERLAY MENU
   ───────────────────────────────────────────── */
.mobile-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: var(--c-surface);
    display: none;
    flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    padding: 40px 24px;
}
.mobile-overlay.open { display: flex; animation: overlayIn 0.3s var(--ease-out) both; }

@keyframes overlayIn {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}

.mobile-overlay .close-btn {
    position: absolute; top: 20px; right: 20px;
    background: var(--c-border); border: none; cursor: pointer;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.mobile-overlay .close-btn:hover { background: #d0d5de; }

.mobile-overlay a {
    font-size: 2rem; font-weight: 800; letter-spacing: -0.03em;
    color: var(--c-text); padding: 10px 20px; border-radius: 12px;
    transition: background 0.2s, color 0.2s;
}
.mobile-overlay a:hover, .mobile-overlay a.active { background: #EFF6FF; color: var(--c-primary); }
.mobile-overlay .mob-cta {
    margin-top: 16px; font-size: 1rem !important;
    background: var(--c-text) !important; color: #fff !important;
    padding: 14px 36px !important; border-radius: 9999px !important;
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────── */
.text-gradient {
    background: var(--grad-brand);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.text-gradient-purple {
    background: var(--grad-accent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--c-primary);
    background: rgba(37,99,235,0.08);
    padding: 6px 14px; border-radius: 100px;
    border: 1px solid rgba(37,99,235,0.15);
}

/* ─────────────────────────────────────────────
   LAYOUT HELPERS
   ───────────────────────────────────────────── */
.container {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.section { padding: var(--space-section) 0; }

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 0.95rem; border-radius: 9999px;
    padding: 14px 30px; cursor: pointer; border: none;
    transition: transform 0.22s var(--ease-spring), box-shadow 0.22s, background 0.2s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--c-text); color: #fff;
}
.btn-primary:hover {
    background: #1a2240;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: var(--c-surface); color: var(--c-text);
    border: 1.5px solid var(--c-border);
}
.btn-secondary:hover {
    border-color: #b0b8cc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-blue {
    background: var(--c-primary); color: #fff;
    box-shadow: var(--shadow-blue);
}
.btn-blue:hover {
    background: var(--c-primary-dk);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37,99,235,0.35);
}

/* ─────────────────────────────────────────────
   CARDS
   ───────────────────────────────────────────── */
.card {
    background: var(--grad-card);
    border: 1px solid var(--c-border);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37,99,235,0.18);
}

.card-glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6);
}

/* ─────────────────────────────────────────────
   PRODUCT CARDS
   ───────────────────────────────────────────── */
.product-img-wrap {
    background: #F8FAFF;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
}
.product-img-wrap img {
    width: 75%; height: 75%; object-fit: contain;
    transition: transform 0.6s var(--ease-out);
}
.card:hover .product-img-wrap img { transform: scale(1.08); }

/* ─────────────────────────────────────────────
   BADGES
   ───────────────────────────────────────────── */
.badge {
    display: inline-block;
    font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 9999px;
}
.badge-blue   { background: #EFF6FF; color: #2563EB; }
.badge-green  { background: #ECFDF5; color: #059669; }
.badge-purple { background: #F5F3FF; color: #7C3AED; }
.badge-dark   { background: #0A0F1E; color: #FFFFFF; }

/* ─────────────────────────────────────────────
   FEATURE ICON
   ───────────────────────────────────────────── */
.feat-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   DIVIDERS & DECORATIONS
   ───────────────────────────────────────────── */
.gradient-line {
    height: 3px; width: 48px;
    background: var(--grad-brand);
    border-radius: 9999px;
}

/* ─────────────────────────────────────────────
   FLOAT ANIMATION
   ───────────────────────────────────────────── */
@keyframes floatY {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-14px) rotate(1deg); }
    66%       { transform: translateY(-6px) rotate(-1deg); }
}
.float { animation: floatY 7s ease-in-out infinite; }

/* ─────────────────────────────────────────────
   SCROLL REVEAL
   ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.up    { transform: translateY(32px); }
.reveal.left  { transform: translateX(-32px); }
.reveal.right { transform: translateX(32px); }
.reveal.scale { transform: scale(0.92); }
.reveal.in    { opacity: 1; transform: none; }

.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.20s; }
.d4 { transition-delay: 0.28s; }
.d5 { transition-delay: 0.36s; }
.d6 { transition-delay: 0.44s; }

/* ─────────────────────────────────────────────
   MARQUEE — scrolling trust strip
   ───────────────────────────────────────────── */
.marquee-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex; gap: 40px; width: max-content;
    animation: marquee 28s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-item {
    display: flex; align-items: center; gap: 10px; white-space: nowrap;
    font-size: 0.82rem; font-weight: 700; color: var(--c-muted); letter-spacing: 0.05em; text-transform: uppercase;
}
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c-border); }

/* ─────────────────────────────────────────────
   SECTION BACKGROUNDS
   ───────────────────────────────────────────── */
.bg-subtle { background: linear-gradient(180deg, #F8FAFF 0%, #FAFAFA 100%); }
.bg-dark {
    background: var(--c-text);
    color: #fff;
}
.bg-dark .card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
.bg-dark .card:hover { border-color: rgba(255,255,255,0.2); }

/* ─────────────────────────────────────────────
   FAQ ITEMS
   ───────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 0;
    font-size: 1.05rem; font-weight: 700; color: var(--c-text);
    text-align: left; gap: 16px;
    transition: color 0.2s;
}
.faq-q:hover { color: var(--c-primary); }
.faq-icon {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: var(--c-border);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.3s;
}
.faq-item.open .faq-icon {
    background: var(--c-primary); transform: rotate(45deg);
}
.faq-item.open .faq-icon svg { color: white; }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s var(--ease-in-out), padding 0.3s;
    padding: 0;
    font-size: 0.97rem; color: var(--c-muted); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 24px; }

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
    :root { --space-section: clamp(48px, 8vw, 80px); }

    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .card:hover { transform: translateY(-4px); }
    .float { animation: none; }

    h1 { font-size: clamp(2.2rem, 9vw, 3.2rem) !important; }
    h2 { font-size: clamp(1.8rem, 7vw, 2.5rem) !important; }
}

@media (max-width: 480px) {
    .nav-logo { font-size: 1.15rem; }
    .reveal { transition-duration: 0.6s; }
}