/* ═══════════════════════════════════════════
   PIKSEL STUDIO V3 — Emerald/Gold Premium
   Globe + Particles + Blur Reveals + Smooth
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #060608;
  --surface: #0c0c14;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --text: #f0f0f5;
  --muted: #8888a0;
  --dim: #55556a;
  --emerald: #10B981;
  --gold: #F59E0B;
  --emerald-dim: rgba(16,185,129,0.15);
  --gold-dim: rgba(245,158,11,0.15);
  --radius: 32px;
  --radius-sm: 16px;
  --font: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--body); background: #ffffff; color: var(--text); overflow-x: hidden; cursor: none; }
.page-wrapper { background: var(--bg); border-radius: 20px; margin: 6px; min-height: 100vh; overflow: hidden; position: relative; }

/* ── NOISE GRAIN OVERLAY ── */
/* Noise grain moved inside page-wrapper */

/* ── FLOATING ORBS — inside wrapper only ── */
.page-wrapper::after {
  content: ''; position: fixed; top: 20%; left: 10%; z-index: 0; pointer-events: none;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.08), transparent 70%);
  filter: blur(80px);
  animation: orbFloat1 12s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(100px, 60px); } }

.orb-gold {
  position: fixed; top: 50%; right: 5%; z-index: 0; pointer-events: none;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.06), transparent 70%);
  filter: blur(80px);
  animation: orbFloat2 15s ease-in-out infinite;
}
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-80px, -40px); } }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.gradient { background: linear-gradient(135deg, var(--emerald), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── PROMO BANNER — pushes everything down ── */
.promo-banner { position: relative; z-index: 200; background: linear-gradient(90deg, var(--emerald), var(--gold)); padding: 12px 20px; text-align: center; font-family: var(--font); font-size: 0.85rem; color: #fff; border-radius: 20px 20px 0 0; }
.promo-code-inline { font-weight: 700; background: #fff; color: var(--bg); padding: 2px 10px; border-radius: 6px; margin-left: 6px; cursor: pointer; }
.promo-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.2rem; cursor: pointer; margin-left: 12px; }

/* ── CURSOR ── */
.cursor { position: fixed; width: 20px; height: 20px; border: 2px solid var(--emerald); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); mix-blend-mode: difference; transition: transform 0.15s, background 0.2s, width 0.2s, height 0.2s; }
.cursor.hover { width: 50px; height: 50px; background: rgba(16,185,129,0.12); border-color: var(--gold); }

/* ── PRELOADER ── */
.preloader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-direction: column; transition: opacity 0.8s, visibility 0.8s; }
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { font-family: var(--font); font-size: 2.2rem; font-weight: 800; background: linear-gradient(135deg, var(--emerald), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.preloader-bar { width: 200px; height: 2px; background: rgba(255,255,255,0.08); margin-top: 30px; border-radius: 2px; overflow: hidden; }
.preloader-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--emerald), var(--gold)); border-radius: 2px; transition: width 0.3s; }

/* ── PARTICLES ── */
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── NAV ── */
.nav { position: sticky; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 48px; display: flex; align-items: center; justify-content: space-between; transition: all 0.5s cubic-bezier(0.16,1,0.3,1); background: rgba(6,6,8,0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--glass-border); }
.nav.scrolled { background: rgba(6,6,8,0.88); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 16px 48px; border-bottom: 1px solid var(--glass-border); }
.nav-logo { font-family: var(--font); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.nav-logo span { color: var(--emerald); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-family: var(--font); font-size: 0.85rem; font-weight: 500; color: var(--muted); position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--emerald), var(--gold)); transition: width 0.4s cubic-bezier(0.16,1,0.3,1); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-family: var(--font); font-size: 0.85rem; font-weight: 600; padding: 12px 28px; border-radius: 50px; background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--text); transition: all 0.4s; }
.nav-cta:hover { background: var(--emerald); border-color: var(--emerald); box-shadow: 0 0 30px rgba(16,185,129,0.3); }

/* ═══ HERO IMMERSIVE ═══ */
.hero { height: 100vh; min-height: 700px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(16,185,129,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(245,158,11,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(16,185,129,0.03) 0%, transparent 70%);
  animation: meshShift 20s ease-in-out infinite;
}
@keyframes meshShift {
  0%,100% { transform: scale(1) rotate(0deg); }
  33% { transform: scale(1.05) rotate(1deg); }
  66% { transform: scale(0.98) rotate(-1deg); }
}

/* Scroll-driven canvas (Apple technique) */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6,6,8,0.3) 0%, rgba(6,6,8,0.1) 40%, rgba(6,6,8,0.7) 100%); pointer-events: none; }

.hero-content { position: relative; z-index: 3; padding: 0 20px; max-width: 900px; text-align: center; width: 100%; }
.hero-title { font-family: var(--font); font-size: clamp(2.2rem, 7.5vw, 6.5rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; position: relative; word-break: break-word; overflow-wrap: break-word; }
/* Glow behind title */
.hero-title::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 200px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(16,185,129,0.12), transparent 70%);
  filter: blur(60px); z-index: -1;
  animation: titleGlow 4s ease-in-out infinite;
}
@keyframes titleGlow { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

.hero-sub { font-size: clamp(0.85rem, 2.5vw, 1.15rem); color: var(--muted); max-width: 550px; margin: 24px auto 0; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* Force hero elements visible (GSAP animates them out on scroll, not in) */
.hero-title, .hero-sub, .hero-ctas, .scroll-indicator, .hero-content { opacity: 1 !important; visibility: visible !important; }

/* ── ABOUT CONTENT (inside hero, absolute positioned — GSAP reveals it) ── */
.about-content { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 800px; margin: 0 auto; padding: 0 48px; text-align: center; opacity: 0; pointer-events: none; }
.about-content.visible { pointer-events: auto; }
.about-text { font-family: var(--font); font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; line-height: 1.6; color: rgba(230,235,220,0.95); text-shadow: 0 2px 30px rgba(0,0,0,0.7); }
.about-text strong { color: #fff; font-weight: 700; }
.about-cta { margin-top: 40px; }

/* ── BUTTONS ── */
.btn { font-family: var(--font); font-weight: 600; font-size: 0.92rem; padding: 15px 34px; border-radius: 50px; border: none; cursor: none; display: inline-flex; align-items: center; gap: 10px; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.btn-primary { background: linear-gradient(135deg, var(--emerald), var(--gold)); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 50px rgba(16,185,129,0.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { border-color: var(--emerald); background: var(--emerald-dim); }

/* ── SCROLL INDICATOR ── */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-indicator span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--dim); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--emerald), transparent); animation: scrollAnim 2s infinite; }
@keyframes scrollAnim { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ═══ ABOUT SECTION (standalone, after hero) ═══ */
.section-about {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(16,185,129,0.03) 50%, var(--bg) 100%);
}
.about-section-content {
  max-width: 800px;
  margin: 48px auto 0;
  text-align: center;
}
.about-section-text {
  font-size: 1.15rem;
  color: rgba(200, 205, 215, 0.9);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-section-text strong {
  color: var(--text);
  font-weight: 600;
}
.about-section-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 48px;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.about-stat-number {
  font-family: var(--font);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
}
.about-stat-label {
  font-size: 0.82rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font);
  font-weight: 500;
}

/* ── SHOWCASE — 3D Floating Sites ── */
.showcase {
  padding: clamp(120px, 16vh, 200px) 32px clamp(100px, 12vh, 160px);
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  perspective: 1200px;
  background: var(--bg);
}
.showcase-header {
  text-align: center;
  margin-bottom: clamp(80px, 10vh, 130px);
}
.showcase-sites {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 20px;
}

/* Individual site card */
.site-card {
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-card:hover {
  z-index: 3;
}

/* Site frame — the video container */
.site-frame {
  width: clamp(300px, 30vw, 400px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a14;
  position: relative;
  will-change: transform;
}
.site-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Border overlay */
.site-frame-border {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

/* Colored glow under each site */
.site-glow {
  position: absolute;
  bottom: -20px;
  left: 15%;
  right: 15%;
  height: 40px;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.site-card:hover .site-glow { opacity: 1; }
.site-glow-emerald { background: rgba(16, 185, 129, 0.25); }
.site-glow-rose { background: rgba(183, 110, 121, 0.25); }
.site-glow-terracotta { background: rgba(196, 112, 74, 0.25); }

/* Label */
.site-label {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── 3D Perspective per card ── */
/* Left card: tilted left with slight rotation */
.site-card-left {
  transform: perspective(800px) rotateY(8deg) rotateX(3deg) scale(0.92);
}
.site-card-left:hover {
  transform: perspective(800px) rotateY(3deg) rotateX(1deg) scale(0.96);
}
.site-card-left .site-frame {
  box-shadow: 8px 20px 50px rgba(0,0,0,0.45), 0 0 40px rgba(16,185,129,0.06);
}

/* Center card: slightly elevated, facing forward */
.site-card-center {
  transform: perspective(800px) rotateX(4deg) scale(1.05);
  z-index: 2;
}
.site-card-center:hover {
  transform: perspective(800px) rotateX(1deg) scale(1.08);
}
.site-card-center .site-frame {
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 60px rgba(183,110,121,0.08);
}

/* Right card: tilted right */
.site-card-right {
  transform: perspective(800px) rotateY(-8deg) rotateX(3deg) scale(0.92);
}
.site-card-right:hover {
  transform: perspective(800px) rotateY(-3deg) rotateX(1deg) scale(0.96);
}
.site-card-right .site-frame {
  box-shadow: -8px 20px 50px rgba(0,0,0,0.45), 0 0 40px rgba(196,112,74,0.06);
}

/* ═══ SECTIONS ═══ */
.section { padding: clamp(120px, 16vh, 200px) 48px; position: relative; z-index: 1; max-width: 1300px; margin: 0 auto; }

/* Alternating section backgrounds — subtle warmth */
.section:nth-of-type(odd) {
  background: linear-gradient(180deg, #080810 0%, rgba(16,185,129,0.04) 30%, rgba(245,158,11,0.02) 70%, #080810 100%);
}
.section:nth-of-type(even) {
  background: linear-gradient(180deg, #0a0a14 0%, rgba(16,185,129,0.03) 50%, #0a0a14 100%);
}

/* Gradient divider line between sections */
.section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald), var(--gold), transparent);
  opacity: 0.2;
}
.section:first-of-type::before { display: none; }

.section-header { margin-bottom: 24px; }
.section-tag { font-family: var(--font); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: var(--emerald); }
.section-title { font-family: var(--font); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 12px; line-height: 1.1; }
.section-desc { font-size: 1.05rem; color: var(--muted); margin-top: 14px; max-width: 550px; line-height: 1.7; }
.section-subtitle { font-family: var(--font); font-size: 1.4rem; font-weight: 700; margin-bottom: 32px; }

/* ── PARALLAX PERFORMANCE — GPU acceleration ── */
.site-card, .card, .folio-card-3d, .solution-card, .pricing-card, .promo-section,
.section-title, .about-stat, .example, .contact-info, .contact-form,
.folio-panel, .portfolio-panels {
  will-change: transform, opacity;
}

/* ── SECTION STACKING — prevent overlaps ── */
.showcase, .portfolio-section, .section, .assistant {
  position: relative;
  z-index: 1;
  background: var(--bg); /* Solid bg prevents bleed-through */
}

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(80px) scale(0.92); filter: blur(12px); transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1), transform 1.2s cubic-bezier(0.16,1,0.3,1), filter 1s ease; }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* Title clip reveal */
.title-reveal { overflow: hidden; }
.title-reveal > * { transform: translateY(110%); transition: transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.title-reveal.visible > * { transform: translateY(0); }

/* ── CARDS (SERVICES) ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 40px 32px; position: relative; overflow: hidden; transition: all 0.5s cubic-bezier(0.16,1,0.3,1); display: flex; flex-direction: column; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--emerald), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s; }
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-8px); border-color: rgba(16,185,129,0.25); box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(16,185,129,0.08); }
.card-featured { border-color: rgba(16,185,129,0.3); background: linear-gradient(180deg, var(--emerald-dim), var(--glass)); }
.card-tag { font-family: var(--font); font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--emerald); display: block; margin-bottom: 14px; }
.card h3 { font-family: var(--font); font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.card li { font-size: 0.85rem; color: var(--muted); padding: 5px 0 5px 18px; position: relative; }
.card li::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); transform: translateY(-50%); }
.card-price { font-family: var(--font); font-weight: 800; }
.card-price .old { font-size: 0.95rem; color: var(--dim); text-decoration: line-through; margin-right: 8px; }
.card-price .current { font-size: 1.9rem; background: linear-gradient(135deg, var(--emerald), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.popular { position: absolute; top: 18px; right: 18px; font-family: var(--font); font-size: 0.58rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 14px; border-radius: 50px; background: linear-gradient(135deg, var(--emerald), var(--gold)); color: #fff; }

/* ── ADDONS ── */
.addons { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.addon { font-family: var(--font); font-size: 0.85rem; color: var(--muted); padding: 12px 24px; border-radius: 50px; border: 1px solid var(--glass-border); background: var(--glass); }
.addon span { color: var(--emerald); font-weight: 700; margin-left: 8px; }

/* ── PORTFOLIO — Native Horizontal Scroll ── */
.portfolio-section {
  position: relative;
  z-index: 1;
  padding: clamp(120px, 16vh, 200px) 0 clamp(100px, 12vh, 160px);
  background: var(--bg);
}
.portfolio-header {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
  margin-bottom: 48px;
}
.portfolio-track {
  overflow: visible;
  width: 100%;
}
.portfolio-panels {
  display: flex;
  gap: 28px;
  padding: 0 48px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.portfolio-panels::-webkit-scrollbar { display: none; }
.folio-panel {
  flex-shrink: 0;
  width: clamp(320px, 36vw, 480px);
  perspective: 800px;
  scroll-snap-align: center;
}

/* 3D Card */
.folio-card-3d {
  width: 100%;
  aspect-ratio: 16/11;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s;
  will-change: transform;
}
.folio-card-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.folio-card-3d:hover {
  transform: rotateY(-3deg) rotateX(2deg) translateZ(10px);
  box-shadow: 10px 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(16,185,129,0.06);
}

/* Overlay info */
.folio-overlay-3d {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,6,8,0.85) 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s;
}
.folio-card-3d:hover .folio-overlay-3d { opacity: 1; }
.folio-overlay-3d h3 { font-family: var(--font); font-size: 1.4rem; font-weight: 700; color: #fff; }
.folio-overlay-3d p { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
.folio-tag {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald);
  margin-bottom: 8px;
}

/* CTA card */
.folio-cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald-dim), var(--glass));
  border-color: rgba(16,185,129,0.2);
}
.folio-cta-card:hover {
  transform: rotateY(3deg) rotateX(-2deg) translateZ(15px);
  box-shadow: -10px 20px 50px rgba(0,0,0,0.4), 0 0 50px rgba(16,185,129,0.12);
}
.folio-cta-inner { text-align: center; padding: 40px 28px; }

/* Progress bar */
.portfolio-progress {
  max-width: 200px;
  height: 2px;
  background: var(--glass-border);
  margin: 32px auto 0;
  border-radius: 2px;
  overflow: hidden;
}
.portfolio-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  border-radius: 2px;
  transition: width 0.1s;
}

/* ── ASSISTANT IA ── */
.assistant { background: linear-gradient(180deg, var(--bg) 0%, rgba(16,185,129,0.03) 50%, var(--bg) 100%); }
.assistant-problem { text-align: center; margin: 60px auto; max-width: 600px; }
.problem-stat { font-family: var(--font); font-size: 6rem; font-weight: 900; background: linear-gradient(135deg, var(--emerald), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.assistant-problem p { font-size: 1.1rem; color: var(--muted); line-height: 1.7; margin-top: 16px; }
.assistant-solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 60px 0; }
.solution-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: all 0.4s; }
.solution-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-6px); }
.solution-icon { font-size: 2.5rem; margin-bottom: 16px; }
.solution-card h3 { font-family: var(--font); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.solution-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

.assistant-steps { text-align: center; margin: 60px 0; }
.steps-grid { display: flex; gap: 40px; justify-content: center; align-items: flex-start; }
.step { text-align: center; max-width: 200px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald), var(--gold)); color: #fff; font-family: var(--font); font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

.assistant-examples { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 40px 0; }
.example { font-size: 0.9rem; color: var(--muted); padding: 12px 22px; border-radius: 50px; border: 1px solid var(--glass-border); background: var(--glass); transition: border-color 0.3s; }
.example:hover { border-color: rgba(16,185,129,0.3); }

.assistant-pricing { display: flex; gap: 24px; justify-content: center; margin: 60px 0; }
.pricing-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 40px 36px; text-align: center; min-width: 260px; position: relative; transition: all 0.4s; }
.pricing-card:hover { transform: translateY(-6px); }
.pricing-featured { border-color: rgba(16,185,129,0.4); background: linear-gradient(180deg, var(--emerald-dim), var(--glass)); }
.pricing-card h3 { font-family: var(--font); font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.pricing-amount { font-family: var(--font); font-size: 3rem; font-weight: 900; background: linear-gradient(135deg, var(--emerald), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pricing-amount span { font-size: 1rem; }
.pricing-card ul { list-style: none; margin-top: 20px; text-align: left; }
.pricing-card li { font-size: 0.88rem; color: var(--muted); padding: 6px 0 6px 18px; position: relative; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }

.assistant-cta { text-align: center; margin-top: 40px; }
.assistant-cta p { color: var(--muted); margin-bottom: 20px; }

/* ── PROMO ── */
.promo-section {
  margin: 0 48px; border-radius: var(--radius); padding: 60px; text-align: center;
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(245,158,11,0.06));
  border: 1px solid rgba(16,185,129,0.2);
  position: relative; overflow: hidden;
}
.promo-section::before {
  content: ''; position: absolute; inset: -2px; z-index: -1;
  border-radius: var(--radius);
  background: conic-gradient(from 0deg, var(--emerald), var(--gold), var(--emerald), var(--gold), var(--emerald));
  animation: promoGlow 4s linear infinite;
  opacity: 0.3;
  filter: blur(8px);
}
@keyframes promoGlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.promo-content h2 { font-family: var(--font); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.promo-content p { color: var(--muted); margin-bottom: 28px; }
.promo-code { color: var(--emerald); font-family: var(--font); background: var(--emerald-dim); padding: 4px 14px; border-radius: 8px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
.contact-info h3 { font-family: var(--font); font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.contact-links { display: flex; flex-direction: column; gap: 0; }
.contact-links a { display: flex; align-items: center; gap: 12px; padding: 14px 0; color: var(--muted); border-bottom: 1px solid var(--glass-border); transition: color 0.3s; }
.contact-links a:hover { color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea, .contact-form select { font-family: var(--body); font-size: 0.95rem; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--glass-border); color: var(--text); outline: none; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--emerald); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form select { cursor: pointer; }
.contact-form select option { background: var(--surface); }

/* ── AUDIT SECTION ── */
.audit-section {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(16,185,129,0.04) 50%, var(--bg) 100%);
}
.audit-form-wrapper {
  max-width: 700px;
  margin: 48px auto 0;
}
.audit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.audit-form-row {
  display: flex;
  gap: 14px;
}
.audit-form input[type="url"],
.audit-form input[type="text"],
.audit-form input[type="email"] {
  flex: 1;
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}
.audit-form input:focus {
  border-color: var(--emerald);
}
.audit-submit {
  white-space: nowrap;
  flex-shrink: 0;
}
.audit-status {
  text-align: center;
  font-family: var(--font);
  font-size: 0.9rem;
  min-height: 24px;
  color: var(--emerald);
}
.audit-status.error { color: #EF4444; }
.audit-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
  font-family: var(--font);
  font-size: 0.78rem;
  color: var(--dim);
}
@media (max-width: 600px) {
  .audit-form-row { flex-direction: column; }
  .audit-trust { flex-direction: column; align-items: center; gap: 10px; }
}

/* ── FOOTER ── */
.footer { padding: 40px 48px; border-top: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.footer-brand { font-size: 0.82rem; color: var(--dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.78rem; color: var(--dim); transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }

/* ═══ RESPONSIVE ═══ */

/* ── TABLET (max 900px) ── */
@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .page-wrapper { margin: 4px; border-radius: 16px; }
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 0.8rem; padding: 10px 20px; }
  .section { padding: clamp(60px, 8vh, 100px) 24px; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.5rem) !important; }
  .hero-content { padding: 0 24px; }
  .hero-sub { font-size: 1rem; }
  .about-content { padding: 0 24px; }
  .about-text { font-size: clamp(1.1rem, 2.2vw, 1.5rem); }
  .services-grid, .assistant-solutions { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase { padding: 40px 20px 60px; }
  .showcase-sites { flex-direction: column; gap: 32px; }
  .site-card-left, .site-card-right { transform: perspective(800px) rotateY(0deg) rotateX(3deg) scale(1); }
  .site-card-center { transform: perspective(800px) rotateX(3deg) scale(1); }
  .site-frame { width: min(90vw, 400px); }
  /* Portfolio: stack vertically on tablet */
  .portfolio-panels { flex-wrap: wrap; overflow-x: visible; scroll-snap-type: none; padding: 0 20px; gap: 20px; }
  .folio-panel { width: calc(50% - 10px); }
  .portfolio-progress { display: none; }
  .portfolio-header { padding: 0 20px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .steps-grid { flex-direction: column; align-items: center; }
  .assistant-pricing { flex-direction: column; align-items: center; }
  .promo-section { margin: 0 20px; padding: 40px 24px; }
  .footer { flex-direction: column; gap: 16px; text-align: center; padding: 30px 20px; }
  .about-section-stats { flex-direction: column; gap: 32px; }
  .section-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .problem-stat { font-size: 4rem; }
}

/* ── MOBILE (max 600px) ── */
@media (max-width: 600px) {
  body { padding: 0; }
  .page-wrapper { margin: 3px; border-radius: 14px; }
  .nav { padding: 12px 16px; border-radius: 50px; }
  .nav-cta { font-size: 0.75rem; padding: 8px 16px; }
  .hero { min-height: 85vh; }
  .hero-content { padding: 0 20px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem) !important; }
  .hero-title::before { width: 300px; height: 100px; }
  .hero-sub { font-size: 0.92rem; line-height: 1.6; }
  .hero-sub br { display: none; }
  .hero-ctas { gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; font-size: 0.88rem; padding: 14px 24px; }
  .about-content { padding: 0 20px; }
  .about-text { font-size: 1rem; line-height: 1.5; }
  .scroll-indicator { bottom: 20px; }
  .section { padding: clamp(50px, 8vh, 80px) 16px; }
  .section-header { margin-bottom: 4px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-desc { font-size: 0.92rem; }
  .card { padding: 28px 22px; border-radius: 20px; }
  .card h3 { font-size: 1.2rem; }
  .card-price .current { font-size: 1.5rem; }
  .addons { gap: 10px; }
  .addon { font-size: 0.78rem; padding: 10px 18px; }
  .showcase { padding: 30px 16px 50px; }
  .site-frame { width: min(85vw, 360px); border-radius: 10px; }
  .site-label { font-size: 0.7rem; }
  .portfolio-panels { flex-direction: column; overflow-x: visible; scroll-snap-type: none; padding: 0 16px; }
  .folio-panel { width: 100%; }
  .portfolio-header { padding: 0 16px; }
  .folio-card { border-radius: 20px; }
  .problem-stat { font-size: 3.2rem; }
  .assistant-problem p { font-size: 0.95rem; }
  .solution-card { padding: 28px 20px; border-radius: 20px; }
  .solution-icon { font-size: 2rem; }
  .solution-card h3 { font-size: 1.05rem; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }
  .assistant-examples { gap: 8px; }
  .example { font-size: 0.82rem; padding: 10px 16px; }
  .pricing-card { padding: 32px 24px; min-width: auto; width: 100%; border-radius: 20px; }
  .pricing-amount { font-size: 2.4rem; }
  .promo-section { margin: 0 12px; padding: 32px 20px; border-radius: 20px; }
  .promo-content h2 { font-size: clamp(1.2rem, 4vw, 1.6rem); }
  .contact-info h3 { font-size: 1.3rem; }
  .contact-form input, .contact-form textarea, .contact-form select { padding: 14px 16px; font-size: 0.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer { padding: 24px 16px; }
  .footer-brand { font-size: 0.75rem; }
  .footer-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .footer-links a { font-size: 0.72rem; }
  .about-section-stats { gap: 24px; }
  .about-stat-number { font-size: 2rem; }
  .about-stat-label { font-size: 0.7rem; }
  .promo-banner { font-size: 0.78rem; padding: 10px 40px 10px 12px; }
}

/* ── VERY SMALL (max 380px) ── */
@media (max-width: 380px) {
  .page-wrapper { margin: 2px; border-radius: 12px; }
  .hero-title { font-size: 1.8rem !important; }
  .hero-sub { font-size: 0.85rem; }
  .section-title { font-size: 1.3rem; }
  .site-frame { width: min(80vw, 300px); }
  .card { padding: 24px 18px; }
}
