:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-elevated: #1a1a26;
  --fg: #e8e6e3;
  --fg-muted: #8a8697;
  --accent: #00e5a0;
  --accent-glow: rgba(0, 229, 160, 0.15);
  --accent-secondary: #7c5cfc;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--accent); }

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 2.5rem;
  background: var(--bg-surface);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero .lede {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--accent);
  border: 1px solid rgba(0, 229, 160, 0.2);
}

/* ===== PILLARS ===== */
.pillars {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.3s;
}

.pillar:hover {
  border-color: rgba(0, 229, 160, 0.3);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-elevated);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  line-height: 1;
  -webkit-text-stroke: 1px var(--border);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--fg);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pillar-metric {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  max-width: 700px;
}

.flow {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flow-icon {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.flow-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.flow-text span {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  align-self: center;
  flex-shrink: 0;
}

/* ===== NUMBERS ===== */
.numbers {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.numbers h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  max-width: 700px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat {
  padding: 2rem;
  border-left: 2px solid var(--accent);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.closing > * { position: relative; z-index: 1; }

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .flow-step {
    min-width: unset;
  }

  .hero {
    min-height: 80vh;
    padding: 3rem 1.5rem;
  }

  .pillars,
  .how-it-works,
  .numbers {
    padding: 4rem 1.5rem;
  }

  .closing {
    padding: 5rem 1.5rem;
  }
}

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

  .hero-badge {
    font-size: 0.6rem;
    padding: 0.4rem 1rem;
  }

  .hero-tags {
    gap: 0.5rem;
  }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #0a0a0f;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== HERO ACTIONS ===== */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== CLOSING ACTIONS ===== */
.closing-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--fg); }

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(0, 229, 160, 0.3);
  padding: 0.45rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 16px var(--accent-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid var(--border);
}

.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
  font-size: 1rem;
  color: var(--fg);
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ===== PAGE HEADER (shared across inner pages) ===== */
.page-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.page-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-page {
  min-height: 100vh;
}

.samples-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sample-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.25s;
}

.sample-card:hover {
  border-color: rgba(0, 229, 160, 0.25);
}

.sample-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.sample-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sample-category {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.sample-platform {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.sample-views {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}

.sample-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
}

.sample-hook {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.hook-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
}

.hook-text {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.ba-side {
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 1rem;
}

.ba-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.before .ba-label { color: var(--fg-muted); }
.after .ba-label { color: var(--accent); }

.ba-side p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.ba-arrow {
  font-size: 1.25rem;
  color: var(--accent);
  align-self: center;
  padding-top: 1.5rem;
}

.portfolio-cta {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.portfolio-cta p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .samples-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .ba-arrow { display: none; }
}

/* ===== PRODUCTS PAGE ===== */
.products-page {
  min-height: 100vh;
}

.products-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s;
}

.product-card:hover {
  border-color: rgba(0, 229, 160, 0.2);
}

.product-badge {
  position: absolute;
  top: -10px;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.badge-accent {
  background: var(--accent);
  color: #0a0a0f;
}

.badge-secondary {
  background: var(--accent-secondary);
  color: #fff;
}

.product-category {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-includes {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-includes li {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.4;
  display: flex;
  gap: 0.5rem;
}

.check {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.price-inr {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
}

.price-usd {
  font-size: 0.78rem;
  color: var(--fg-muted);
  display: block;
}

.btn-buy {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  background: var(--accent);
  color: #0a0a0f;
  border-radius: 6px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-buy:hover {
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-1px);
}

.products-note {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem 4rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ===== CONTACT PAGE ===== */
.contact-page {
  min-height: 100vh;
}

.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.sidebar-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.sidebar-item strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 0.25rem;
}

.sidebar-item span {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  color: #f87171;
  margin-bottom: 1.5rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--fg);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.form-group select option {
  background: var(--bg-elevated);
  color: var(--fg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.btn-submit {
  font-size: 1rem;
  padding: 1rem 2rem;
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}