/* ---------- Design tokens (Emerald Prestige) ---------- */
:root {
  --radius: 0.75rem;
  --background: oklch(0.15 0.03 168);
  --foreground: oklch(0.95 0.01 97);
  --card: oklch(0.18 0.035 168);
  --card-foreground: oklch(0.95 0.01 97);
  --primary: oklch(0.70 0.05 88);
  --primary-foreground: oklch(0.15 0.03 168);
  --secondary: oklch(0.22 0.035 168);
  --secondary-foreground: oklch(0.95 0.01 97);
  --muted: oklch(0.22 0.035 168);
  --muted-foreground: oklch(0.75 0.02 97);
  --accent: oklch(0.25 0.04 168);
  --destructive: oklch(0.60 0.15 25);
  --border: oklch(0.95 0.01 97 / 12%);
  --border-strong: oklch(0.95 0.01 97 / 22%);
  --ring: oklch(0.70 0.05 88 / 50%);
  --font-display: "Space Grotesk", sans-serif;
  --font-sans: "DM Sans", sans-serif;
  --container-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

a { color: inherit; text-decoration: none; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.92; }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--secondary); }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--primary); z-index: 100; transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.15 0.03 168 / 80%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.brand-icon { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 24px; font-size: 0.9rem; color: var(--muted-foreground); }
.main-nav a { transition: color 0.2s ease; }
.main-nav a:hover { color: var(--foreground); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--foreground); border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-top: 1px solid var(--border); }
.mobile-nav a { padding: 10px 0; font-size: 0.95rem; }
.mobile-nav.open { display: flex; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-inner .btn-sm { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 64px; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% 20%, oklch(0.70 0.05 88 / 0.16), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-heading { font-size: clamp(2.2rem, 4.6vw, 4rem); text-wrap: balance; }
.accent-underline {
  color: var(--primary); position: relative;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-repeat: no-repeat; background-position: 0 94%; background-size: 100% 3px;
}
.hero-sub { margin-top: 28px; max-width: 520px; font-size: 1.15rem; color: var(--muted-foreground); }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 24px; list-style: none; font-size: 0.9rem; color: var(--muted-foreground); }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
}
.hero-media img {
  border-radius: 24px; border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.55);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  overflow: hidden; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--muted-foreground); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-muted { background: oklch(0.95 0.01 97 / 3%); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); text-wrap: balance; }
.section-head p { margin-top: 14px; font-size: 1.1rem; color: var(--muted-foreground); }

/* ---------- Offerings (Work) ---------- */
.offerings { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.offering-tabs { display: flex; flex-direction: column; gap: 8px; }
.offering-tab {
  text-align: left; border: 1px solid var(--border); background: oklch(0.18 0.035 168 / 40%);
  border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: all 0.2s ease;
}
.offering-tab:hover { background: var(--card); }
.offering-tab.active { border-color: oklch(0.70 0.05 88 / 60%); background: var(--card); box-shadow: 0 0 0 2px oklch(0.70 0.05 88 / 25%); }
.offering-tab .cat { font-size: 0.75rem; color: var(--muted-foreground); font-weight: 500; }
.offering-tab .title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-top: 4px; }
.offering-tab .result { font-size: 0.75rem; color: var(--primary); margin-top: 6px; }

.offering-panel { border-radius: 24px; border: 1px solid var(--border-strong); background: var(--card); overflow: hidden; box-shadow: 0 25px 60px -25px oklch(0 0 0 / 0.5); }
.offering-panel-head { padding: 32px 32px 12px; }
.offering-panel-badge { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: oklch(0.70 0.05 88 / 12%); color: var(--primary); font-size: 0.75rem; font-weight: 600; }
.offering-panel-head h3 { margin-top: 12px; font-size: 1.6rem; }
.offering-panel-head p { margin-top: 12px; color: var(--muted-foreground); max-width: 480px; }
.offering-visual { position: relative; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.offering-visual .chrome { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: oklch(0 0 0 / 0.2); border-bottom: 1px solid oklch(0 0 0 / 0.1); }
.offering-visual .dot { width: 10px; height: 10px; border-radius: 50%; }
.offering-visual .dot.r { background: oklch(0.65 0.2 25 / 0.8); }
.offering-visual .dot.y { background: oklch(0.8 0.15 90 / 0.8); }
.offering-visual .dot.g { background: oklch(0.7 0.15 145 / 0.8); }
.offering-visual .tag { margin-left: 8px; padding: 2px 8px; border-radius: 4px; background: oklch(1 0 0 / 0.1); color: oklch(1 0 0 / 0.7); font-size: 0.65rem; }
.offering-visual .big-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; color: oklch(1 0 0 / 0.95); text-shadow: 0 4px 20px oklch(0 0 0 / 0.3); }
.offering-panel-foot { display: flex; justify-content: flex-end; padding: 24px 32px; }

@media (max-width: 860px) {
  .offerings { grid-template-columns: 1fr; }
  .offering-tabs { flex-direction: row; overflow-x: auto; }
  .offering-tab { flex-shrink: 0; }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  border: 1px solid var(--border); background: oklch(0.18 0.035 168 / 55%); border-radius: 18px; padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: oklch(0.70 0.05 88 / 12%); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card > p { color: var(--muted-foreground); font-size: 0.92rem; margin-bottom: 16px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted-foreground); }
.service-features li::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
}

@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  position: relative; display: flex; flex-direction: column; border: 1px solid var(--border);
  background: var(--card); border-radius: 22px; padding: 32px; box-shadow: 0 20px 50px -25px oklch(0 0 0 / 0.4);
  transition: transform 0.25s ease;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.popular { border-color: oklch(0.70 0.05 88 / 60%); box-shadow: 0 0 0 2px oklch(0.70 0.05 88 / 25%), 0 20px 50px -25px oklch(0 0 0 / 0.4); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--primary-foreground); font-size: 0.7rem; font-weight: 700; padding: 6px 16px; border-radius: 999px; }
.plan-card h3 { font-size: 1.25rem; margin-bottom: 16px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; }
.plan-price .unit { color: var(--muted-foreground); font-size: 0.85rem; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; flex-grow: 1; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.plan-features li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
}

@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: none; text-align: left; cursor: pointer;
  font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; color: var(--foreground);
}
.faq-q .chev { flex-shrink: 0; transition: transform 0.25s ease; color: var(--muted-foreground); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--muted-foreground); font-size: 0.95rem; line-height: 1.65; max-width: 640px; }

/* ---------- Contact ---------- */
.contact-section { position: relative; background: var(--secondary); overflow: hidden; }
.contact-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 30%, oklch(0.70 0.05 88 / 0.1), transparent 60%); }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-wrap: balance; }
.contact-copy > p { margin-top: 20px; font-size: 1.1rem; color: var(--muted-foreground); }
.contact-points { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--muted-foreground); }
.contact-points li { display: flex; align-items: center; gap: 10px; }
.contact-points li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
}

.contact-form-wrap { position: relative; }
.contact-form {
  position: relative; background: var(--background); border: 1px solid var(--border-strong); border-radius: 20px;
  padding: 32px; box-shadow: 0 30px 70px -25px oklch(0 0 0 / 0.5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: oklch(0.95 0.01 97 / 4%); color: var(--foreground); font-family: var(--font-sans); font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); }
.form-field textarea { resize: vertical; }
.form-error { color: var(--destructive); font-size: 0.85rem; margin: -6px 0 16px; }
.form-success {
  position: absolute; inset: 0; z-index: 5; display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; background: oklch(0.15 0.03 168 / 97%); text-align: center; border-radius: 20px;
}
.form-success:not([hidden]) { display: flex; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: oklch(0.70 0.05 88 / 18%); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.form-success-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.form-success-sub { color: var(--muted-foreground); font-size: 0.9rem; }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-copy { font-size: 0.85rem; color: var(--muted-foreground); }
.footer-nav { display: flex; gap: 24px; font-size: 0.85rem; color: var(--muted-foreground); }
.footer-nav a:hover { color: var(--foreground); }

/* ---------- Scroll reveal ---------- */
.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); transition-delay: var(--delay, 0s); }
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

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