/* =========================================================
   SYDI AI — About Page Base Stylesheet (No neon glow)
   Aligned with sydiai_final design system (#000515 background)
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #000515;
    --bg-navy: #000515;
    --bg-navy-2: #000515;
    --text-white: #ffffff;
    --text-mute: #b8c4dc;
    --text-dim: #8a97b3;
    --accent-cyan: #2eb8ff;
    --accent-cyan-2: #22a7f0;
    --accent-cyan-soft: rgba(46, 184, 255, 0.55);
    --card-border: rgba(46, 184, 255, 0.28);
    --card-bg: rgba(2, 14, 38, 0.55);
    --header-h: 64px;
}

/* Reveal animation classes */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

html, body { height: 100%; }

body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #000515;
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 14, 38, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 184, 255, 0.08);
    transition: background .25s ease;
}
.site-header.scrolled { background: rgba(2, 14, 38, 0.96); }

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.brand-sydi { color: #ffffff; }
.brand-ai { color: var(--accent-cyan); }

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-list { display: flex; gap: 34px; }

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mute);
    padding: 6px 0;
    position: relative;
    transition: color .2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: #ffffff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .22s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: inherit;
}

.btn-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform .22s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
    background: var(--accent-cyan);
    color: #041022;
    border-color: var(--accent-cyan);
}
.btn-primary:hover {
    background: #4dc7ff;
    border-color: #4dc7ff;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(46, 184, 255, 0.06);
}

.btn-cta { padding: 10px 20px; font-size: 13px; flex-shrink: 0; }

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}
.mobile-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all .3s;
}
.mobile-toggle span:nth-child(1) { top: 2px; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 20px; }

/* ---------- Hero ---------- */
.hero {
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 20px;
    display: flex;
    align-items: center;
}
.hero-inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: center;
}
.hero-left { max-width: 560px; }

.hero-eyebrow {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 52px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 20px;
}
.hero-title .accent { color: var(--accent-cyan); display: inline-block; }

.hero-sub {
    font-size: 16px;
    color: var(--text-mute);
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 460px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 620px;
    height: auto;
}

/* ---------- Heading dots ---------- */
.heading-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}
.heading-dot::before,
.heading-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(46, 184, 255, 0.5));
}
.heading-dot::before { right: 100%; margin-right: 14px; background: linear-gradient(to left, rgba(46, 184, 255, 0.5), transparent); }
.heading-dot::after  { left:  100%; margin-left: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .hero-title { font-size: 46px; }
    .hero-inner { padding: 0 40px; }
    .nav-list { gap: 22px; }
    .header-inner { padding: 0 24px; }
}

@media (max-width: 980px) {
    .header-inner { padding: 0 20px; }
    .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: rgba(2, 14, 38, 0.98); padding: 20px; }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 16px; }
    .mobile-toggle { display: block; }
    .btn-cta { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-title { font-size: 40px; }
}

@media (max-width: 560px) {
    .hero-title { font-size: 30px; }
    .hero-inner { padding: 0 20px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
}
