/* ═══════════════════════════════════════════════════════════
   ZEST AI HUB — Professional Grade SaaS UI/UX
   Theme: Obsidian & Neon (Glassmorphism + High Contrast)
   ═══════════════════════════════════════════════════════════ */

:root {
    --ink:      #030712; /* Deeper obsidian black */
    --deep:     #0b0f19;
    --surface:  #111827;
    --card:     rgba(17, 24, 39, 0.6); /* Glassmorphism base */
    --border:   rgba(255, 255, 255, 0.06);
    --border-hover: rgba(110, 207, 69, 0.4);
    --purple:   #3b2282;
    --green:    #6ecf45;
    --teal:     #00d4e8;
    --gold:     #f5c842;
    --white:    #ffffff;
    
    /* AUDIT FIX: Increased contrast from 0.65 to 0.75 for better WCAG AA compliance */
    --muted:    rgba(255, 255, 255, 0.75); 
    
    --radius:   16px;
    --radius-lg:24px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smoother Apple-like easing */
    
    --font-head: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.5);
    --glow-green: 0 0 30px rgba(110, 207, 69, 0.15);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 600; color: var(--white); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 120px 0; } /* Increased whitespace */

/* ── Typography helpers ──────────────────────────────────── */
.eyebrow {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -0.02em;
}
.text-center { text-align: center; }
.text-left   { text-align: left; }
.gradient-text {
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Announce Bar ────────────────────────────────────────── */
.announce-bar {
    background: linear-gradient(90deg, #0a290f, #154d1f, #0a290f);
    background-size: 200% 100%;
    animation: bgShift 8s linear infinite;
    color: #e2fcd3;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-bottom: 1px solid rgba(110,207,69,0.2);
}
@keyframes bgShift { 0% { background-position: 0% 0%; } 100% { background-position: 200% 0%; } }

.announce-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(110,207,69,0.6); } 50% { box-shadow: 0 0 0 6px rgba(110,207,69,0); } }

.announce-cta {
    background: var(--white);
    color: var(--ink);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    transition: var(--transition);
}
.announce-cta:hover { transform: scale(1.05); }

/* ── Navigation ──────────────────────────────────────────── */
nav {
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
nav.nav-scrolled {
    background: rgba(3, 7, 18, 0.9);
    padding: 12px 0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { height: 85px; width: auto; }
.nav-brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-accent { color: var(--green); }

.nav-links { list-style: none; display: flex; align-items: center; gap: 8px; }
.nav-link {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.nav-btn {
    background: rgba(110, 207, 69, 0.1);
    color: var(--green) !important;
    border: 1px solid rgba(110, 207, 69, 0.3);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 50px;
    display: flex; align-items: center; gap: 8px;
    transition: var(--transition);
}
.nav-btn:hover { background: var(--green); color: var(--ink) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 28px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 30%, #0e1b30 0%, var(--ink) 80%);
}
#neural-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow-1 { width: 500px; height: 500px; background: rgba(42,22,96,0.5); top: 10%; left: -10%; }
.hero-glow-2 { width: 400px; height: 400px; background: rgba(0,212,232,0.1); bottom: 10%; right: -5%; }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(110,207,69,0.08);
    border: 1px solid rgba(110,207,69,0.2);
    color: var(--green);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
    padding: 8px 20px; border-radius: 50px;
    margin-bottom: 30px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800; line-height: 1.1; margin-bottom: 24px;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted);
    max-width: 600px; margin: 0 auto 40px; line-height: 1.6;
}

/* ── Premium Buttons ─────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-family: var(--font-body); font-size: 1rem;
    transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary {
    background: var(--white); color: var(--ink);
    flex-direction: column; gap: 2px; padding: 12px 36px;
}
.btn-primary span { font-size: 1rem; }
.btn-primary small { font-size: 0.75rem; color: rgba(0,0,0,0.6); font-weight: 500; }
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }

.btn-ghost {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    color: var(--white); gap: 10px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }

/* Hero Stats */
.hero-stats {
    display: inline-flex; align-items: center; gap: 30px;
    margin-top: 50px; padding: 20px 40px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    border-radius: 100px; backdrop-filter: blur(10px);
}
.stat { text-align: left; display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-head); font-size: 0.95rem; color: var(--white); }
.stat span { font-size: 0.75rem; color: var(--muted); }
.stat-divider { width: 1px; height: 30px; background: var(--border); }

/* ── About ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-body { color: var(--muted); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.8; text-align: left; }
.mission-card {
    background: rgba(42, 22, 96, 0.2); border: 1px solid rgba(42, 22, 96, 0.5);
    border-radius: var(--radius); padding: 30px; border-left: 4px solid var(--teal);
}
.mission-card blockquote { color: var(--white); font-size: 1.1rem; font-style: italic; line-height: 1.6; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar {
    background: var(--card); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 24px; transition: var(--transition);
}
.pillar:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.pillar-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(110,207,69,0.1); color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 20px;
}
.pillar h4 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 8px; color: var(--white); }
.pillar p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; text-align: left; }

/* ── Achievements (Balanced UI) ──────────────────────────── */
.section-dark { background: var(--deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.achievement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.achievement-card {
    background: var(--card); backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    display: flex; flex-direction: column; overflow: hidden;
    transition: var(--transition); text-align: center;
}
.achievement-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--glow-green); }
.achievement-images {
    padding: 50px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
    display: flex; justify-content: center; align-items: center;
}
.ach-partner { height: 85px; width: auto; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }
.achievement-body { padding: 30px; }
.ach-tag {
    display: inline-block; background: rgba(110,207,69,0.1); color: var(--green);
    font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 16px;
}
.achievement-body h3 { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 12px; }
.achievement-body p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ── Team Profiles ───────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.team-card {
    background: rgba(11, 15, 25, 0.90);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.team-card:hover {
    border-color: rgba(0,212,232,0.4);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}
.card-top { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.avatar-wrap { position: relative; width: 76px; height: 76px; flex-shrink: 0; }
.avatar-wrap img { width: 76px; height: 76px; border-radius: 50%; z-index: 1; position: relative; border: 2px solid var(--surface); }
.avatar-ring {
    position: absolute; inset: -4px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--teal));
    z-index: 0; animation: spin 4s linear infinite; opacity: 0.7;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.card-id h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--white); margin-bottom: 4px; }
.role { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }

/* Brightened the text for maximum visibility */
.bio {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    flex-grow: 1;
    text-align: left;
    margin-bottom: 20px;
}
.card-quote { font-size: 0.85rem; color: var(--white); font-style: italic; border-top: 1px solid var(--border); padding-top: 16px; }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
    padding: 40px 0;
    background: var(--deep);
}
.cta-box {
    background: linear-gradient(135deg, #1a0a4a 0%, #0e2a1a 50%, #0a1a3a 100%);
    border: 1px solid rgba(110,207,69,0.45);
    border-radius: 28px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(110,207,69,0.12), 0 0 120px rgba(59,34,130,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 200px;
    background: radial-gradient(ellipse, rgba(110,207,69,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 200px;
    background: radial-gradient(ellipse, rgba(59,34,130,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.cta-heading {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
    position: relative; z-index: 1;
}
.cta-sub {
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 1rem;
    position: relative; z-index: 1;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative; z-index: 1;
}

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--ink); border-top: 1px solid var(--border); padding-top: 80px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
.footer-logo { height: 85px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 300px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.9rem; color: var(--white); margin-bottom: 24px; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 1.1rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-4px); }
.footer-bottom { text-align: center; padding: 30px 0; color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE (Mobile UI Fixes)
══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-text { text-align: center; }
    .about-body { text-align: center; margin: 0 auto 30px; }
    .section-title.text-left { text-align: center; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(3, 7, 18, 0.95); backdrop-filter: blur(20px);
        flex-direction: column; padding: 24px; gap: 16px;
        transform: translateY(-10px); opacity: 0; pointer-events: none; transition: var(--transition);
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; border-radius: 20px; gap: 20px; align-items: stretch; text-align: center; padding: 30px; }
    .stat { align-items: center; }
    .stat-divider { width: 100%; height: 1px; }
    
    .achievement-grid, .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .hide-mobile { display: none; } /* Shortens banner text on small phones */
}