/* =============================================================
   AULTER — components.css
   Navbar · Buttons · Hero · Cards · Status · Vision ·
   Philosophy · Ecosystem · CTA · Founder · Footer
   V3 DNA §7
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   NAVBAR — V3 §7.1
   Logo left · Links centre · CTA + toggle rightmost
   ───────────────────────────────────────────────────────────── */

.navbar {
  height:           60px;
  background-color: var(--surface);
  border-bottom:    1px solid transparent;
  position:         sticky;
  top:              0;
  z-index:          1000;
  transition:
    background-color var(--transition-base),
    border-color     var(--transition-base),
    box-shadow       var(--transition-base);
}

/* V3 §7.1 — .is-scrolled (not .scrolled) */
.navbar.is-scrolled {
  border-color: var(--border);
  box-shadow:   0 1px 12px var(--shadow-md);
}

.navbar__inner {
  height:          100%;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             var(--space-md);
}

/* Brand — left */
.navbar__brand {
  display:         flex;
  align-items:     center;
  gap:             var(--space-xs);
  font-size:       20px;
  font-weight:     700;
  text-decoration: none;
  flex-shrink:     0;
  letter-spacing:  -0.02em;
}

.navbar__brand .brand-prefix { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; margin-right: 2px; }
.navbar__brand .brand-name   { color: var(--text); }
.navbar__brand .brand-accent { color: var(--accent-light); }

/* Links — centre (pushed by flex spacers) */
.navbar__links {
  display:     flex;
  align-items: center;
  gap:         var(--space-lg);
  list-style:  none;
  margin:      0 auto;
  padding:     0;
}

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

.navbar__links a:hover,
.navbar__links a.active { color: var(--text); }

/* Controls — rightmost */
.navbar__controls {
  display:     flex;
  align-items: center;
  gap:         var(--space-sm);
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           36px;
  height:          36px;
  border:          1px solid var(--border-strong);
  border-radius:   var(--radius-md);
  background:      transparent;
  color:           var(--muted);
  cursor:          pointer;
  transition:
    background-color var(--transition-fast),
    color            var(--transition-fast);
}
.theme-toggle:hover { background-color: var(--surface-2); color: var(--text); }

/* Icons flip with theme — dark default shows moon, light shows sun */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Hamburger — hidden on desktop, shown < 992px via responsive.css */
.navbar__hamburger {
  display:         none;
  flex-direction:  column;
  justify-content: center;
  gap:             5px;
  width:           36px;
  height:          36px;
  background:      transparent;
  border:          1px solid var(--border-strong);
  border-radius:   var(--radius-md);
  cursor:          pointer;
  padding:         0 8px;
}

.navbar__hamburger span {
  display:          block;
  height:           2px;
  background-color: var(--text);
  border-radius:    2px;
  transition:       all var(--transition-fast);
}

.navbar__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu drawer — V3 §7.1: closes on Escape, locks body scroll */
.navbar__mobile-menu {
  display:          none;
  position:         absolute;
  top:              60px;
  left:             0;
  right:            0;
  background-color: var(--surface);
  border-bottom:    1px solid var(--border);
  padding:          var(--space-md);
  z-index:          999;
  box-shadow:       0 4px 20px var(--shadow-md);
}

.navbar__mobile-menu.open { display: block; }

.navbar__mobile-links {
  list-style:    none;
  margin:        0;
  padding:       0;
  margin-bottom: var(--space-md);
}

.navbar__mobile-links li   { border-bottom: 1px solid var(--border); }
.navbar__mobile-links a    { display: block; padding: 12px 0; font-size: 15px; color: var(--text); }
.navbar__mobile-links a:hover { color: var(--accent-light); }


/* ─────────────────────────────────────────────────────────────
   BUTTONS — V3 §7.3
   ───────────────────────────────────────────────────────────── */

.btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             var(--space-sm);
  padding:         11px 24px;      /* V3: 11px 24px minimum */
  font-family:     inherit;
  font-size:       14px;
  font-weight:     600;
  line-height:     1;
  border-radius:   var(--radius-md);
  border:          2px solid transparent;
  cursor:          pointer;
  text-decoration: none;
  white-space:     nowrap;
  min-height:      44px;           /* V3: 44px tap target */
  transition:
    background-color var(--transition-fast),
    color            var(--transition-fast),
    border-color     var(--transition-fast),
    transform        var(--transition-fast);
}

/* V3 §7.3: hover = translateY(-1px), active = translateY(0) */
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary — accent fill */
.btn-primary {
  background-color: var(--accent);
  color:            #ffffff;
  border-color:     var(--accent);
}
.btn-primary:hover {
  background-color: var(--accent-light);
  border-color:     var(--accent-light);
  color:            #ffffff;
}

/* Secondary — outlined */
.btn-secondary {
  background-color: transparent;
  color:            var(--text);
  border-color:     var(--border-strong);
}
.btn-secondary:hover {
  background-color: var(--surface-2);
  border-color:     var(--accent-border);
  color:            var(--accent-light);
}

/* Ghost */
.btn-ghost {
  background-color: transparent;
  color:            var(--muted);
  border-color:     transparent;
}
.btn-ghost:hover { background-color: var(--surface-2); color: var(--text); }

/* Live — teal */
.btn-live {
  background-color: var(--live);
  color:            #07101f;
  border-color:     var(--live);
  font-weight:      700;
}
.btn-live:hover { background-color: #00ccaa; border-color: #00ccaa; color: #07101f; }

/* Sizes — V3 §7.3: large = 14px 30px */
.btn-lg { padding: 14px 30px; font-size: 15px; min-height: 52px; }
.btn-sm { padding:  7px 16px; font-size: 13px; min-height: 36px; }


/* ─────────────────────────────────────────────────────────────
   HERO SECTION — V3 §7.2
   ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding:  var(--space-2xl) 0 var(--space-xl);
}

.hero::before {
  content:        '';
  position:       absolute;
  top:            0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(124, 58, 237, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 229, 160, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

[data-theme="light"] .hero::before {
  background-image:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(124, 58, 237, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 229, 160, 0.02) 0%, transparent 60%);
}

.hero__row {
  display:     flex;
  align-items: center;
  gap:         var(--space-lg);
  position:    relative;
  z-index:     1;
}

.hero__content { flex: 0 0 48%; max-width: 48%; }
.hero__visual  { flex: 1; }

.hero__eyebrow    { margin-bottom: var(--space-md); }

.hero__headline {
  font-size:      clamp(26px, 4vw, 42px);
  font-weight:    700;
  line-height:    1.15;
  color:          var(--text);
  margin-bottom:  var(--space-md);
  letter-spacing: -0.02em;
}

.hero__subheading {
  font-size:     clamp(15px, 1.8vw, 17px);
  font-weight:   600;
  color:         var(--accent-light);
  margin-bottom: var(--space-sm);
}
[data-theme="light"] .hero__subheading { color: var(--accent); }

.hero__description {
  font-size:     15px;
  color:         var(--muted);
  line-height:   1.7;
  margin-bottom: var(--space-lg);
  max-width:     560px;
}

.hero__cta-group {
  display:     flex;
  align-items: center;
  gap:         var(--space-md);
  flex-wrap:   wrap;
}

/* Browser chrome decoration — shared hero and preview */
.preview-frame {
  border-radius: var(--radius-xl);
  overflow:      hidden;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--border);
  width:         100%;
}

.preview-frame img {
  display:    block;
  width:      100%;
  height:     auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top left;
}

[data-theme="light"] .preview-frame {
  box-shadow: 0 4px 24px rgba(0,0,0,0.1), 0 0 0 1px var(--border);
}

.preview-bar {
  display:       flex;
  align-items:   center;
  gap:           var(--space-sm);
  padding:       10px var(--space-md);
  background:    var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.preview-bar__dots { display: flex; gap: 6px; }

.preview-bar__dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-bar__dot:nth-child(1) { background: #ff5f57; }
.preview-bar__dot:nth-child(2) { background: #ffbd2e; }
.preview-bar__dot:nth-child(3) { background: #28c840; }

.preview-bar__url {
  flex:          1;
  height:        26px;
  background:    var(--surface-3);
  border:        1px solid var(--border);
  border-radius: var(--radius-sm);
  display:       flex;
  align-items:   center;
  padding:       0 10px;
  font-size:     12px;
  color:         var(--muted);
  font-family:   monospace;
}

.preview-bar__url i {
  margin-right: 5px;
  font-size:    11px;
  color:        var(--live);
}


/* ─────────────────────────────────────────────────────────────
   CARDS — V3 §7.4
   ───────────────────────────────────────────────────────────── */

.card {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-lg);
  padding:       24px;             /* V3: 24px internal */
  box-shadow:    0 2px 12px var(--shadow);
  transition:
    box-shadow   var(--transition-fast),
    transform    var(--transition-fast),
    border-color var(--transition-fast);
}

/* V3 §7.4: hover border shifts to --accent-border */
.card:hover {
  box-shadow:   0 6px 24px var(--shadow-md);
  transform:    translateY(-2px);
  border-color: var(--accent-border);
}

.card__title  { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: var(--space-sm); }
.card__body   { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }

.card--accent { border-left: 3px solid var(--accent); }
.card--live   { border-left: 3px solid var(--live); }


/* ─────────────────────────────────────────────────────────────
   ABOUT SECTION
   ───────────────────────────────────────────────────────────── */

.about-section { background-color: var(--surface); }

.about-highlight {
  border-left:  3px solid var(--accent);
  padding-left: var(--space-md);
  margin-top:   var(--space-lg);
}

.about-highlight p {
  font-size:   15px;
  font-weight: 500;
  color:       var(--text);
  font-style:  italic;
  margin:      0;
}


/* ─────────────────────────────────────────────────────────────
   WHY AULTER — stat row
   ───────────────────────────────────────────────────────────── */

.why-section { background-color: var(--background); }

.why-stat {
  text-align: center;
  padding:    var(--space-lg);
}

.why-stat__number {
  font-size:     clamp(28px, 4vw, 42px);
  font-weight:   700;
  color:         var(--accent-light);
  line-height:   1;
  margin-bottom: var(--space-xs);
}
[data-theme="light"] .why-stat__number { color: var(--accent); }

.why-stat__label { font-size: 14px; color: var(--muted); }

.why-stat__accent {
  display:       block;
  width:         32px;
  height:        3px;
  background:    var(--accent);
  margin:        var(--space-sm) auto 0;
  border-radius: var(--radius-sm);
}


/* ─────────────────────────────────────────────────────────────
   DEVELOPMENT STATUS SECTION
   ───────────────────────────────────────────────────────────── */

.status-section { background-color: var(--surface); }

.status-column__heading {
  display:        flex;
  align-items:    center;
  gap:            var(--space-sm);
  font-size:      15px;
  font-weight:    700;
  color:          var(--text);
  margin-bottom:  var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom:  2px solid var(--border);
}

.status-dot-sm { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot--purple   { background: var(--accent); }
.dot--teal     { background: var(--live); }

.status-list       { list-style: none; margin: 0; padding: 0; }

.status-list li {
  display:       flex;
  align-items:   flex-start;
  gap:           var(--space-sm);
  padding:       7px 0;
  font-size:     14px;
  color:         var(--text);
  border-bottom: 1px solid var(--border);
  line-height:   1.5;
  margin:        0;
}
.status-list li:last-child { border-bottom: none; }

.status-list li::before {
  content:       '';
  display:       inline-block;
  width:         6px;
  height:        6px;
  border-radius: 50%;
  margin-top:    6px;
  flex-shrink:   0;
  background:    var(--muted);
}

.status-list.current   li::before { background: var(--accent-light); }
.status-list.technical li::before { background: var(--live); }


/* ─────────────────────────────────────────────────────────────
   VISION SECTION
   ───────────────────────────────────────────────────────────── */

.vision-section { background-color: var(--background); }

.vision-card {
  background:    var(--surface);
  border:        1px solid var(--border);
  border-radius: var(--radius-lg);
  padding:       24px;
  transition:
    border-color var(--transition-fast),
    box-shadow   var(--transition-fast),
    transform    var(--transition-fast);
  height:        100%;
}

/* V3 §7.4 hover: translateY(-2px) + accent-border */
.vision-card:hover {
  border-color: var(--accent-border);
  box-shadow:   0 4px 20px rgba(124, 58, 237, 0.12);
  transform:    translateY(-2px);
}

.vision-card__tag {
  display:          inline-block;
  padding:          3px 10px;
  border-radius:    20px;
  font-size:        11px;
  font-weight:      700;
  letter-spacing:   0.06em;
  text-transform:   uppercase;
  background-color: var(--accent-subtle);
  color:            var(--accent-light);
  border:           1px solid var(--accent-border);
  margin-bottom:    var(--space-md);
}

.vision-card__tag--live {
  background-color: var(--live-dim);
  color:            var(--live);
  border-color:     rgba(0, 229, 160, 0.25);
}

.vision-card__title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: var(--space-sm); }
.vision-card__body  { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }


/* ─────────────────────────────────────────────────────────────
   PHILOSOPHY SECTION
   ───────────────────────────────────────────────────────────── */

.philosophy-section { background-color: var(--surface); }

.philosophy-list {
  list-style:     none;
  margin:         0;
  padding:        0;
  display:        flex;
  flex-direction: column;
  gap:            var(--space-md);
  margin-top:     var(--space-lg);
}

.philosophy-list li {
  display:     flex;
  align-items: flex-start;
  gap:         var(--space-md);
  font-size:   15px;
  color:       var(--text);
  margin:      0;
}

.philosophy-list li i { color: var(--accent-light); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
[data-theme="light"] .philosophy-list li i { color: var(--accent); }

.philosophy-list li strong { display: block; margin-bottom: 2px; }
.philosophy-list li span   { color: var(--muted); font-size: 14px; display: block; }


/* ─────────────────────────────────────────────────────────────
   ECOSYSTEM SECTION
   ───────────────────────────────────────────────────────────── */

.ecosystem-section { background-color: var(--background); }

.ecosystem-row {
  display:     flex;
  align-items: flex-start;
  gap:         var(--space-2xl);
}

.ecosystem-row__text  { flex: 0 0 40%; }
.ecosystem-row__pills { flex: 1; }


/* ─────────────────────────────────────────────────────────────
   CTA / FOLLOW SECTION
   ───────────────────────────────────────────────────────────── */

.cta-section {
  background-color: var(--surface);
  border-top:       1px solid var(--border);
  border-bottom:    1px solid var(--border);
  position:         relative;
  overflow:         hidden;
}

.cta-section::before {
  content:        '';
  position:       absolute;
  top:            -40%;
  right:          -5%;
  width:          480px;
  height:         480px;
  border-radius:  50%;
  background:     rgba(124, 58, 237, 0.04);
  pointer-events: none;
}

.cta-access-list {
  list-style:     none;
  margin:         0;
  padding:        0;
  display:        flex;
  flex-direction: column;
  gap:            var(--space-sm);
}

.cta-access-list li {
  display:     flex;
  align-items: flex-start;
  gap:         var(--space-sm);
  font-size:   14px;
  color:       var(--muted);
  margin:      0;
}

.cta-access-list li i { color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }

/* CTA form card */
.cta-form-card {
  background:    var(--surface-2);
  border:        1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding:       var(--space-lg);
}

/* Forms — V3 §7.5 */
.form-label-custom {
  display:       block;
  font-size:     14px;     /* V3: 14px */
  font-weight:   600;
  color:         var(--muted);
  margin-bottom: 6px;
}

.form-input {
  display:          block;
  width:            100%;
  height:           44px;
  padding:          0 var(--space-md);
  background:       var(--surface-3);
  border:           1px solid var(--border-strong);
  border-radius:    var(--radius-md);
  color:            var(--text);
  font-family:      inherit;
  font-size:        14px;
  outline:          none;
  transition:
    border-color     var(--transition-fast),
    background-color var(--transition-fast);
}

.form-input::placeholder { color: var(--muted); }

.form-input:focus {
  border-color:     var(--accent);
  background-color: var(--surface-2);
  outline:          2px solid rgba(124, 58, 237, 0.25);
  outline-offset:   0;
}

.form-input--error { border-color: var(--danger) !important; }

select.form-input { cursor: pointer; }


/* ─────────────────────────────────────────────────────────────
   FOUNDER NOTE
   ───────────────────────────────────────────────────────────── */

.founder-section { background-color: var(--background); }

.founder-card {
  max-width:  720px;
  margin:     0 auto;
  text-align: center;
  padding:    var(--space-2xl) var(--space-lg);
}

.founder-card__quote {
  font-size:     clamp(16px, 2vw, 19px);
  font-weight:   500;
  line-height:   1.7;
  color:         var(--text);
  margin-bottom: var(--space-lg);
  font-style:    italic;
}

.founder-card__signature {
  font-size:      14px;
  font-weight:    700;
  color:          var(--accent-light);
  letter-spacing: 0.03em;
}
[data-theme="light"] .founder-card__signature { color: var(--accent); }

.founder-card__role { font-size: 13px; color: var(--muted); margin-top: var(--space-xs); }


/* ─────────────────────────────────────────────────────────────
   FOOTER — V3 §7.7
   4 columns in a row across ALL 7 screen widths — CSS Grid
   ───────────────────────────────────────────────────────────── */

.footer {
  background-color: var(--surface);
  border-top:       1px solid var(--border);
  padding:          var(--space-xl) 0 var(--space-lg);
}

/* CSS Grid — 4 columns at every width */
.footer-grid {
  display:               grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap:                   32px;
}

.footer__brand-name {
  font-size:     22px;
  font-weight:   700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  display:       block;
}

.footer__tagline {
  font-size:     14px;
  color:         var(--muted);
  margin-bottom: var(--space-lg);
  line-height:   1.6;
}

.footer__social { display: flex; gap: var(--space-sm); }

.footer__social a {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           32px;
  height:          32px;
  border:          1px solid var(--border-strong);
  border-radius:   var(--radius-md);
  color:           var(--muted);
  transition:
    background-color var(--transition-fast),
    border-color     var(--transition-fast),
    color            var(--transition-fast);
}

.footer__social a:hover {
  background-color: var(--accent-subtle);
  border-color:     var(--accent-border);
  color:            var(--accent-light);
}

/* Column headings — V3 §7.7: 12px, uppercase, tracking 0.07em */
.footer__heading {
  font-size:      12px;
  font-weight:    700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color:          var(--muted);
  margin-bottom:  var(--space-md);
}

/* Link lists — V3 §7.7: 14px desktop */
.footer__links         { list-style: none; margin: 0; padding: 0; }
.footer__links li      { margin-bottom: var(--space-sm); }
.footer__links a       { font-size: 14px; color: var(--muted); transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--text); }

/* Bottom bar */
.footer__bottom {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             var(--space-md);
  padding-top:     var(--space-lg);
  margin-top:      var(--space-lg);
  border-top:      1px solid var(--border);
  font-size:       13px;
  color:           var(--muted);
}

.footer__bottom-links {
  display: flex;
  gap:     var(--space-md);
}

.footer__bottom-links a { color: var(--muted); transition: color var(--transition-fast); }
.footer__bottom-links a:hover { color: var(--text); }


/* ─────────────────────────────────────────────────────────────
   TECH BADGE GRID
   ───────────────────────────────────────────────────────────── */

.tech-badge-grid { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }

.tech-badge {
  display:        inline-flex;
  align-items:    center;
  gap:            var(--space-xs);
  padding:        6px 14px;
  border-radius:  var(--radius-md);
  font-size:      13px;
  font-weight:    700;
  font-family:    'Courier New', monospace;
  background:     var(--surface-3);
  border:         1px solid var(--border-strong);
  color:          var(--text);
  letter-spacing: 0.02em;
}

.tech-badge i { color: var(--accent-light); }
[data-theme="light"] .tech-badge i { color: var(--accent); }
