/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0ea5a4;
  --primary-dark: #0d9488;
  --primary-light: #5eead4;
  --accent: #6366f1;
  --accent-2: #ec4899;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-alt: #f0fdfa;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --dark: #0a0e1a;
  --dark-2: #111827;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 20px 60px rgba(14, 165, 164, 0.25);
  --gradient: linear-gradient(135deg, #0ea5a4 0%, #6366f1 100%);
  --gradient-2: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  --gradient-3: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg: #0a0e1a;
  --bg-soft: #111827;
  --bg-alt: #0f1729;
  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --border: #1e293b;
  --card: #111827;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .3s, color .3s;
  -webkit-tap-highlight-color: transparent;
  min-width: 320px;
}
/* Fix iOS Safari 100vh issue */
.hero, .chat-panel { min-height: 0; }

/* Better touch scrolling on iOS */
.chat-body, .nav.open {
  -webkit-overflow-scrolling: touch;
}

/* Remove default tap highlight, but keep accessibility focus */
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.15; color: var(--text); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; }
p { color: var(--text-2); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== Loader ========== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .5s, visibility .5s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 70px; height: 70px;
  background: var(--gradient);
  color: white; font-size: 2.5rem; font-weight: 900;
  border-radius: 20px;
  display: grid; place-items: center;
  animation: pulse 1.2s ease-in-out infinite;
  box-shadow: var(--shadow-glow);
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ========== Cursor ========== */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transition: transform .1s;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  transition: transform .15s, width .2s, height .2s, border-color .2s;
  opacity: .5;
}
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ========== Announce (rotating offers) ========== */
.announce {
  background: var(--gradient);
  color: white;
  font-size: .9rem;
  padding: 10px 0;
  text-align: center;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}
.announce::before, .announce::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 60px; z-index: 2;
  pointer-events: none;
}
.announce::before { left: 0; background: linear-gradient(90deg, var(--primary) 0%, transparent 100%); }
.announce::after { right: 0; background: linear-gradient(-90deg, var(--accent) 0%, transparent 100%); }
.announce-rotator {
  position: relative;
  height: 24px;
  overflow: hidden;
}
.announce-slide {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .6s var(--transition), transform .6s var(--transition);
  white-space: nowrap;
  padding: 0 20px;
}
.announce-slide.active {
  opacity: 1;
  transform: translateY(0);
}
.announce-slide.exit {
  opacity: 0;
  transform: translateY(-100%);
}
.announce-slide strong {
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
@media (max-width: 640px) {
  .announce { font-size: .78rem; padding: 8px 0; }
  .announce-rotator { height: 22px; }
  .announce-slide { white-space: normal; line-height: 1.3; }
}

/* ========== Header ========== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
[data-theme="dark"] .header { background: rgba(10, 14, 26, 0.75); }
.header.scrolled { padding: 0; box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; color: var(--text);
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 900;
  box-shadow: var(--shadow-glow);
}
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  color: var(--text); font-weight: 500; font-size: .94rem;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width .3s var(--transition);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 1.2rem;
  transition: all .25s;
}
.theme-toggle:hover { transform: rotate(15deg); border-color: var(--primary); }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: inline; }

.hamburger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: .3s;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 12px; font-weight: 600; font-size: .98rem;
  border: none; transition: all .25s var(--transition);
  text-align: center; cursor: pointer;
  position: relative; overflow: hidden;
}
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 24px rgba(14, 165, 164, 0.35);
}
.btn-primary:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(14, 165, 164, 0.45);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #6366f1 0%, #0ea5a4 100%);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: float-orb 12s ease-in-out infinite;
}
.orb-1 { top: -100px; left: -100px; width: 500px; height: 500px; background: var(--primary); }
.orb-2 { top: 30%; right: -150px; width: 400px; height: 400px; background: var(--accent); animation-delay: -4s; }
.orb-3 { bottom: -100px; left: 30%; width: 350px; height: 350px; background: var(--accent-2); animation-delay: -8s; opacity: .25; }
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(.95); }
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .25;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .85rem; font-weight: 600;
  color: var(--text); margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .2);
  animation: blink 2s infinite;
}
@keyframes blink { 50% { opacity: .5; } }

.hero h1 { margin-bottom: 22px; }
.lead {
  font-size: 1.18rem; margin-bottom: 36px; max-width: 540px;
  color: var(--text-2);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.trust-badges {
  display: flex; align-items: center; gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; }
.trust-text { font-size: .85rem; color: var(--muted); font-weight: 500; }
.trust-divider { width: 1px; height: 30px; background: var(--border); }

/* ========== 3D Hero Scene ========== */
.hero-art {
  position: relative;
  display: grid; place-items: center;
  height: 620px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.hero-3d-scene {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
}
.tilt-layer {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .25s ease-out;
}

/* Floating geometric shapes in background */
.float-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .9;
  filter: blur(.5px);
}
.shape-pill {
  width: 70px; height: 32px;
  background: linear-gradient(135deg, #ec4899, #f472b6);
  border-radius: 50px;
  top: 8%; left: 5%;
  transform: rotate(-25deg) translateZ(20px);
  box-shadow: 0 15px 30px rgba(236, 72, 153, .35);
  animation: shape-float 7s ease-in-out infinite;
}
.shape-circle {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  bottom: 12%; left: 0%;
  transform: translateZ(30px);
  box-shadow: 0 15px 30px rgba(251, 191, 36, .4);
  animation: shape-float 6s ease-in-out infinite -2s;
}
.shape-square {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 12px;
  top: 20%; right: 6%;
  transform: rotate(15deg) translateZ(40px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, .4);
  animation: shape-float 8s ease-in-out infinite -4s;
}
.shape-tri {
  width: 0; height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 38px solid #14b8a6;
  bottom: 24%; right: 0%;
  transform: rotate(-10deg) translateZ(25px);
  filter: drop-shadow(0 10px 20px rgba(20, 184, 166, .4));
  animation: shape-float 9s ease-in-out infinite -1s;
}
@keyframes shape-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -20px; }
}

/* Phone mockup — main 3D element */
.phone-mockup {
  width: 320px; height: 560px;
  background: linear-gradient(135deg, #1e293b, #0a0e1a);
  border-radius: 44px;
  padding: 14px;
  position: relative;
  border: 4px solid #2d3748;
  box-shadow:
    0 0 0 2px #0a0e1a,
    inset 0 0 8px rgba(255, 255, 255, .05),
    0 60px 100px -20px rgba(14, 165, 164, .35),
    0 30px 60px -15px rgba(0, 0, 0, .4);
  transform: rotateY(-12deg) rotateX(8deg) rotateZ(-2deg) translateZ(0);
  animation: phone-float-3d 8s ease-in-out infinite;
  z-index: 5;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 20px;
  background: #0a0e1a;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}
.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(14, 165, 164, .25) 0%, transparent 60%);
  border-radius: 50%;
  z-index: -1;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: .8; }
  50% { opacity: 1; }
}
@keyframes phone-float-3d {
  0%, 100% {
    transform: rotateY(-12deg) rotateX(8deg) rotateZ(-2deg) translateY(0);
  }
  50% {
    transform: rotateY(-10deg) rotateX(6deg) rotateZ(-1deg) translateY(-15px);
  }
}
.phone-bar-bottom {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 4px;
  background: var(--text);
  border-radius: 4px;
  opacity: .25;
}
.phone-screen {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 35%);
  height: 100%;
  border-radius: 32px;
  padding: 36px 14px 24px;
  display: flex; flex-direction: column; gap: 11px;
  overflow: hidden;
  position: relative;
}
.phone-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
  padding: 4px 4px 12px;
}
.phone-avatar {
  width: 36px; height: 36px;
  background: var(--gradient);
  color: white; font-weight: 800;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .95rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(14, 165, 164, .35);
}
.phone-greeting { flex: 1; min-width: 0; }
.phone-greeting strong { display: block; font-size: .85rem; color: var(--text); }
.phone-greeting span { font-size: .7rem; color: var(--muted); }
.phone-bell {
  width: 32px; height: 32px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: .9rem;
  flex-shrink: 0;
}
.phone-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 14px;
  position: relative;
}
.phone-icon {
  width: 44px; height: 44px;
  background: var(--card);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.phone-card-text { flex: 1; min-width: 0; }
.phone-card-text strong { display: block; font-size: .88rem; color: var(--text); margin-bottom: 2px; }
.phone-card-text span { font-size: .72rem; color: var(--muted); }
.phone-pulse {
  width: 10px; height: 10px;
  background: #10b981; border-radius: 50%;
  margin-left: auto;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .2);
  animation: blink 1.5s infinite;
}
.progress {
  position: absolute; bottom: 6px; left: 14px; right: 14px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%; width: 65%;
  background: var(--gradient);
  border-radius: 2px;
  animation: prog 3s ease-in-out infinite;
}
@keyframes prog { 0%, 100% { width: 25%; } 50% { width: 85%; } }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--card);
  border-radius: 16px;
  box-shadow:
    0 25px 50px -12px rgba(15, 23, 42, .25),
    0 0 0 1px rgba(15, 23, 42, .04);
  z-index: 6;
  backdrop-filter: blur(10px);
}
.f-card-1 {
  bottom: 50px; left: -10px;
  transform: rotateY(8deg) rotateX(-3deg) translateZ(60px);
  animation: card-float-1 7s ease-in-out infinite;
}
.f-card-1 strong { display: block; font-size: .85rem; }
.f-card-1 span { font-size: .72rem; color: var(--muted); }
.f-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(16, 185, 129, .4);
  flex-shrink: 0;
}

.f-card-2 {
  top: 60px; right: -8px;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: .82rem; font-weight: 700;
  transform: rotateY(-12deg) rotateX(4deg) translateZ(50px);
  animation: card-float-2 8s ease-in-out infinite -2s;
}
.ring {
  width: 9px; height: 9px;
  background: #ef4444; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .25);
  animation: blink 1.2s infinite;
}

.f-card-3 {
  top: 30%; left: -30px;
  padding: 12px 16px;
  flex-direction: column; align-items: flex-start;
  gap: 2px;
  transform: rotateY(15deg) rotateX(-2deg) translateZ(70px);
  animation: card-float-3 9s ease-in-out infinite -4s;
}
.rating-stars {
  color: #fbbf24;
  font-size: .9rem;
  letter-spacing: 1px;
}
.f-card-3 span { font-size: .72rem; color: var(--muted); font-weight: 600; }

.f-card-4 {
  bottom: 35%; right: -28px;
  padding: 12px 16px;
  flex-direction: column; align-items: center;
  gap: 2px;
  background: var(--gradient);
  color: white;
  border: none;
  transform: rotateY(-15deg) rotateX(-2deg) translateZ(80px);
  animation: card-float-4 10s ease-in-out infinite -1s;
}
.f-pill {
  font-size: 1.4rem; font-weight: 900; letter-spacing: -.03em;
}
.f-card-4 span { font-size: .68rem; font-weight: 700; opacity: .95; text-transform: uppercase; letter-spacing: .05em; }

.f-card-5 {
  top: 65%; right: 15%;
  padding: 10px 14px;
  flex-direction: column; align-items: center; gap: 2px;
  transform: rotateY(-8deg) rotateX(5deg) translateZ(40px);
  animation: card-float-5 11s ease-in-out infinite -3s;
}
.lang-flags { font-size: 1rem; letter-spacing: 2px; }
.f-card-5 span { font-size: .68rem; color: var(--muted); font-weight: 600; }

@keyframes card-float-1 {
  0%, 100% { transform: rotateY(8deg) rotateX(-3deg) translate3d(0, 0, 60px); }
  50% { transform: rotateY(8deg) rotateX(-3deg) translate3d(-8px, -16px, 60px); }
}
@keyframes card-float-2 {
  0%, 100% { transform: rotateY(-12deg) rotateX(4deg) translate3d(0, 0, 50px); }
  50% { transform: rotateY(-12deg) rotateX(4deg) translate3d(8px, -14px, 50px); }
}
@keyframes card-float-3 {
  0%, 100% { transform: rotateY(15deg) rotateX(-2deg) translate3d(0, 0, 70px); }
  50% { transform: rotateY(15deg) rotateX(-2deg) translate3d(-6px, -18px, 70px); }
}
@keyframes card-float-4 {
  0%, 100% { transform: rotateY(-15deg) rotateX(-2deg) translate3d(0, 0, 80px); }
  50% { transform: rotateY(-15deg) rotateX(-2deg) translate3d(10px, -12px, 80px); }
}
@keyframes card-float-5 {
  0%, 100% { transform: rotateY(-8deg) rotateX(5deg) translate3d(0, 0, 40px); }
  50% { transform: rotateY(-8deg) rotateX(5deg) translate3d(-5px, -10px, 40px); }
}
/* Legacy alias retained for compat */
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-marquee {
  margin-top: 60px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.marquee-track {
  display: flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-weight: 600; color: var(--muted);
  font-size: .95rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== Stats ========== */
.stats { padding: 70px 0; border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.stat span { font-size: .95rem; color: var(--muted); font-weight: 500; }

/* ========== Sections ========== */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-soft); }
.section-dark {
  background: var(--dark);
  color: white;
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(99, 102, 241, .15), transparent 50%),
              radial-gradient(circle at 80% 100%, rgba(14, 165, 164, .15), transparent 50%);
}
.section-dark > * { position: relative; }
.white { color: white; }
.white-muted { color: rgba(255, 255, 255, .7); }

.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 70px;
}
.eyebrow {
  display: inline-block; color: var(--primary-dark);
  font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 14px;
  padding: 6px 14px;
  background: var(--bg-alt);
  border-radius: 50px;
}
.eyebrow.light { background: rgba(255, 255, 255, .1); color: var(--primary-light); }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; }

/* ========== Grids ========== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ========== Service cards ========== */
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: all .35s var(--transition);
  position: relative; overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, var(--primary-light) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.service-card:hover .service-glow { opacity: .12; }
.service-card.featured {
  background: var(--gradient);
  color: white;
  border: none;
}
.service-card.featured h3, .service-card.featured p, .service-card.featured a { color: white; }
.service-card.featured .feat-list li { color: rgba(255, 255, 255, .9); }
.service-card.featured .ico { background: rgba(255, 255, 255, .2); }
.featured-tag {
  position: absolute; top: 20px; right: 20px;
  background: white; color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ico {
  width: 60px; height: 60px;
  background: var(--bg-alt);
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.ico-teal { background: rgba(14, 165, 164, .12); }
.ico-coral { background: rgba(244, 114, 182, .12); }
.ico-purple { background: rgba(139, 92, 246, .12); }
.ico-blue { background: rgba(59, 130, 246, .12); }
.ico-amber { background: rgba(245, 158, 11, .12); }
.ico-pink { background: rgba(236, 72, 153, .12); }

.service-card h3 { margin-bottom: 10px; }
.service-card > p { margin-bottom: 18px; }

.feat-list { list-style: none; margin: 18px 0; }
.feat-list li {
  font-size: .9rem; color: var(--text-2);
  padding: 6px 0;
}
.link-arrow {
  display: inline-block;
  font-weight: 600;
  position: relative;
  transition: all .25s;
}
.link-arrow:hover { transform: translateX(4px); }

/* ========== Steps (How it works) ========== */
.steps {
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.step-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.step-card h3 { color: white; margin-bottom: 10px; }
.step-card p { color: rgba(255, 255, 255, .7); }
.step-num {
  font-size: 3rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.step-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  position: relative;
}
.step-line::after {
  content: '→';
  position: absolute; top: -10px; right: -8px;
  color: rgba(255, 255, 255, .4);
  font-size: 1.2rem;
}

/* ========== Forms ========== */
.form-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 70px; align-items: center;
}
.form-grid.reverse { grid-template-columns: 1.15fr 1fr; }
.form-side h2 { margin: 14px 0 20px; }
.form-side > p { margin-bottom: 26px; font-size: 1.08rem; }

.check-list, .step-list { list-style: none; padding: 0; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; color: var(--text); font-weight: 500;
  font-size: .98rem;
}
.check {
  width: 24px; height: 24px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
  flex-shrink: 0;
}
.step-list li {
  display: flex; gap: 18px;
  padding: 14px 0;
  align-items: flex-start;
}
.step-list li strong {
  width: 40px; height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.step-list h4 { margin-bottom: 4px; font-size: 1rem; }
.step-list p { font-size: .9rem; }

.testimonial-mini {
  margin-top: 30px;
  padding: 20px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  display: flex; gap: 14px; align-items: flex-start;
}
.testimonial-mini p {
  font-style: italic; color: var(--text);
  font-size: .9rem; margin-bottom: 6px;
}
.testimonial-mini span { font-size: .8rem; color: var(--muted); }

.callout {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
}
.callout strong { color: var(--text); }
.callout span { font-size: .9rem; color: var(--muted); }

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

/* Form */
.form {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form h3 { margin-bottom: 8px; font-size: 1.5rem; }
.form-sub { color: var(--muted); margin-bottom: 26px; font-size: .92rem; }

.row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label {
  font-size: .85rem; font-weight: 600;
  margin-bottom: 8px; color: var(--text);
}
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  font-size: .95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: all .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 164, .12);
}
.field textarea { resize: vertical; }
.fine-print {
  text-align: center;
  font-size: .8rem; color: var(--muted);
  margin-top: 14px;
}

/* Form validation styles */
.req { color: #ef4444; font-weight: 700; margin-left: 2px; }
.err-msg {
  display: none;
  margin-top: 6px;
  font-size: .78rem;
  color: #ef4444;
  font-weight: 500;
  align-items: center;
  gap: 4px;
}
.err-msg::before { content: '⚠ '; font-size: .85rem; }
.field.invalid .err-msg { display: flex; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, .03);
}
.field.invalid input:focus,
.field.invalid select:focus,
.field.invalid textarea:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .12) !important;
}
.field.valid input:not(:placeholder-shown),
.field.valid select:valid,
.field.valid textarea:not(:placeholder-shown) {
  border-color: #10b981;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field.valid select:valid {
  background-position: right 36px center;
}

/* ========== Pricing ========== */
.pricing-grid { align-items: stretch; }
.price-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  border: 1.5px solid var(--border);
  position: relative;
  transition: all .3s;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.04);
}
.popular-tag {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.price-card h3 { margin-bottom: 14px; }
.price-tag {
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 4px;
}
.currency { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.amount { font-size: 3.5rem; font-weight: 900; color: var(--text); line-height: 1; }
.period { color: var(--muted); font-size: .95rem; margin-left: 6px; }
.price-sub { font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.price-features { list-style: none; margin-bottom: 28px; flex: 1; }
.price-features li {
  padding: 9px 0; font-size: .92rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li.muted-feat { color: var(--muted); }

/* ========== Offers ========== */
.offer-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1.5px solid var(--border);
  transition: all .35s var(--transition);
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--transition);
}
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.offer-card:hover::before { transform: scaleX(1); }
.offer-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary-dark);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.offer-card h3 { margin-bottom: 10px; }
.offer-card > p { margin-bottom: 18px; font-size: .95rem; }

/* ========== Testimonials ========== */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all .3s;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial .stars { font-size: 1.1rem; margin-bottom: 14px; display: block; }
.testimonial p {
  font-size: 1.05rem; color: var(--text); line-height: 1.6;
  margin-bottom: 22px;
}
.t-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 48px; height: 48px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.1rem;
}
.t-author strong { display: block; font-size: .95rem; }
.t-author span { font-size: .82rem; color: var(--muted); }

/* ========== Blog ========== */
.blog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .3s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-img {
  height: 200px;
  position: relative;
}
.blog-img-1 { background: linear-gradient(135deg, #0ea5a4, #06b6d4); }
.blog-img-2 { background: linear-gradient(135deg, #ec4899, #6366f1); }
.blog-img-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.blog-img::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.15) 0%, transparent 50%);
}
.blog-body { padding: 28px; }
.blog-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary-dark);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.blog-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.blog-card p { font-size: .92rem; margin-bottom: 14px; }

/* ========== Delivery features ========== */
.delivery-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-top: 30px;
}
.d-feat { display: flex; gap: 14px; align-items: flex-start; }
.d-icon {
  width: 44px; height: 44px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.d-feat strong { font-size: .95rem; display: block; margin-bottom: 2px; }
.d-feat p { font-size: .85rem; }

/* ========== FAQ ========== */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .3s;
}
.faq-item:hover { border-color: var(--primary); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  padding: 22px 26px;
  background: none; border: none;
  font-size: 1.05rem; font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-toggle {
  width: 32px; height: 32px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 600;
  color: var(--primary-dark);
  transition: transform .3s;
  flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--transition);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 26px 22px;
  color: var(--text-2);
}

/* ========== Contact ========== */
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.contact-item {
  display: flex; gap: 16px; align-items: center;
  padding: 16px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all .25s;
}
.contact-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}
.ico-sm {
  width: 48px; height: 48px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; margin-bottom: 2px; font-size: .95rem; }
.contact-item p { font-size: .9rem; }

/* ========== CTA ========== */
.cta-section { padding: 60px 0; }
.cta-card {
  position: relative;
  background: var(--gradient);
  border-radius: 32px;
  padding: 80px 50px;
  overflow: hidden;
  text-align: center;
  color: white;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  background: white; opacity: .1;
  border-radius: 50%;
  filter: blur(40px);
  top: -100px; left: -100px;
  animation: float-orb 8s ease-in-out infinite;
}
.cta-orb-2 { top: auto; left: auto; bottom: -100px; right: -100px; animation-delay: -4s; }
.cta-content { position: relative; max-width: 640px; margin: 0 auto; }
.cta-card h2 { color: white; margin-bottom: 14px; }
.cta-card .gradient-text {
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-card p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; margin-bottom: 30px; }
.cta-card .fine-print { color: rgba(255, 255, 255, .7); }

.newsletter {
  display: flex; gap: 10px;
  max-width: 460px; margin: 0 auto;
  background: white;
  padding: 6px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
}
.newsletter input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
}
.newsletter input:focus { outline: none; }
.newsletter button {
  padding: 12px 26px;
  border-radius: 50px;
  font-size: .9rem;
}

/* ========== Map ========== */
.map-section {
  padding: 0;
  background: var(--bg-soft);
}
.map-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-wrap iframe {
  display: block;
  filter: contrast(.95) saturate(1.05);
}
.map-overlay {
  position: absolute;
  top: 50%; left: 40px;
  transform: translateY(-50%);
  background: var(--card);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 320px;
  z-index: 5;
}
.map-overlay strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.map-overlay p {
  font-size: .92rem;
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .map-wrap iframe { height: 320px; }
  .map-overlay {
    position: static;
    transform: none;
    margin: -50px 18px 0;
    max-width: none;
    padding: 20px 22px;
  }
}

/* ========== Footer ========== */
.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px; padding-bottom: 50px;
  border-bottom: 1px solid #1e293b;
}
.footer h4 { color: white; margin-bottom: 18px; }
.footer a {
  display: block; color: #94a3b8;
  padding: 5px 0; font-size: .9rem;
}
.footer a:hover { color: white; }
.logo-light { color: white; margin-bottom: 16px; }
.footer-about { color: #94a3b8; font-size: .92rem; margin-bottom: 18px; max-width: 320px; }
.footer-address {
  font-style: normal;
  color: #94a3b8;
  font-size: .9rem;
  line-height: 1.9;
  margin-bottom: 18px;
}
.footer-address a { color: #cbd5e1; display: inline; padding: 0; }
.footer-address a:hover { color: white; }
.footer-hours {
  color: #94a3b8;
  font-size: .9rem;
  line-height: 1.4;
}
.footer-hours strong {
  color: white;
  font-weight: 600;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  background: #1e293b;
  border-radius: 10px;
  display: grid; place-items: center;
  padding: 0;
  font-weight: 700;
  transition: all .2s;
}
.socials a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 10px;
  font-size: .85rem; color: #64748b;
}
.footer-tag { font-style: italic; }

/* ========== Chat widget ========== */
.chat-bubble {
  position: fixed; bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  border: none;
  font-size: 1.7rem;
  box-shadow: var(--shadow-glow);
  z-index: 90;
  transition: all .25s;
}
.chat-bubble:hover { transform: scale(1.1); }
.chat-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--primary);
  opacity: .5;
  animation: chat-ping 2s ease-out infinite;
}
@keyframes chat-ping {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.6); opacity: 0; }
}
.chat-panel {
  position: fixed; bottom: 110px; right: 30px;
  width: 360px; max-width: calc(100vw - 60px);
  height: 480px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  z-index: 90;
  overflow: hidden;
  animation: slide-up .3s var(--transition);
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-panel.open { display: flex; }
.chat-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  background: var(--gradient);
  color: white;
}
.chat-head strong { display: block; font-size: .95rem; }
.online { font-size: .75rem; opacity: .9; }
.chat-close {
  background: rgba(255, 255, 255, .2);
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: white;
  font-size: .8rem;
}
.chat-body {
  flex: 1; padding: 18px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.chat-msg { display: flex; gap: 8px; align-items: flex-end; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-avatar {
  width: 28px; height: 28px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.chat-bubble-msg {
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 14px;
  font-size: .9rem;
  max-width: 75%;
  color: var(--text);
}
.chat-msg.user .chat-bubble-msg {
  background: var(--gradient); color: white;
}
.chat-msg.user .chat-avatar { background: var(--accent-2); }
.chat-input {
  display: flex; gap: 8px; padding: 14px;
  border-top: 1px solid var(--border);
}
.chat-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: inherit;
  font-size: .9rem;
  background: var(--bg);
  color: var(--text);
}
.chat-input input:focus { outline: none; border-color: var(--primary); }
.chat-input button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  border: none;
  font-size: 1.1rem;
}

/* ========== Scroll progress ========== */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  z-index: 200;
  transition: width .1s;
}

/* ========== Toast ========== */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--text); color: var(--bg);
  padding: 14px 26px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all .35s var(--transition);
  z-index: 1000;
  font-weight: 500;
  font-size: .92rem;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ========== Reveal animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--transition), transform .8s var(--transition);
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Responsive: A-to-Z Bulletproof ========== */

/* Prevent iOS zoom on form inputs (need 16px min) — handled in base form styles */

/* iPad landscape & small laptops (1024px - 1280px) */
@media (max-width: 1280px) {
  .container { max-width: 100%; padding: 0 32px; }
  .nav { gap: 22px; }
  .nav a { font-size: .9rem; }
}

/* iPad / Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
  h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .form-grid, .form-grid.reverse {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .form-grid.reverse > .form { order: 2; }
  .form-grid.reverse > .form-side { order: 1; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step-line { display: none; }
  .hero-grid { gap: 40px; }
  .hero-art { height: 460px; }
  .phone-mockup { width: 280px; height: 480px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
  .section { padding: 80px 0; }
  .delivery-features { grid-template-columns: 1fr 1fr; gap: 16px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: var(--card);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.open a { padding: 8px 0; font-size: 1rem; min-height: 44px; display: flex; align-items: center; }
  .hamburger { display: flex; }
}

/* Phones & small tablets (480px - 768px) */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  body { line-height: 1.6; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.2; }
  h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.2; }
  h3 { font-size: 1.2rem; }

  .hide-mobile { display: none !important; }

  /* Announce */
  .announce { font-size: .78rem; padding: 8px 0; }
  .announce-rotator { height: 40px; }
  .announce-slide {
    white-space: normal;
    line-height: 1.3;
    padding: 0 12px;
    font-size: .78rem;
  }
  .announce::before, .announce::after { width: 20px; }

  /* Header */
  .nav-wrap { height: 64px; gap: 12px; }
  .logo { font-size: 1.1rem; }
  .logo-mark { width: 32px; height: 32px; font-size: 1.1rem; border-radius: 9px; }
  .theme-toggle { width: 36px; height: 36px; font-size: 1rem; }

  /* Hero */
  .hero { padding: 40px 0 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .lead { margin: 0 auto 30px; font-size: 1rem; }
  .hero-cta { justify-content: center; gap: 10px; }
  .trust-badges { justify-content: center; flex-wrap: wrap; gap: 14px; }
  .badge { font-size: .78rem; padding: 6px 14px; margin-bottom: 18px; }

  .hero-art {
    height: 460px;
    margin: 0 auto;
  }
  .phone-mockup {
    width: 260px; height: 460px;
    border-radius: 36px;
    border-width: 6px;
  }
  .phone-screen { border-radius: 26px; padding: 16px 12px; }
  .float-card { padding: 10px 14px; font-size: .8rem; }
  .f-card-1 { bottom: 30px; left: -10px; }
  .f-card-2 { top: 50px; right: -8px; }
  .hero-marquee { margin-top: 40px; }
  .marquee-track { font-size: .85rem; gap: 22px; }
  .grid-bg { background-size: 40px 40px; }

  /* Stats */
  .stats { padding: 50px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat strong { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  /* Sections */
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 50px; }
  .section-head h2 br { display: none; }

  /* Grids */
  .grid-3 { grid-template-columns: 1fr; gap: 18px; }

  /* Service & offer cards */
  .service-card, .offer-card { padding: 28px 22px; }
  .service-card.featured { padding: 32px 22px; }
  .featured-tag, .offer-tag { font-size: .65rem; }
  .ico { width: 52px; height: 52px; font-size: 1.5rem; margin-bottom: 16px; }

  /* Form layout */
  .form-grid, .form-grid.reverse { gap: 36px; }
  .form { padding: 26px 20px; border-radius: 18px; }
  .form h3 { font-size: 1.25rem; }
  .form-sub { font-size: .85rem; margin-bottom: 20px; }
  .row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .field { margin-bottom: 14px; }
  .field input, .field select, .field textarea {
    padding: 14px 14px;
    font-size: 16px; /* prevent iOS zoom */
  }

  /* Form-side mini testimonial */
  .testimonial-mini { padding: 16px; }
  .testimonial-mini p { font-size: .85rem; }

  /* Step list */
  .step-list li { gap: 12px; padding: 10px 0; }
  .step-list li strong { width: 36px; height: 36px; }
  .step-list h4 { font-size: .95rem; }
  .step-list p { font-size: .85rem; }

  /* Delivery features */
  .delivery-features { grid-template-columns: 1fr; gap: 14px; }

  /* Steps cards (how it works) */
  .step-card { padding: 28px 22px; }
  .step-num { font-size: 2.4rem; }

  /* Testimonials */
  .testimonial { padding: 24px 22px; }
  .testimonial p { font-size: .95rem; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Blog */
  .blog-img { height: 160px; }
  .blog-body { padding: 22px; }
  .blog-card h3 { font-size: 1.1rem; }

  /* FAQ */
  .faq-q { padding: 18px 20px; font-size: .98rem; }
  .faq-toggle { width: 28px; height: 28px; font-size: 1.05rem; }
  .faq-a p { padding: 0 20px 20px; font-size: .92rem; }

  /* Contact */
  .contact-item { padding: 14px; gap: 12px; }
  .ico-sm { width: 40px; height: 40px; font-size: 1.1rem; }

  /* CTA */
  .cta-section { padding: 40px 0; }
  .cta-card { padding: 50px 24px; border-radius: 22px; }
  .cta-card h2 { font-size: 1.7rem; }
  .cta-card p { font-size: .95rem; }

  /* Newsletter */
  .newsletter {
    flex-direction: column;
    padding: 10px;
    border-radius: 18px;
    gap: 8px;
  }
  .newsletter input,
  .newsletter button {
    width: 100%;
    border-radius: 12px;
    padding: 14px 16px;
  }

  /* Footer */
  .footer { padding: 60px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Buttons — bigger touch targets */
  .btn { padding: 13px 24px; min-height: 44px; }
  .btn-lg { padding: 15px 28px; font-size: 1rem; }
  .btn-sm { padding: 10px 18px; min-height: 40px; }

  /* Chat widget */
  .chat-bubble {
    width: 56px; height: 56px;
    bottom: 20px; right: 20px;
    font-size: 1.5rem;
  }
  .chat-panel {
    bottom: 86px;
    right: 12px; left: 12px;
    max-width: none;
    height: 70vh;
    max-height: 540px;
    border-radius: 18px;
  }

  /* Toast */
  .toast {
    bottom: 90px;
    font-size: .85rem;
    padding: 12px 22px;
    max-width: calc(100vw - 40px);
    text-align: center;
  }

  /* Trust badges */
  .trust-badges { gap: 12px; }
  .trust-divider { display: none; }
  .trust-item { width: 100%; align-items: center; }

  /* Callout */
  .callout { padding: 16px 18px; }

  /* Hover states off — use active for touch */
  .service-card:hover, .offer-card:hover, .blog-card:hover,
  .testimonial:hover, .contact-item:hover {
    transform: none;
  }
  .service-card:active, .offer-card:active {
    transform: scale(.98);
  }
}

/* Small phones (< 480px) */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .lead { font-size: .95rem; }
  .hero { padding: 30px 0 50px; }
  .hero-art { height: 420px; }
  .phone-mockup { width: 230px; height: 420px; }
  .float-card { display: none; }
  .f-card-2 { display: none; }
  .badge { font-size: .72rem; padding: 5px 12px; }
  .stats { padding: 40px 0; }
  .stats-grid { gap: 24px; }
  .section { padding: 50px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: .92rem; }
  .form { padding: 22px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { flex-direction: column; width: 100%; }
  .nav-actions .btn { display: none; }
  .featured-tag { top: 14px; right: 14px; }
  .price-card { padding: 32px 22px; }
  .step-card { padding: 24px 18px; }
}

/* Very small phones (< 360px) */
@media (max-width: 360px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .container { padding: 0 12px; }
  .form { padding: 18px 14px; }
  .phone-mockup { width: 210px; height: 380px; }
  .hero-art { height: 380px; }
}

/* Landscape phones — keep things tighter */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 30px 0; }
  .hero-art { height: 320px; }
  .phone-mockup { width: 200px; height: 340px; }
  .chat-panel { height: 80vh; }
}

/* High-density screens — sharper images */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .grid-bg { opacity: .15; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Print styles */
@media print {
  .header, .announce, .chat-bubble, .chat-panel,
  .scroll-progress, .cursor-dot, .cursor-ring,
  .hero-bg, .hero-marquee, .footer { display: none !important; }
  body { background: white; color: black; }
  .section { padding: 30px 0; page-break-inside: avoid; }
}
