/* ============================================================
   VYNIRIONAI — style.css  (Hub / Brand page)

   Same brand tokens as all VynirionAI properties.
   --teal:    #008080  Teal Blue
   --emerald: #50C878  Muted Emerald Green
   --ivory:   #FFFFF0  Soft Ivory
   --slate:   #2F4F4F  Dark Slate Grey
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --teal:         #008080;
  --teal-dark:    #006666;
  --emerald:      #50C878;
  --emerald-dark: #3aaf5e;
  --ivory:        #FFFFF0;
  --slate:        #2F4F4F;
  --slate-dark:   #1e3535;
  --white:        #ffffff;
  --gray:         rgba(255,255,255,.6);
  --font:         'Inter', sans-serif;
  --radius:       12px;
  --nav-h:        68px;
}

body {
  font-family: var(--font);
  background: var(--slate-dark);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(30,53,53,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s;
}
nav.scrolled { background: rgba(20,40,40,.97); box-shadow: 0 2px 20px rgba(0,0,0,.3); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-dark); font-size: .95rem; font-weight: 800;
  transition: transform .3s;
}
.nav-logo:hover .nav-logo-mark { transform: rotate(8deg) scale(1.05); }
.nav-logo-name { color: var(--white); font-size: 1.05rem; font-weight: 800; }
.nav-logo-ai   { color: var(--emerald); }
.nav-logo-img  {
  width: 112px; height: 52px; display: block;
  object-fit: cover; object-position: center;
}

.nav-cta {
  background: var(--emerald); color: var(--slate-dark);
  padding: 9px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: .875rem;
  text-decoration: none; transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--emerald-dark); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(-50deg, #111e1e, #1e3535, #00494a, #1a3535);
  background-size: 400% 400%;
  animation: bgShift 20s ease infinite;
}
@keyframes bgShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Glow orbs */
.hero::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(80,200,120,.13) 0%, transparent 65%);
  top: -200px; right: -150px;
  animation: orb 14s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,128,128,.18) 0%, transparent 65%);
  bottom: -100px; left: -50px;
  animation: orb 18s ease-in-out infinite reverse;
}
@keyframes orb {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(40px,-40px); }
}

/* Dot grid */
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 900px;
  margin: 0 auto; padding: 80px 5%;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(80,200,120,.12); border: 1px solid rgba(80,200,120,.28);
  color: var(--emerald); padding: 6px 16px; border-radius: 100px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 20px;
}
.hero h1 em { color: var(--emerald); font-style: normal; }

.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.65);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.72;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--emerald); color: var(--slate-dark);
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(80,200,120,.35);
}
.btn-primary:hover { background: var(--emerald-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(80,200,120,.45); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,.8);
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-ghost:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-2px); }

/* Powered-by strip in hero */
.hero-powered {
  font-size: .78rem; color: rgba(255,255,255,.3);
  letter-spacing: .06em;
}

/* ── ECOSYSTEM SECTION ── */
.ecosystem {
  padding: 100px 5%;
  background: #111e1e;
}
.section-label {
  color: var(--emerald); font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  color: var(--white); margin-bottom: 14px; line-height: 1.2;
}
.section-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.55);
  max-width: 540px; line-height: 1.7;
}
.section-header { margin-bottom: 56px; }

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eco-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 32px 28px;
  transition: border-color .2s, background .2s, transform .2s;
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
  display: block;
}
.eco-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--teal), var(--emerald));
  opacity: 0; transition: opacity .2s;
}
.eco-card.active { border-color: rgba(80,200,120,.35); background: rgba(80,200,120,.06); }
.eco-card.active::before { opacity: 1; }
.eco-card:hover:not(.coming-soon) { border-color: rgba(80,200,120,.3); background: rgba(80,200,120,.05); transform: translateY(-3px); }
.eco-card:hover:not(.coming-soon)::before { opacity: .7; }

.eco-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(80,200,120,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald); font-size: 1.1rem;
  margin-bottom: 18px;
}
.eco-card.active .eco-card-icon { background: rgba(80,200,120,.18); }
.eco-card h3 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.eco-card .eco-tag {
  font-size: .7rem; font-weight: 700; padding: 3px 10px;
  border-radius: 100px; margin-bottom: 12px; display: inline-block;
}
.tag-live { background: rgba(80,200,120,.18); color: var(--emerald); }
.tag-soon { background: rgba(255,255,255,.07); color: rgba(255,255,255,.4); }
.eco-card p { font-size: .87rem; color: rgba(255,255,255,.5); line-height: 1.62; }
.eco-card .eco-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--emerald); font-size: .82rem; font-weight: 700;
  margin-top: 18px; text-decoration: none;
  transition: gap .2s;
}
.eco-card:hover .eco-arrow { gap: 10px; }

/* ── ABOUT / MISSION ── */
.mission {
  padding: 100px 5%;
  background: var(--slate-dark);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
/* wrap in section for full-width bg */
.mission-section { background: var(--slate-dark); }
.mission-label { color: var(--emerald); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.mission h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.mission p { font-size: 1rem; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 14px; }

.mission-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 36px;
}
.mission-card i { font-size: 2rem; color: var(--emerald); margin-bottom: 20px; display: block; }
.mission-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.mission-card p { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.mission-stat { display: flex; gap: 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.mstat-num { font-size: 1.6rem; font-weight: 800; color: var(--emerald); line-height: 1; }
.mstat-label { font-size: .74rem; color: rgba(255,255,255,.4); font-weight: 500; margin-top: 4px; }

/* ── FOOTER ── */
footer {
  background: #0d1a1a;
  padding: 40px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.footer-logo-mark {
  width: 28px; height: 28px; border-radius: 6px; background: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-dark); font-size: .8rem; font-weight: 800;
}
.footer-logo-name { color: rgba(255,255,255,.7); font-weight: 700; font-size: .9rem; }
.footer-logo-ai { color: var(--emerald); }
.footer-logo-img {
  width: 86px; height: 40px; display: block;
  object-fit: cover; object-position: center;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.28); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.35); text-decoration: none; font-size: .8rem; transition: color .2s; }
.footer-links a:hover { color: var(--emerald); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .mission { grid-template-columns: 1fr; gap: 40px; padding: 64px 5%; }
}
@media (max-width: 600px) {
  .eco-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  /* Mobile: shorter hero, tighter sections, smaller logo */
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: .92rem; }
  .ecosystem, .mission { padding-top: 48px; padding-bottom: 48px; }
  .nav-logo-img { width: 88px !important; height: 42px !important; }
}
