:root {
  --bg: #10171c;
  --bg-soft: #182229;
  --surface: #1c272f;
  --surface-2: #202d35;
  --green: #2ee58d;
  --green-strong: #19c978;
  --green-dark: #0d6f49;
  --text: #f4f8f6;
  --muted: #b7c2bd;
  --line: rgba(255,255,255,.14);
  --shadow: 0 18px 50px rgba(0,0,0,.28);
  --glow: 0 0 0 1px rgba(46,229,141,.44), 0 0 30px rgba(46,229,141,.14);
  --radius: 22px;
  --container: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 9999; top: 12px; left: 12px;
  transform: translateY(-160%); background: #fff; color: #111;
  padding: .75rem 1rem; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-dark { background: var(--bg); }
.eyebrow {
  margin: 0 0 .8rem; color: var(--green); font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; font-size: .75rem;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.6rem); max-width: 920px; margin-bottom: 1.4rem; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 1.15rem; }
h3 { line-height: 1.25; }
p { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(16,23,28,.86); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--green); color: var(--bg); border-radius: 7px; font-size: 1.1rem;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; color: #dfe7e3; font-size: .92rem; transition: color .2s ease, transform .2s ease; }
.main-nav a:hover { color: var(--green); }
.nav-cta { padding: .7rem 1rem; border: 1px solid var(--green); color: var(--green) !important; }
.nav-cta:hover { background: var(--green); color: var(--bg) !important; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: #fff; }

.hero { overflow: hidden; }
.hero-grid { min-height: 720px; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 58px; padding-block: 88px; }
.hero-lead { max-width: 680px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center; min-height: 50px;
  padding: .8rem 1.3rem; text-decoration: none; font-weight: 850; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--green); color: #07120d; box-shadow: 0 10px 24px rgba(46,229,141,.18); }
.btn-primary:hover { background: #5af0a5; box-shadow: 0 16px 30px rgba(46,229,141,.28); }
.btn-ghost { border-color: rgba(255,255,255,.34); color: #fff; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 34px 0 0; color: #e7efeb; font-size: .92rem; }
.hero-proof li::before { content: "✓"; color: var(--green); margin-right: .45rem; font-weight: 900; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -24% -12% 20%; border-radius: 46% 54% 57% 43%;
  background: linear-gradient(145deg, rgba(46,229,141,.96), rgba(13,111,73,.9)); transform: rotate(-9deg);
}
.mockup-card {
  width: min(100%, 420px); min-height: 430px; position: relative; z-index: 2;
  background: #f5faf7; color: #111; border-radius: 18px; box-shadow: var(--shadow); overflow: visible;
  transform: rotate(2deg); transition: transform .35s ease;
}
.mockup-card:hover { transform: rotate(0deg) translateY(-8px); }
.mockup-topbar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: #dfe8e3; border-radius: 18px 18px 0 0; }
.mockup-topbar span { width: 8px; height: 8px; border-radius: 50%; background: #68746e; }
.mockup-content { padding: 44px 36px; }
.mockup-badge { display: inline-block; background: #daf8e8; color: #126a45; padding: .4rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.mockup-title { height: 24px; width: 92%; margin-top: 26px; background: #172128; border-radius: 999px; }
.mockup-title.short { width: 66%; margin-top: 11px; }
.mockup-line { height: 9px; width: 94%; margin-top: 28px; background: #b8c3bd; border-radius: 999px; }
.mockup-line.medium { width: 72%; margin-top: 9px; }
.mockup-button { height: 46px; width: 48%; margin-top: 34px; background: var(--green-strong); border-radius: 7px; }
.metric { position: absolute; padding: .7rem .9rem; border-radius: 12px; background: var(--surface); color: #fff; box-shadow: var(--shadow); font-size: .78rem; }
.metric strong, .metric span { display: block; }
.metric strong { color: var(--green); }
.metric span { color: var(--muted); }
.metric-one { top: 90px; left: -62px; }
.metric-two { right: -70px; bottom: 76px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.orbit-one { width: 420px; height: 420px; animation: rotate 18s linear infinite; }
.orbit-two { width: 520px; height: 520px; border-style: dashed; animation: rotate 28s linear infinite reverse; }
@keyframes rotate { to { transform: rotate(360deg); } }

.ticker { border-block: 1px solid var(--green); background: #f7fbf9; color: #0b1611; overflow: hidden; }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 22px; min-height: 52px; padding-inline: 22px; font-size: .88rem; font-weight: 800; }
.ticker i { color: var(--green-strong); font-style: normal; }

.section-about, .section-social { background: var(--bg-soft); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.visual-panel { min-height: 510px; position: relative; }
.shape { position: absolute; border-radius: 40% 60% 57% 43%; }
.shape-a { inset: 8% 15% 8% 5%; background: var(--green); transform: rotate(-8deg); }
.shape-b { inset: 22% 4% 0 35%; border: 2px solid rgba(255,255,255,.2); }
.process-card { position: absolute; z-index: 2; width: 190px; padding: 18px; background: var(--surface); border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow); }
.process-card strong, .process-card span { display: block; }
.process-card strong { color: var(--green); font-size: 1.05rem; }
.process-card span { color: var(--muted); font-size: .84rem; }
.card-a { top: 70px; left: 20px; }
.card-b { top: 220px; right: 5px; }
.card-c { bottom: 38px; left: 90px; }
.content-block p { max-width: 650px; }
.text-link { display: inline-flex; gap: 10px; color: var(--green); font-weight: 900; text-decoration: none; margin-top: 12px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(6px); }

.section-heading { max-width: 760px; margin-bottom: 52px; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature-card { min-height: 320px; padding: 30px; background: var(--surface); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--glow); transition: transform .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-8px); border-color: var(--green); }
.feature-number { color: var(--green); font-weight: 900; letter-spacing: .12em; }
.feature-card h3 { margin: 65px 0 14px; font-size: 1.25rem; }

.section-process { background: #0e151a; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.12); }
.timeline li { background: var(--bg); padding: 30px; min-height: 260px; }
.timeline li > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--green); color: var(--green); border-radius: 50%; font-weight: 900; }
.timeline h3 { margin-top: 48px; }
.timeline p { font-size: .92rem; }

.work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.work-card { transition: transform .25s ease; }
.work-card:hover { transform: translateY(-7px); }
.work-preview { aspect-ratio: 4/3; padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; box-shadow: var(--glow); overflow: hidden; position: relative; }
.work-preview::after { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%; right: -70px; bottom: -90px; background: rgba(46,229,141,.18); }
.work-preview span { position: relative; z-index: 1; color: var(--green); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.work-preview div { position: relative; z-index: 1; height: 15px; width: 78%; margin-top: 18px; background: #fff; border-radius: 999px; }
.work-preview div + div { width: 54%; margin-top: 9px; }
.work-preview button { position: relative; z-index: 1; margin-top: 28px; border: 0; padding: .65rem .85rem; background: var(--green); font-weight: 850; }
.preview-one { background: linear-gradient(135deg,#19252d,#091013); }
.preview-two { background: linear-gradient(135deg,#112722,#16362d); }
.preview-three { background: linear-gradient(135deg,#241c2d,#141018); }
.work-meta { padding-top: 18px; }
.work-meta p { color: var(--green); font-size: .8rem; margin-bottom: 4px; }
.work-meta h3 { margin-bottom: 0; }

.logo-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-bottom: 48px; }
.logo-row span { min-height: 70px; display: grid; place-items: center; border: 1px solid var(--line); color: #dbe3df; font-weight: 900; letter-spacing: .08em; font-size: .78rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.testimonial { margin: 0; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.testimonial.featured { border-color: var(--green); box-shadow: var(--glow); }
.testimonial blockquote { margin: 0 0 28px; color: #f4f8f6; font-family: var(--serif); font-size: 1.1rem; line-height: 1.55; }
.testimonial figcaption strong, .testimonial figcaption span { display: block; }
.testimonial figcaption span { color: var(--muted); font-size: .83rem; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; list-style: none; padding: 24px 46px 24px 0; position: relative; font-weight: 850; color: #fff; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 0; top: 18px; color: var(--green); font-size: 1.6rem; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { padding-right: 30px; }

.cta-section { padding: 70px 0 100px; background: linear-gradient(180deg,var(--bg),#0c1216); }
.cta-box { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 40px; padding: 54px; border: 1px solid var(--green); box-shadow: var(--glow); }
.cta-box h2 { max-width: 780px; }
.cta-actions { justify-content: flex-end; margin-top: 0; }
.cta-actions .btn { width: 100%; }

.site-footer { background: #0b1115; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 60px; padding-bottom: 50px; }
.footer-grid p { max-width: 460px; margin-top: 20px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: var(--green); }
.footer-title { font-family: var(--sans); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.footer-bottom { min-height: 86px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; font-size: .85rem; }
.footer-bottom a { color: var(--green); text-decoration: none; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .hero-grid, .split-grid, .faq-layout, .cta-box { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 70px 90px; }
  .hero-visual { min-height: 480px; }
  .feature-grid, .timeline { grid-template-columns: repeat(2,1fr); }
  .work-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .work-preview { aspect-ratio: 16/9; }
  .cta-actions { justify-content: flex-start; }
  .cta-actions .btn { width: auto; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; left: 20px; right: 20px; top: calc(100% + 10px);
    display: grid; gap: 0; padding: 14px; background: #111a20; border: 1px solid var(--line);
    box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 13px 12px; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero-grid { min-height: auto; }
  .logo-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-grid { gap: 20px; padding-top: 58px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-proof { display: grid; gap: 10px; }
  .hero-visual { min-height: 390px; }
  .mockup-card { width: 82%; min-height: 330px; }
  .mockup-content { padding: 30px 24px; }
  .metric-one { left: -30px; top: 55px; }
  .metric-two { right: -24px; bottom: 40px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 390px; height: 390px; }
  .split-grid { gap: 50px; }
  .visual-panel { min-height: 430px; }
  .feature-grid, .timeline { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 38px; }
  .timeline li { min-height: auto; }
  .logo-row { grid-template-columns: 1fr; }
  .faq-layout { gap: 36px; }
  .cta-box { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 22px; }
}
