/* ===================================================================
   MIKKI STUDIO — Light Premium Theme
   Clean light palette, gradient accents, soft shadows
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Colors — Light Theme */
  --bg-deepest: #f8f9fc;
  --bg-deep: #f0f2f7;
  --bg-dark: #e8ebf2;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.08);
  --glass-border-hover: rgba(0,0,0,0.15);
  --text-primary: #1a1a2e;
  --text-secondary: #444466;
  --text-muted: #7a7a9e;
  --purple: #7c3aed;
  --purple-glow: rgba(124,58,237,0.12);
  --blue: #2563eb;
  --cyan: #0891b2;
  --emerald: #059669;
  --pink: #db2777;
  --orange: #d97706;
  --gradient-1: linear-gradient(135deg, #7c3aed, #0891b2);
  --gradient-2: linear-gradient(135deg, #7c3aed, #db2777);
  --gradient-3: linear-gradient(135deg, #2563eb, #7c3aed);
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  /* Ease */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  background: var(--bg-deepest);
  color: var(--text-secondary);
  font-family: var(--font-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124,58,237,0.2); color: #fff; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* === GRADIENT TEXT === */
.grad-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 12px 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--text-primary);
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
}

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
  font-size: 0.88rem; color: var(--text-muted);
  transition: color 0.3s; font-weight: 500;
}
.nav-menu a:hover { color: var(--text-primary); }
.nav-btn {
  background: var(--gradient-1) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600 !important;
  transition: transform 0.3s var(--ease), box-shadow 0.3s !important;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--purple-glow); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

/* Hero Text */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2); border-radius: 50px;
  font-size: 0.82rem; color: #10b981; font-weight: 500;
  margin-bottom: 28px;
}
.pulse {
  width: 8px; height: 8px; background: #10b981;
  border-radius: 50%; animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 14px;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.35s var(--ease);
  font-family: var(--font-primary);
}
.btn svg { width: 16px; height: 16px; }
.btn-glow {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 20px var(--purple-glow);
  position: relative;
  overflow: hidden;
}
.btn-glow::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: none;
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(124,58,237,0.3); }
.btn-ghost {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.btn-ghost:hover { border-color: var(--glass-border-hover); background: #f8f8ff; }

/* Hero Trust */
.hero-trust {
  display: flex; gap: 32px; align-items: center;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}
.trust-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.trust-stat .label { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.trust-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* Hero Visual — Browser Mockup */
.hero-visual { display: flex; justify-content: center; }
.mockup-wrapper { position: relative; width: 100%; max-width: 520px; perspective: 1200px; }

.float-badge {
  position: absolute; z-index: 10;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-primary);
  animation: float-y 4s ease-in-out infinite;
}
.badge-icon { font-size: 1.1rem; }
.float-badge-1 { top: 10%; left: -40px; animation-delay: 0s; }
.float-badge-2 { bottom: 20%; right: -30px; animation-delay: 1.2s; }
.float-badge-3 { top: -5%; right: 10%; animation-delay: 2.5s; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup-browser {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 0 80px var(--purple-glow);
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
}
.mockup-browser:hover { transform: rotateY(0) rotateX(0); }

.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  background: #f5f5f8;
  border-bottom: 1px solid var(--glass-border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1; display: flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  font-size: 0.78rem; color: var(--text-muted);
  font-family: var(--font-mono);
}
.lock { font-size: 0.7rem; }

.browser-content { padding: 18px; }
.mock-store-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-logo { width: 50px; height: 10px; background: var(--gradient-1); border-radius: 4px; opacity: 0.8; }
.mock-nav { display: flex; gap: 10px; }
.mock-nav span { width: 30px; height: 6px; background: rgba(0,0,0,0.08); border-radius: 3px; }
.mock-hero-banner {
  height: 80px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(8,145,178,0.06));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.mock-hero-text { width: 60%; height: 12px; background: rgba(0,0,0,0.08); border-radius: 4px; }
.mock-products { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mock-product { background: rgba(0,0,0,0.02); border-radius: 8px; overflow: hidden; }
.mock-product-img { height: 50px; background: rgba(124,58,237,0.06); }
.mock-product-info { padding: 8px; }
.mock-product-info .title { height: 6px; width: 70%; background: rgba(0,0,0,0.08); border-radius: 3px; margin-bottom: 6px; }
.mock-product-info .price { height: 6px; width: 40%; background: var(--gradient-1); border-radius: 3px; }

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  padding: 20px 0;
  background: rgba(124,58,237,0.03);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: scroll-x 40s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 28px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.diamond {
  width: 6px; height: 6px;
  background: var(--purple);
  transform: rotate(45deg);
  flex-shrink: 0;
}
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; }
.section-alt { background: rgba(0,0,0,0.02); }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--purple-glow);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 50px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--purple);
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-head p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(124,58,237,0.3), rgba(8,145,178,0.3), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(124,58,237,0.08), 0 8px 16px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.fi-purple { background: rgba(139,92,246,0.12); }
.fi-blue { background: rgba(59,130,246,0.12); }
.fi-cyan { background: rgba(6,182,212,0.12); }
.fi-emerald { background: rgba(16,185,129,0.12); }
.fi-pink { background: rgba(236,72,153,0.12); }
.fi-orange { background: rgba(245,158,11,0.12); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.folio-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.folio-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 24px 56px rgba(0,0,0,0.12), 0 0 0 1px rgba(124,58,237,0.15);
}
.folio-thumb {
  padding: 20px; height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.folio-thumb-img {
  padding: 0; height: 240px; overflow: hidden;
}
.folio-thumb-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.6s var(--ease);
}
.folio-card:hover .folio-thumb-img img {
  transform: scale(1.05);
}
a.folio-thumb-img { display: block; position: relative; text-decoration: none; cursor: pointer; }
.folio-link-badge {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(124,58,237,0.92); color: #fff;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 20px;
  opacity: 0; transform: translateY(6px);
  transition: all 0.35s var(--ease);
  backdrop-filter: blur(8px);
}
.folio-card:hover .folio-link-badge {
  opacity: 1; transform: translateY(0);
}
.folio-thumb-inner {
  width: 90%; background: rgba(0,0,0,0.05);
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.folio-mock-bar {
  display: flex; gap: 4px; padding: 6px 10px;
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.folio-mock-bar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,0.15); }
.folio-mock-content { padding: 10px; }
.fm-banner { height: 35px; border-radius: 5px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.fm-text { width: 55%; height: 6px; background: rgba(0,0,0,0.07); border-radius: 3px; }
.fm-item { height: 14px; background: rgba(0,0,0,0.03); border-radius: 4px; margin-bottom: 5px; }

.folio-body { padding: 20px 24px 24px; }
.folio-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; color: #10b981;
  margin-bottom: 10px;
}
.s-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; }
.folio-body h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-primary); font-weight: 700; margin-bottom: 6px; }
.folio-body p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.folio-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.folio-tags span {
  padding: 4px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.7rem; font-weight: 500;
  color: var(--text-muted);
}

/* ============================================
   PRICING
   ============================================ */
.pricing-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); }
.price-card.popular {
  border-color: rgba(124,58,237,0.25);
  background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(8,145,178,0.03));
  box-shadow: 0 0 60px rgba(124,58,237,0.06), 0 20px 40px rgba(0,0,0,0.06);
  transform: scale(1.03);
}
.popular-tag {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 3px;
  background: var(--gradient-1); border-radius: 0 0 4px 4px;
}
.price-tier {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-bottom: 6px;
}
.price-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.price-tag { display: flex; align-items: baseline; gap: 2px; margin-bottom: 10px; }
.dollar { font-size: 1.2rem; color: var(--text-muted); font-weight: 600; }
.amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; }
.custom-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.price-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.price-features { margin-bottom: 28px; }
.price-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.ico-check { color: var(--emerald); font-weight: 700; font-size: 0.9rem; }
.price-card .btn { width: 100%; justify-content: center; }

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.timeline-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  transition: all 0.4s var(--ease);
}
.timeline-step:hover { transform: translateY(-6px); border-color: var(--glass-border-hover); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.step-dot {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--purple-glow);
  border: 1px solid rgba(139,92,246,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.timeline-step h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.timeline-step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   CTA
   ============================================ */
.cta-wrap {
  text-align: center;
  padding: 72px 40px;
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(8,145,178,0.06));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(124,58,237,0.06), transparent, rgba(8,145,178,0.04), transparent);
  animation: ctaSpin 8s linear infinite;
}
@keyframes ctaSpin {
  to { transform: rotate(360deg); }
}
.cta-wrap h2, .cta-wrap p, .cta-wrap .btn { position: relative; z-index: 1; }
.cta-wrap h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; color: var(--text-primary); margin-bottom: 14px; }
.cta-wrap p { color: var(--text-muted); margin-bottom: 28px; }

/* ============================================
   CONTACT
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-left h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.contact-left > p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.8; }

.c-method {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}
.c-method:first-of-type { border-top: 1px solid var(--glass-border); }
.c-method:hover { padding-left: 8px; }
.c-method-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.c-method span { font-size: 0.78rem; color: var(--text-muted); }
.c-method strong { display: block; font-size: 0.95rem; color: var(--text-primary); font-weight: 600; }

.contact-form {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.fg input, .fg textarea, .fg select {
  width: 100%; padding: 14px 16px;
  background: #f8f9fc;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--purple); background: #fff; }
.fg textarea { min-height: 100px; resize: vertical; }
.fg select option { background: #fff; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--glass-border);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--text-primary); font-size: 1rem; }
.footer-brand .logo-icon { width: 28px; height: 28px; font-size: 0.8rem; border-radius: 8px; }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.testi-card::before {
  content: '\201C';
  font-size: 4rem;
  font-family: Georgia, serif;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 16px; left: 24px;
  line-height: 1;
  opacity: 0.3;
}
.testi-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; font-weight: 700;
}
.testi-author-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
}
.testi-author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.testi-stars {
  font-size: 0.9rem;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

/* ============================================
   RESULTS BANNER
   ============================================ */
.results-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.result-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s var(--ease);
}
.result-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.result-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.result-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   GUARANTEE BANNER
   ============================================ */
.guarantee-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(5,150,105,0.06), rgba(124,58,237,0.04));
  border: 1px solid rgba(5,150,105,0.15);
  border-radius: 18px;
  margin-top: 36px;
}
.guarantee-icon {
  font-size: 2.8rem;
  flex-shrink: 0;
}
.guarantee-text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.guarantee-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet landscape & small desktop --- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .container-lg { padding: 0 24px; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 36px; max-width: 600px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-layout { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testi-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }
  .results-banner { grid-template-columns: repeat(2, 1fr); }

  .section-head { margin-bottom: 48px; }
  .cta-wrap { padding: 56px 32px; }
}

/* --- Tablet portrait --- */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; inset: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 24px; transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 999;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.2rem; color: var(--text-secondary); }
  .nav-btn { font-size: 1rem !important; padding: 14px 32px !important; }
  .burger { display: flex; z-index: 1001; }

  .hero { padding-top: 70px; min-height: auto; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .section { padding: 72px 0; }
  .section-head h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-head p { font-size: 0.9rem; }
  .section-head { margin-bottom: 40px; }

  .features-grid { gap: 16px; }
  .feature-card { padding: 24px 20px; }
  .feature-icon { width: 46px; height: 46px; font-size: 1.3rem; margin-bottom: 16px; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.84rem; }

  .portfolio-grid { gap: 16px; }
  .folio-thumb { height: 160px; }

  .pricing-layout { max-width: 100%; }
  .price-card { padding: 28px 22px; }
  .amount { font-size: 2.5rem; }
  .custom-price { font-size: 1.6rem; }

  .timeline { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .timeline-step { padding: 24px 16px; }
  .step-dot { width: 48px; height: 48px; font-size: 1.2rem; }

  .cta-wrap { padding: 48px 24px; border-radius: 18px; }
  .cta-wrap h2 { font-size: 1.4rem; }

  .contact-form { padding: 28px 20px; }
  .fg input, .fg textarea, .fg select { padding: 12px 14px; font-size: 0.88rem; }

  .marquee-item { font-size: 0.78rem; padding: 0 20px; letter-spacing: 0.5px; }

  .testimonials-grid { gap: 16px; }
  .testi-card { padding: 24px 20px; }
  .testi-text { font-size: 0.86rem; }
  .results-banner { gap: 16px; }
  .result-num { font-size: 2rem; }
  .guarantee-banner { padding: 22px 24px; gap: 16px; }
  .guarantee-icon { font-size: 2.2rem; }
  .guarantee-text h4 { font-size: 1rem; }
  .guarantee-text p { font-size: 0.82rem; }
}

/* --- Mobile phones --- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .container-lg { padding: 0 16px; }

  .hero { padding-bottom: 40px; }
  .hero h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); margin-bottom: 18px; }
  .hero-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 28px; }
  .hero-trust { flex-direction: column; gap: 16px; padding-top: 24px; margin-top: 32px; }
  .trust-stat { text-align: center; }
  .trust-stat .num { font-size: 1.6rem; }
  .trust-stat .label { font-size: 0.72rem; }
  .trust-divider { display: none; }

  .section { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonials-grid .testi-card:last-child { max-width: 100%; }
  .results-banner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .result-num { font-size: 1.8rem; }
  .guarantee-banner { flex-direction: column; text-align: center; padding: 20px; }

  .folio-thumb { height: 180px; }
  .folio-body { padding: 16px 18px 20px; }
  .folio-body h3 { font-size: 1rem; }

  .pricing-layout { grid-template-columns: 1fr; gap: 16px; }
  .price-card { border-radius: 16px; }
  .price-features li { font-size: 0.84rem; padding: 7px 0; }

  .contact-layout { gap: 32px; }
  .contact-left h3 { font-size: 1.3rem; }
  .contact-form { padding: 24px 16px; border-radius: 16px; }

  .cta-wrap { padding: 40px 20px; border-radius: 16px; }
  .cta-wrap p { font-size: 0.88rem; }

  .footer { padding: 20px 0; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-copy { font-size: 0.72rem; }

  .marquee-section { padding: 14px 0; }
  .marquee-item { font-size: 0.72rem; padding: 0 16px; }
}

/* --- Extra small phones (iPhone SE, etc.) --- */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.4rem; }
  .hero-desc { font-size: 0.84rem; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }

  .btn { padding: 12px 20px; font-size: 0.84rem; }
  .nav-logo { font-size: 1.05rem; }
  .logo-icon { width: 30px; height: 30px; font-size: 0.9rem; }

  .section-head h2 { font-size: 1.3rem; }
  .feature-card { padding: 20px 16px; }
  .feature-card h3 { font-size: 0.95rem; }
  .feature-card p { font-size: 0.8rem; }

  .price-card { padding: 24px 16px; }
  .amount { font-size: 2.2rem; }
  .custom-price { font-size: 1.4rem; }

  .cta-wrap h2 { font-size: 1.2rem; }
  .contact-form { padding: 20px 14px; }
}
