@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;900&display=swap');

:root {
  --bg:      #07090d;
  --surface: #0e1117;
  --card:    #131820;
  --border:  #1e2530;
  --accent:  #00d97e;
  --accent2: #4da6ff;
  --text:    #e8edf4;
  --muted:   #8892a0;
  --radius:  10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Rubik', system-ui, sans-serif; line-height: 1.65; }

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--muted); }
a  { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }
section + section { border-top: 1px solid var(--border); }

/* nav */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,9,13,0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 2rem; max-width: 1080px; margin: 0 auto; padding: 0.9rem 1.5rem; }
.logo { display: flex; align-items: center; text-decoration: none; font-family: 'Rubik', 'Arial Black', sans-serif; font-weight: 900; font-size: 1.55rem; letter-spacing: -0.04em; line-height: 1; }
.logo .le { color: var(--accent); }
.logo .lw { color: var(--text); }
nav ul { display: flex; gap: 1.75rem; list-style: none; margin-left: auto; }
nav ul a { color: var(--muted); font-size: 0.88rem; transition: color .15s; }
nav ul a:hover { color: var(--text); text-decoration: none; }

/* hero */
#hero { padding: 8rem 0 5.5rem; background: radial-gradient(ellipse 70% 55% at 20% 110%, rgba(0,217,126,0.09) 0%, transparent 65%), radial-gradient(ellipse 50% 40% at 80% -5%, rgba(77,166,255,0.07) 0%, transparent 60%); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0,217,126,0.08); border: 1px solid rgba(0,217,126,0.2); border-radius: 100px; padding: 0.28rem 0.85rem; font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.eyebrow .dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; animation: blink 2.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
#hero h1 { margin-bottom: 1.2rem; }
#hero h1 em { font-style: normal; color: var(--accent); }
.subtitle { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin-bottom: 2.25rem; line-height: 1.7; }
.cta-row { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.65rem 1.3rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; transition: all .18s; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: #1af090; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--muted); text-decoration: none; }
.hero-stats { display: flex; gap: 3rem; margin-top: 4rem; flex-wrap: wrap; }
.hstat .val { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.hstat .lbl { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.1rem; }

.slabel { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.4rem; }
.ssub { color: var(--muted); max-width: 560px; margin-top: 0.5rem; line-height: 1.7; }

/* architecture */
.arch-wrap { margin-top: 3rem; }
.arch-main { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
.anode { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center; }
.anode.primary { border-color: var(--accent); box-shadow: 0 0 24px rgba(0,217,126,0.1); }
.anode .icon { font-size: 1.75rem; margin-bottom: 0.55rem; }
.anode .nname { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); }
.anode .ntech { font-size: 0.65rem; color: var(--muted); margin-top: 0.25rem; line-height: 1.6; }
.arrow { text-align: center; padding: 0 0.25rem; color: var(--muted); font-size: 1.1rem; }
.arch-sub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; margin-top: 0.85rem; }
.asubnode { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.9rem 0.75rem; text-align: center; }
.asubnode .icon { font-size: 1.2rem; }
.asubnode .nname { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-top: 0.25rem; }
.asubnode .ntech { font-size: 0.6rem; color: var(--muted); margin-top: 0.15rem; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.fcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; transition: border-color .2s; }
.fcard:hover { border-color: rgba(0,217,126,0.4); }
.fcard .fi { font-size: 1.5rem; margin-bottom: 0.65rem; }
.fcard h3 { margin-bottom: 0.35rem; }
.fcard p { font-size: 0.875rem; line-height: 1.65; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.pillar { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.pillar .pi { font-size: 1.8rem; margin-bottom: 0.75rem; }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { font-size: 0.875rem; line-height: 1.7; }

/* oem */
.oem-box { display: grid; grid-template-columns: 1fr 220px; gap: 2rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-top: 2rem; }
.oem-body p { font-size: 0.925rem; line-height: 1.8; margin-bottom: 0.85rem; }
.oem-body p:last-child { margin-bottom: 0; }
.oem-sidebar { display: flex; flex-direction: column; gap: 1rem; border-left: 1px solid var(--border); padding-left: 2rem; }
.oem-stat .os-val { font-size: 1.3rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.oem-stat .os-lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 0.1rem; }
.oem-vehicles { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.25rem; }
.oem-vehicle { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }

/* platform */
.platform-box { display: flex; gap: 2rem; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-top: 2rem; }
.platform-car { font-size: 3.5rem; flex-shrink: 0; opacity: 0.7; }
.platform-text p { font-size: 0.925rem; line-height: 1.8; margin-bottom: 0.75rem; }
.platform-text p:last-child { margin-bottom: 0; }

/* trips */
.trips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.tcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .18s; }
.tcard:hover { border-color: var(--accent2); transform: translateY(-2px); }
.tthumb { height: 185px; background: linear-gradient(135deg, #0d111a 0%, #141c28 100%); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; position: relative; overflow: hidden; }
.tthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tthumb .ph { opacity: 0.25; }
.tbadge { position: absolute; top: 0.7rem; right: 0.7rem; background: rgba(7,9,13,0.82); border: 1px solid var(--border); border-radius: 5px; padding: 0.18rem 0.55rem; font-size: 0.68rem; font-weight: 600; color: var(--muted); backdrop-filter: blur(6px); }
.tbadge.soon { border-color: var(--accent2); color: var(--accent2); }
.tbody { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.tflag { font-size: 1.3rem; margin-bottom: 0.35rem; }
.tbody h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.tdate { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.7rem; }
.tbody > p { font-size: 0.85rem; margin-bottom: 0.9rem; flex: 1; line-height: 1.65; }
.tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; margin-bottom: 0.9rem; }
.tstat { background: var(--surface); border-radius: 6px; padding: 0.45rem 0.4rem; text-align: center; }
.tstat .val { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.tstat.pending .val { color: var(--border); }
.tstat .lbl { font-size: 0.58rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.1rem; }
.tlink { font-size: 0.83rem; font-weight: 600; color: var(--accent2); }
.tcard.ghost { opacity: 0.35; pointer-events: none; }

/* ai */
#built { background: linear-gradient(160deg, rgba(0,217,126,0.04) 0%, rgba(77,166,255,0.04) 100%); }
.ai-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-top: 2rem; }
.ai-box p { margin-bottom: 0.75rem; line-height: 1.75; }
.ai-box p:last-of-type { margin-bottom: 0; }
.ai-tools { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 1.25rem; }
.aitool { display: flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.9rem; font-size: 0.83rem; font-weight: 600; }
.aitool span { color: var(--muted); font-weight: 400; font-size: 0.76rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.ccard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.ccard h3 { margin-bottom: 0.45rem; }
.ccard p { font-size: 0.875rem; margin-bottom: 1.1rem; line-height: 1.7; }

footer { border-top: 1px solid var(--border); padding: 2rem 0; text-align: center; }
footer p { font-size: 0.8rem; color: var(--muted); }

@media (max-width: 740px) {
  .arch-main { grid-template-columns: 1fr; }
  .arch-sub  { grid-template-columns: 1fr 1fr; }
  .pillars   { grid-template-columns: 1fr; }
  .oem-box   { grid-template-columns: 1fr; }
  .oem-sidebar { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 1.5rem; }
  .platform-box { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  nav ul { display: none; }
}
