/* ===== Fluxthyme — Modern dark + gradient ===== */
:root {
  --bg: #05060f;
  --bg-2: #0a0c1b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1fb;
  --muted: #9aa3c4;
  --brand: #7c5cff;
  --brand-2: #16d1e0;
  --accent: #ff5ca8;
  --grad: linear-gradient(110deg, #7c5cff 0%, #16d1e0 55%, #4af2a1 100%);
  --radius: 18px;
  --maxw: 1140px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }

/* ===== Background orbs ===== */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-1 { width: 520px; height: 520px; background: #7c5cff; top: -140px; left: -120px; animation: float 14s ease-in-out infinite; }
.orb-2 { width: 460px; height: 460px; background: #16d1e0; top: 30%; right: -160px; animation: float 18s ease-in-out infinite reverse; }
.orb-3 { width: 400px; height: 400px; background: #ff5ca8; bottom: -160px; left: 30%; animation: float 16s ease-in-out infinite; opacity: 0.35; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-40px) translateX(30px); } }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  transition: padding 0.3s ease;
}
.nav.scrolled {
  padding: 10px 24px; backdrop-filter: blur(18px);
  background: rgba(5, 6, 15, 0.7); border-bottom: 1px solid var(--border);
  max-width: 100%;
}
.nav.scrolled > * { max-width: var(--maxw); }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.brand-mark { color: var(--brand-2); font-size: 1.3rem; filter: drop-shadow(0 0 10px rgba(22,209,224,0.6)); }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 0.95rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 20px; border-radius: 999px; color: var(--text) !important;
  background: var(--surface-2); border: 1px solid var(--border);
}
.nav-cta:hover { background: var(--brand); border-color: var(--brand); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #05060f; box-shadow: 0 8px 30px rgba(124,92,255,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,92,255,0.5); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px 100px; text-align: center; }
.pill {
  display: inline-block; padding: 7px 18px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-2);
  background: rgba(22,209,224,0.08); border: 1px solid rgba(22,209,224,0.25);
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); margin: 26px auto 22px; max-width: 16ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.22rem); max-width: 62ch; margin: 0 auto 36px; }
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 64px;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 54px; }
.eyebrow { display: inline-block; color: var(--brand-2); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }

/* ===== TransCap spotlight ===== */
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.spotlight-visual {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 44px 32px; position: relative; overflow: hidden;
}
.spotlight-visual::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0.06;
}
.wave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 80px; margin-bottom: 30px; }
.wave span {
  width: 6px; border-radius: 6px; background: var(--grad);
  animation: wave 1.1s ease-in-out infinite;
}
.wave span:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave span:nth-child(2) { height: 45px; animation-delay: 0.1s; }
.wave span:nth-child(3) { height: 70px; animation-delay: 0.2s; }
.wave span:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.wave span:nth-child(5) { height: 60px; animation-delay: 0.4s; }
.wave span:nth-child(6) { height: 80px; animation-delay: 0.5s; }
.wave span:nth-child(7) { height: 40px; animation-delay: 0.6s; }
.wave span:nth-child(8) { height: 65px; animation-delay: 0.7s; }
.wave span:nth-child(9) { height: 30px; animation-delay: 0.8s; }
.wave span:nth-child(10) { height: 50px; animation-delay: 0.9s; }
@keyframes wave { 0%,100% { transform: scaleY(0.4); opacity: 0.6; } 50% { transform: scaleY(1); opacity: 1; } }
.translate-demo { position: relative; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.lang { padding: 14px 18px; border-radius: 12px; font-size: 1.02rem; background: var(--surface-2); border: 1px solid var(--border); }
.lang.out { border-color: rgba(74,242,161,0.35); background: rgba(74,242,161,0.07); }
.arrow { font-family: var(--font-head); font-weight: 600; color: var(--brand-2); font-size: 0.95rem; }
.spotlight-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.spotlight-list li { position: relative; padding-left: 34px; color: var(--muted); }
.spotlight-list li strong { color: var(--text); font-family: var(--font-head); }
.spotlight-list li::before {
  content: "◈"; position: absolute; left: 0; top: 1px; color: var(--brand-2); font-size: 1rem;
}

/* ===== Feature cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(124,92,255,0.5); background: var(--surface-2); }
.card-icon {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.6rem;
  border-radius: 14px; background: rgba(124,92,255,0.12); border: 1px solid rgba(124,92,255,0.25); margin-bottom: 20px;
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ===== Services ===== */
.service-rows { display: flex; flex-direction: column; gap: 2px; }
.service-row {
  display: flex; gap: 28px; align-items: flex-start; padding: 30px 24px; border-radius: 14px;
  transition: background 0.25s; border: 1px solid transparent;
}
.service-row:hover { background: var(--surface); border-color: var(--border); }
.service-row .num {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; min-width: 54px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.service-row h3 { font-size: 1.3rem; margin-bottom: 6px; }
.service-row p { color: var(--muted); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.stat strong { display: block; font-family: var(--font-head); font-size: 2.3rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* ===== Contact ===== */
.contact-card {
  text-align: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 64px 32px; position: relative; overflow: hidden;
}
.contact-card::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0.07; }
.contact-card > * { position: relative; }
.contact-card h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer p { color: var(--muted); font-size: 0.95rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.copyright { font-size: 0.85rem !important; opacity: 0.7; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .spotlight-grid, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; justify-content: center; gap: 28px; font-size: 1.1rem;
    background: var(--bg-2); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform 0.35s ease; padding: 40px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 30px; }
  .service-row { padding: 22px 14px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
