/* ================================================================
   PICLIVO — MAIN STYLESHEET
   Dark theme default · Light theme via [data-theme="light"] on <html>
================================================================ */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS — DARK (default)
---------------------------------------------------------------- */
:root {
  /* Brand */
  --purple:       #7B4BBD;
  --purple-light: #9D6CD8;
  --purple-dark:  #5A348A;
  --pink:         #E91E8C;
  --cyan:         #4AC8E8;
  --orange:       #F5A624;

  /* Gradients */
  --grad:      linear-gradient(135deg, #7B4BBD, #E91E8C);
  --grad2:     linear-gradient(135deg, #4AC8E8, #7B4BBD);
  --grad3:     linear-gradient(135deg, #F5A624, #E91E8C);
  --grad-text: linear-gradient(135deg, #9D6CD8 0%, #E91E8C 50%, #F5A624 100%);

  /* Surfaces */
  --bg:   #07071A;
  --bg2:  #0E0E2A;
  --bg3:  #131335;
  --bg4:  #1A1A40;

  /* Borders */
  --border:  rgba(123, 75, 189, 0.20);
  --border2: rgba(123, 75, 189, 0.42);

  /* Text */
  --text:  #F0F0FA;
  --text2: #A0A0C0;
  --text3: #606080;

  /* Semantic */
  --nav-bg:     rgba(7, 7, 26, 0.88);
  --inp-bg:     #07071A;
  --surface:    rgba(255, 255, 255, 0.06);
  --surface2:   rgba(255, 255, 255, 0.03);
  --orb-op:     0.15;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.40);
  --card-hover:  0 16px 48px rgba(123,75,189,0.15);
}

/* ----------------------------------------------------------------
   2. DESIGN TOKENS — LIGHT
---------------------------------------------------------------- */
[data-theme="light"] {
  --bg:   #F7F5FF;
  --bg2:  #FFFFFF;
  --bg3:  #EDE8FF;
  --bg4:  #E0D8FF;

  --border:  rgba(123, 75, 189, 0.13);
  --border2: rgba(123, 75, 189, 0.32);

  --text:  #160C2E;
  --text2: #5A4870;
  --text3: #9580B8;

  --nav-bg:    rgba(247, 245, 255, 0.92);
  --inp-bg:    #EDE8FF;
  --surface:   rgba(123, 75, 189, 0.05);
  --surface2:  rgba(123, 75, 189, 0.03);
  --orb-op:    0.09;
  --card-shadow: 0 2px 16px rgba(123,75,189,0.08);
  --card-hover:  0 12px 40px rgba(123,75,189,0.18);
}

/* ----------------------------------------------------------------
   3. RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color .3s ease, color .3s ease;
}
img   { max-width: 100%; display: block; }

/* Smooth theme transition on key structural elements */
.bc, .pc-card, .modal, .mob-nav, .footer, .navbar,
.ai-phone, .hw-main, .hw-bar, .fc, .port-url, .port-site,
.ps-nav, .ai-stat-box, .hiw-num, .stats, .ai-sec,
.portfolio-wrap, .match-item, .soc-btn, .social-btn,
.fi, .footer-col, .footer-brand, .footer-bottom, .vfi {
  transition: background .3s ease, border-color .3s ease,
              box-shadow .3s ease, color .3s ease;
}

::-webkit-scrollbar            { width: 5px; }
::-webkit-scrollbar-track      { background: var(--bg); }
::-webkit-scrollbar-thumb      { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover{ background: var(--purple-light); }
::selection                    { background: rgba(123,75,189,.35); color: #fff; }

/* ----------------------------------------------------------------
   4. TYPOGRAPHY
---------------------------------------------------------------- */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.15; }
a { color: inherit; }

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

/* ----------------------------------------------------------------
   5. UTILITIES
---------------------------------------------------------------- */
.container  { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; position: relative; }
.grad-line  {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--pink), transparent);
  opacity: .22;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(123,75,189,.11);
  border: 1px solid rgba(123,75,189,.26);
  color: var(--purple-light);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--purple-light);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

/* Section header */
.sec-hdr         { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.sec-hdr h2      { font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 800; letter-spacing: -.022em; margin-bottom: 14px; }
.sec-hdr p       { font-size: 1rem; color: var(--text2); line-height: 1.75; }

/* ----------------------------------------------------------------
   6. BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: .92rem; font-weight: 600;
  cursor: pointer; transition: all .28s ease;
  border: none; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(123,75,189,.40);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(123,75,189,.58); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(123,75,189,.45);
}
.btn-outline:hover { background: rgba(123,75,189,.1); border-color: var(--purple); transform: translateY(-2px); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(123,75,189,.12); transform: translateY(-2px); }

.btn-white  { background: #fff; color: var(--purple); font-weight: 700; }
.btn-white:hover  { background: rgba(255,255,255,.88); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

.btn-woutline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-woutline:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }

.btn-lg { padding: 15px 34px; font-size: .98rem; border-radius: 13px; }
.btn-sm { padding: 8px 17px;  font-size: .82rem; border-radius: 8px;  }

/* ----------------------------------------------------------------
   7. THEME TOGGLE
---------------------------------------------------------------- */
.theme-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text2);
  font-size: .9rem;
  transition: all .22s ease;
  flex-shrink: 0;
}
.theme-btn:hover {
  background: rgba(123,75,189,.14);
  border-color: var(--border2);
  color: var(--purple-light);
  transform: rotate(20deg);
}

/* ----------------------------------------------------------------
   8. NAVBAR
---------------------------------------------------------------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 16px 0;
  transition: all .3s ease;
}
.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
}
.nav-inner    { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 38px; width: auto; max-width: 160px; object-fit: contain; display: block; }

.nav-links      { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a    { color: var(--text2); text-decoration: none; font-size: .88rem; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width .3s ease;
  border-radius: 2px;
}
.nav-links a:hover           { color: var(--text); }
.nav-links a:hover::after    { width: 100%; }

.nav-actions  { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s ease;
}

/* ----------------------------------------------------------------
   9. MOBILE NAV
---------------------------------------------------------------- */
.mob-nav {
  position: fixed; top: 0; right: -100%;
  width: 78%; max-width: 290px; height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 1500;
  padding: 72px 28px 28px;
  transition: right .3s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.mob-nav.open    { right: 0; }
.mob-nav a       { display: block; padding: 11px 0; color: var(--text2); text-decoration: none; font-size: .95rem; font-weight: 500; border-bottom: 1px solid var(--border); transition: color .2s; }
.mob-nav a:hover { color: var(--text); }
.mob-nav-btns    { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.mob-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.72);
  z-index: 1400; opacity: 0; visibility: hidden;
  transition: all .3s ease;
}
.mob-overlay.active { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------------
   10. HERO
---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
  background: var(--bg);
}
[data-theme="light"] .hero {
  background: linear-gradient(155deg, #F4F0FF 0%, #FFF3FB 55%, #EEFAFF 100%);
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,200,232,.1);
  border: 1px solid rgba(74,200,232,.25);
  color: var(--cyan);
  font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 22px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }

.hero h1    { font-size: clamp(2.4rem,4.5vw,4rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 22px; }
.hero-sub   { font-size: 1.05rem; color: var(--text2); max-width: 490px; line-height: 1.75; margin-bottom: 38px; }
.hero-btns  { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-proof      { display: flex; align-items: center; gap: 14px; }
.hero-avatars    { display: flex; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: #fff;
  margin-left: -8px;
}
.avatar:first-child     { margin-left: 0; }
.hero-proof-text        { font-size: .82rem; color: var(--text2); }
.hero-proof-text strong { color: var(--text); }

/* Hero visual / mockup */
.hero-visual   { position: relative; height: 480px; }
.hw-main {
  position: absolute; right: 0; top: 0; width: 100%; max-width: 420px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.hw-bar {
  background: var(--bg3);
  padding: 9px 14px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--border);
}
.hw-dot { width: 9px; height: 9px; border-radius: 50%; }
.hw-dot.r { background: #FF5F57; } .hw-dot.y { background: #FFBE2E; } .hw-dot.g { background: #27C93F; }
.hw-body { padding: 14px; }
.pg      { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-bottom: 10px; }
.pc      { aspect-ratio: 1; border-radius: 8px; position: relative; overflow: hidden; }
.pc:nth-child(1) { background: linear-gradient(135deg,#7B4BBD,#E91E8C); }
.pc:nth-child(2) { background: linear-gradient(135deg,#4AC8E8,#7B4BBD); }
.pc:nth-child(3) { background: linear-gradient(135deg,#F5A624,#E91E8C); }
.pc:nth-child(4) { background: linear-gradient(135deg,#E91E8C,#F5A624); }
.pc:nth-child(5) { background: linear-gradient(135deg,#7B4BBD,#4AC8E8); }
.pc:nth-child(6) { background: linear-gradient(135deg,#4AC8E8,#F5A624); }
.pc-tag {
  position: absolute; bottom: 4px; right: 4px;
  background: var(--grad); color: #fff;
  font-size: .5rem; padding: 2px 5px; border-radius: 3px; font-weight: 700;
  z-index: 2;
}
.pc-scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
}
.pc-scene-ico {
  font-size: 1.5rem;
  color: rgba(255,255,255,.55);
}
.pc-lbl {
  font-size: .45rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: .06em;
  margin-top: 3px;
}
.pc-face {
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px dashed rgba(255,255,255,.65);
  border-radius: 4px;
}
.ai-bar {
  background: rgba(74,200,232,.07);
  border: 1px solid rgba(74,200,232,.18);
  border-radius: 10px; padding: 9px 12px;
  display: flex; align-items: center; gap: 10px;
}
[data-theme="light"] .ai-bar {
  background: rgba(74,200,232,.09);
  border-color: rgba(74,200,232,.28);
}
.ai-ico { width: 30px; height: 30px; background: var(--grad2); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .8rem; color: #fff; flex-shrink: 0; }
.ai-prog-wrap  { flex: 1; }
.ai-prog-label { font-size: .65rem; font-weight: 700; color: var(--cyan); margin-bottom: 3px; }
.ai-prog       { height: 4px; background: var(--surface); border-radius: 2px; overflow: hidden; }
.ai-prog-bar   { height: 100%; background: var(--grad2); border-radius: 2px; animation: progAnim 2.5s ease-in-out infinite alternate; }
.ai-prog-pct   { font-size: .7rem; font-weight: 700; color: var(--purple-light); flex-shrink: 0; }

/* Floating cards */
.fc {
  position: absolute;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.3); z-index: 10;
}
[data-theme="light"] .fc { box-shadow: 0 6px 24px rgba(123,75,189,.14); }
.fc1 { top: 16px; left: -44px; animation: floatY 4s ease-in-out infinite; }
.fc2 { bottom: 72px; left: -28px; animation: floatY 4s ease-in-out infinite 2s; }
.fc-label { font-size: .65rem; color: var(--text2); margin-bottom: 3px; }
.fc-val   { font-size: .85rem; font-weight: 700; }
.fc-val.c1 { color: var(--cyan); }
.fc-val.c2 { color: var(--orange); }
.fc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(34,197,94,.12); color: #22C55E;
  font-size: .62rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; margin-top: 4px;
}

/* Gradient orbs */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(72px);
  opacity: var(--orb-op);
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite;
}
.orb1 { width: 400px; height: 400px; background: var(--purple); top: -100px; right: -80px; animation-delay: 0s; }
.orb2 { width: 300px; height: 300px; background: var(--pink);   bottom: -60px; left: -40px; animation-delay: 3s; }
.orb3 { width: 250px; height: 250px; background: var(--cyan);   top: 40%; left: 40%; animation-delay: 1.5s; }

/* ----------------------------------------------------------------
   11. STATS STRIP
---------------------------------------------------------------- */
.stats {
  padding: 36px 0;
  background: linear-gradient(90deg, rgba(123,75,189,.05), rgba(233,30,140,.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .stats { background: linear-gradient(90deg, rgba(123,75,189,.06), rgba(74,200,232,.05)); }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.stat       { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  height: 36px; width: 1px; background: var(--border);
}
.stat-num {
  font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 5px;
}
.stat-lbl { font-size: .82rem; color: var(--text2); }

/* ----------------------------------------------------------------
   12. FEATURES — BENTO GRID
---------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; }

.bc {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px;
  position: relative; overflow: hidden;
  transition: all .3s ease;
}
.bc:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--card-hover);
}
.bc.featured {
  background: linear-gradient(135deg, rgba(74,200,232,.07), rgba(123,75,189,.07));
  border-color: rgba(74,200,232,.22);
}
.bc.featured:hover { border-color: rgba(74,200,232,.48); }
[data-theme="light"] .bc.featured {
  background: linear-gradient(135deg, rgba(74,200,232,.06), rgba(123,75,189,.06));
  border-color: rgba(74,200,232,.28);
}

/* Column spans */
.s3 { grid-column: span 3;  } .s4 { grid-column: span 4;  } .s5 { grid-column: span 5;  }
.s6 { grid-column: span 6;  } .s7 { grid-column: span 7;  } .s8 { grid-column: span 8;  }

.bi { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
.bi-p  { background: rgba(123,75,189,.18); color: var(--purple-light); }
.bi-pk { background: rgba(233,30,140,.13); color: var(--pink); }
.bi-c  { background: rgba(74,200,232,.13); color: var(--cyan); }
.bi-o  { background: rgba(245,166,36,.13); color: var(--orange); }

.bc h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.bc p  { font-size: .84rem; color: var(--text2); line-height: 1.6; }

.bc-big-num { font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.bc-big-num.g1 { background: var(--grad);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bc-big-num.g2 { background: var(--grad2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bc-big-num.g3 { background: var(--grad3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.feat-pill {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 50px;
}
.fp-cyan   { background: rgba(74,200,232,.12);  border: 1px solid rgba(74,200,232,.22);  color: var(--cyan); }
.fp-purple { background: rgba(123,75,189,.12);  border: 1px solid rgba(123,75,189,.22);  color: var(--purple-light); }
.fp-orange { background: rgba(245,166,36,.10);  border: 1px solid rgba(245,166,36,.20);  color: var(--orange); }

/* ----------------------------------------------------------------
   13. HOW IT WORKS
---------------------------------------------------------------- */
.hiw-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; position: relative; }
.hiw-steps::before {
  content: '';
  position: absolute; top: 38px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.hiw-step       { text-align: center; position: relative; z-index: 1; }
.hiw-num {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800;
  transition: all .3s ease;
}
.hiw-num span                 { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hiw-step:hover .hiw-num      { background: var(--grad); border-color: transparent; box-shadow: 0 0 32px rgba(123,75,189,.5); }
.hiw-step:hover .hiw-num span { background: #fff; -webkit-background-clip: text; background-clip: text; }
.hiw-step h3  { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.hiw-step p   { font-size: .86rem; color: var(--text2); line-height: 1.7; }

/* ----------------------------------------------------------------
   14. AI SECTION
---------------------------------------------------------------- */
.ai-sec { position: relative; background: var(--bg2); }
.ai-sec::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(74,200,232,.03), rgba(123,75,189,.05));
  pointer-events: none;
}
[data-theme="light"] .ai-sec            { background: var(--bg3); }
[data-theme="light"] .ai-sec::before   { background: linear-gradient(135deg, rgba(74,200,232,.04), rgba(123,75,189,.04)); }

.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.ai-phone {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden;
  max-width: 280px; margin: 0 auto;
  box-shadow: 0 28px 72px rgba(0,0,0,.45);
}
[data-theme="light"] .ai-phone { box-shadow: 0 20px 60px rgba(123,75,189,.15); }
.ai-phone-hdr {
  background: var(--bg2); padding: 11px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  font-size: .7rem; color: var(--text2); font-weight: 600;
}
.ai-phone-body { padding: 14px; }

.selfie-box {
  background: linear-gradient(135deg, rgba(74,200,232,.08), rgba(123,75,189,.08));
  border: 2px dashed rgba(74,200,232,.28);
  border-radius: 14px; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 14px; position: relative; overflow: hidden;
}
[data-theme="light"] .selfie-box {
  background: linear-gradient(135deg, rgba(74,200,232,.1), rgba(123,75,189,.1));
  border-color: rgba(74,200,232,.35);
}
.face-ring {
  width: 90px; height: 110px;
  border: 3px solid var(--cyan); border-radius: 50% 50% 44% 44%;
  animation: faceAnim 3s ease-in-out infinite; position: relative;
}
.face-ring::before, .face-ring::after {
  content: '';
  position: absolute; width: 16px; height: 16px;
  border-color: var(--cyan); border-style: solid;
}
.face-ring::before { top: -3px; left: -3px;  border-width: 3px 0 0 3px; border-radius: 3px 0 0 0; }
.face-ring::after  { top: -3px; right: -3px; border-width: 3px 3px 0 0; border-radius: 0 3px 0 0; }
.scan       { position: absolute; width: 75%; height: 2px; background: linear-gradient(90deg,transparent,var(--cyan),transparent); animation: scanLine 2s linear infinite; }
.selfie-lbl { font-size: .68rem; color: var(--cyan); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.match-list { display: flex; flex-direction: column; gap: 7px; }
.match-item {
  background: rgba(123,75,189,.09); border: 1px solid rgba(123,75,189,.18);
  border-radius: 9px; padding: 9px 12px;
  display: flex; align-items: center; gap: 9px;
}
[data-theme="light"] .match-item { background: rgba(123,75,189,.06); border-color: rgba(123,75,189,.15); }
.match-thumb { width: 32px; height: 32px; border-radius: 7px; flex-shrink: 0; }
.match-thumb.t1 { background: var(--grad);  }
.match-thumb.t2 { background: var(--grad2); }
.match-thumb.t3 { background: var(--grad3); }
.match-info    { flex: 1; }
.match-lbl     { font-size: .62rem; color: var(--text2); margin-bottom: 2px; }
.match-bar-bg  { height: 4px; background: var(--surface); border-radius: 2px; }
.match-bar-fill{ height: 100%; border-radius: 2px; background: var(--grad); }
.match-pct     { font-size: .7rem; font-weight: 700; color: var(--purple-light); flex-shrink: 0; }

.ai-content h2  { font-size: clamp(1.9rem,3vw,2.6rem); font-weight: 800; letter-spacing: -.022em; margin-bottom: 18px; }
.ai-content p   { font-size: .96rem; color: var(--text2); line-height: 1.8; margin-bottom: 28px; }
.ai-bullets     { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.ai-bullet      { display: flex; align-items: flex-start; gap: 12px; }
.ai-bullet-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(74,200,232,.10); border: 1px solid rgba(74,200,232,.20);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: var(--cyan); flex-shrink: 0;
}
[data-theme="light"] .ai-bullet-icon { background: rgba(74,200,232,.12); border-color: rgba(74,200,232,.28); }
.ai-bullet-text h4 { font-size: .88rem; font-weight: 600; margin-bottom: 2px; }
.ai-bullet-text p  { font-size: .8rem; color: var(--text2); margin: 0; line-height: 1.5; }
.ai-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.ai-stat-box  { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; }
[data-theme="light"] .ai-stat-box { background: var(--bg); }
.ai-stat-n { font-family: 'Poppins',sans-serif; font-size: 1.6rem; font-weight: 800; background: var(--grad2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 3px; }
.ai-stat-l { font-size: .7rem; color: var(--text2); }

/* ----------------------------------------------------------------
   15. VIDEO SECTION
---------------------------------------------------------------- */
.vid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.vid-content h2  { font-size: clamp(1.9rem,3vw,2.6rem); font-weight: 800; letter-spacing: -.022em; margin-bottom: 18px; }
.vid-content p   { font-size: .96rem; color: var(--text2); line-height: 1.8; margin-bottom: 28px; }
.vid-feats       { display: flex; flex-direction: column; gap: 14px; }
.vid-feat        { display: flex; align-items: flex-start; gap: 12px; }
.vfi {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: var(--purple-light); flex-shrink: 0;
}
[data-theme="light"] .vfi { background: var(--bg3); }
.vid-feat-text h4 { font-size: .88rem; font-weight: 600; margin-bottom: 2px; }
.vid-feat-text p  { font-size: .8rem; color: var(--text2); line-height: 1.5; }

.vid-thumb {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 16/9; cursor: pointer;
  box-shadow: 0 24px 72px rgba(0,0,0,.55);
}
[data-theme="light"] .vid-thumb { box-shadow: 0 16px 56px rgba(123,75,189,.2); }
.vid-bg { width: 100%; height: 100%; background: linear-gradient(135deg, #0F0F35, #1A0A35); position: relative; }
[data-theme="light"] .vid-bg { background: linear-gradient(135deg, #EEE4FF, #FFE0F5); }
.vid-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,75,189,.25), rgba(233,30,140,.15), rgba(74,200,232,.1));
}
.vid-cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); gap: 3px; padding: 3px; opacity: .35; }
.vid-cell  { border-radius: 5px; }
.vid-cell:nth-child(1) { background: linear-gradient(135deg,#7B4BBD,#E91E8C); }
.vid-cell:nth-child(2) { background: linear-gradient(135deg,#4AC8E8,#7B4BBD); }
.vid-cell:nth-child(3) { background: linear-gradient(135deg,#F5A624,#E91E8C); }
.vid-cell:nth-child(4) { background: linear-gradient(135deg,#E91E8C,#7B4BBD); }
.vid-cell:nth-child(5) { background: linear-gradient(135deg,#7B4BBD,#4AC8E8); }
.vid-cell:nth-child(6) { background: linear-gradient(135deg,#4AC8E8,#F5A624); }
.play-wrap  { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 10; }
.play-btn {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--purple);
  transition: all .3s ease; box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.play-btn:hover { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(255,255,255,.12), 0 8px 28px rgba(0,0,0,.35); }
.play-btn i   { margin-left: 4px; }
.vid-caption  {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(7,7,26,.82); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 7px;
  padding: 7px 12px; font-size: .75rem; color: var(--text2); z-index: 10;
}
[data-theme="light"] .vid-caption { background: rgba(247,245,255,.88); }

/* ----------------------------------------------------------------
   16. PRICING
---------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }

.pc-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden;
  transition: all .3s ease; position: relative;
}
.pc-card:hover { transform: translateY(-5px); box-shadow: var(--card-hover); }
.pc-card.gold {
  background: linear-gradient(180deg, rgba(123,75,189,.1) 0%, var(--bg2) 55%);
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple), 0 14px 44px rgba(123,75,189,.2);
  transform: scale(1.04);
}
.pc-card.gold:hover { transform: scale(1.04) translateY(-5px); box-shadow: 0 0 0 1px var(--purple), 0 28px 72px rgba(123,75,189,.3); }

.pc-popular {
  position: absolute; top: 18px; right: 18px;
  background: var(--grad); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 4px 11px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .08em;
}
.pc-hdr  { padding: 28px 26px 22px; border-bottom: 1px solid var(--border); }
.pc-tier { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.pc-card:nth-child(1) .pc-tier { color: var(--cyan); }
.pc-card:nth-child(2) .pc-tier { color: var(--purple-light); }
.pc-card:nth-child(3) .pc-tier { color: var(--orange); }
.pc-price  { display: flex; align-items: flex-start; gap: 3px; margin-bottom: 7px; }
.pc-curr   { font-size: 1rem; font-weight: 700; color: var(--text2); margin-top: 7px; }
.pc-num    { font-family: 'Poppins',sans-serif; font-size: 2.8rem; font-weight: 800; line-height: 1; }
.pc-mo     { font-size: .82rem; color: var(--text2); align-self: flex-end; margin-bottom: 3px; }
.pc-desc   { font-size: .82rem; color: var(--text2); }
.pc-feats  { padding: 20px 26px; }
.pf        { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: .83rem; border-bottom: 1px solid rgba(123,75,189,.06); }
.pf:last-child     { border-bottom: none; }
.pf-lbl            { flex: 1; color: var(--text2); }
.pf-val            { font-weight: 600; font-size: .8rem; text-align: right; color: var(--text); }
.pf-icon-yes       { color: #22C55E; font-size: .82rem; flex-shrink: 0; margin-top: 1px; }
.pf-icon-no        { color: #EF4444; font-size: .82rem; flex-shrink: 0; margin-top: 1px; }
.pf-storage        { background: rgba(123,75,189,.07); border-radius: 7px; padding: 8px 10px; margin-bottom: 6px; }
[data-theme="light"] .pf-storage { background: rgba(123,75,189,.06); }
.pc-cta            { padding: 0 26px 26px; }
.pc-actual         { font-size: .8rem; color: var(--text3); text-decoration: line-through; line-height: 1; margin-bottom: 2px; min-height: 1em; }

/* ---- Billing cycle toggle ---- */
.billing-toggle    { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 24px 0 32px; }
.bt-label          { font-size: .875rem; font-weight: 600; color: var(--text3); cursor: pointer; transition: color .2s; user-select: none; }
.bt-label.active   { color: var(--text); }
.bt-switch         { position: relative; width: 44px; height: 24px; border-radius: 999px; background: var(--border2); border: none; cursor: pointer; transition: background .3s; padding: 0; flex-shrink: 0; }
.bt-switch.on      { background: linear-gradient(135deg, #7B4BBD, #E91E8C); }
.bt-thumb          { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s; display: block; }
.bt-switch.on .bt-thumb { transform: translateX(20px); }
.bt-save           { font-size: .72rem; font-weight: 700; background: rgba(123,75,189,.12); color: var(--purple); border-radius: 999px; padding: 2px 9px; }

/* ---- Pricing feature ? hint button ---- */
.pf-hint {
  flex-shrink: 0;
  align-self: center;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(123,75,189,.1);
  border: 1.5px solid var(--border2);
  color: var(--text3);
  font-size: .6rem; font-weight: 800;
  font-family: 'Inter', sans-serif;
  cursor: help;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s, color .18s, border-color .18s;
  padding: 0; line-height: 1;
}
.pf-hint::before { content: '?'; }
.pf-hint:hover, .pf-hint:focus {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  outline: none;
}

/* ---- Global pricing tooltip (position: fixed to escape overflow:hidden) ---- */
#pfTooltip {
  position: fixed;
  z-index: 9996;
  max-width: 232px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 11px;
  padding: 10px 13px;
  font-size: .76rem;
  font-family: 'Inter', sans-serif;
  color: var(--text2);
  line-height: 1.65;
  box-shadow: 0 8px 32px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.12);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
#pfTooltip.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
/* Arrow — border triangle (outer) */
#pfTooltip::before {
  content: '';
  position: absolute;
  left: var(--arr, 50%);
  transform: translateX(-50%);
  border: 7px solid transparent;
}
/* Arrow — fill triangle (inner) */
#pfTooltip::after {
  content: '';
  position: absolute;
  left: var(--arr, 50%);
  transform: translateX(-50%);
  border: 6px solid transparent;
}
#pfTooltip:not(.below)::before { top: 100%; border-top-color: var(--border2); }
#pfTooltip:not(.below)::after  { top: calc(100% - 1px); border-top-color: var(--bg2); }
#pfTooltip.below::before { bottom: 100%; border-bottom-color: var(--border2); }
#pfTooltip.below::after  { bottom: calc(100% - 1px); border-bottom-color: var(--bg2); }
.pc-cta .btn       { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   17. PORTFOLIO
---------------------------------------------------------------- */
.portfolio-wrap {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 28px; padding: 56px;
  position: relative; overflow: hidden;
}
.portfolio-wrap::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: var(--purple); border-radius: 50%;
  filter: blur(90px); opacity: .07; pointer-events: none;
}
.portfolio-inner  { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.portfolio-text h2 { font-size: clamp(1.9rem,3vw,2.5rem); font-weight: 800; letter-spacing: -.022em; margin-bottom: 18px; }
.portfolio-text p  { font-size: .95rem; color: var(--text2); line-height: 1.8; margin-bottom: 28px; }
.port-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.port-feat  { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--text2); }
.port-feat i{ color: var(--purple-light); width: 18px; font-size: .8rem; }

.port-url {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
}
.url-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.url-txt  { font-family: monospace; font-size: .82rem; color: var(--cyan); }

.port-site { background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ps-nav    { background: var(--bg2); padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.ps-brand  { font-size: .78rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ps-links  { display: flex; gap: 14px; }
.ps-links span { font-size: .65rem; color: var(--text3); }
.ps-body   { padding: 18px 14px 14px; text-align: center; }
.ps-heading { font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.ps-sub     { font-size: .7rem; color: var(--text2); margin-bottom: 14px; }
.ps-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; }
.ps-cell { aspect-ratio: 1; border-radius: 5px; }
.ps-cell:nth-child(1) { background: linear-gradient(135deg,#7B4BBD,#E91E8C); }
.ps-cell:nth-child(2) { background: linear-gradient(135deg,#4AC8E8,#7B4BBD); }
.ps-cell:nth-child(3) { background: linear-gradient(135deg,#F5A624,#E91E8C); }
.ps-cell:nth-child(4) { background: linear-gradient(135deg,#E91E8C,#4AC8E8); }

/* ----------------------------------------------------------------
   18. CTA SECTION
---------------------------------------------------------------- */
.cta-wrap {
  background: linear-gradient(135deg, #7B4BBD 0%, #A04DDC 50%, #E91E8C 100%);
  border-radius: 28px; padding: 72px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-wrap h2     { font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 800; color: #fff; letter-spacing: -.022em; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-wrap p      { font-size: 1rem; color: rgba(255,255,255,.82); max-width: 460px; margin: 0 auto 36px; position: relative; z-index: 1; line-height: 1.75; }
.cta-btns        { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ----------------------------------------------------------------
   19. FOOTER
---------------------------------------------------------------- */
.footer      { padding: 72px 0 36px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 44px; margin-bottom: 56px; }
.footer-contact-item { display: flex; align-items: center; gap: 9px; font-size: .83rem; color: var(--text2); margin-bottom: 12px; text-decoration: none; }
.footer-contact-item i { width: 16px; text-align: center; color: var(--purple-light); flex-shrink: 0; }
.footer-brand img  { height: 38px; margin-bottom: 14px; }
.footer-brand p    { font-size: .84rem; color: var(--text2); line-height: 1.75; max-width: 240px; margin-bottom: 22px; }
.socials           { display: flex; gap: 10px; }
.soc {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--text2); text-decoration: none;
  transition: all .2s ease;
}
.soc:hover { background: var(--purple); border-color: var(--purple); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-size: .86rem; font-weight: 700; margin-bottom: 18px; }
.flinks        { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.flinks a      { font-size: .83rem; color: var(--text2); text-decoration: none; transition: color .2s; }
.flinks a:hover{ color: var(--purple-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: .79rem; color: var(--text3); }
.fb-links        { display: flex; gap: 22px; }
.fb-links a      { font-size: .79rem; color: var(--text3); text-decoration: none; transition: color .2s; }
.fb-links a:hover{ color: var(--text2); }

/* ----------------------------------------------------------------
   20. MODALS
---------------------------------------------------------------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: all .3s ease;
}
.overlay.active { opacity: 1; visibility: visible; }
[data-theme="light"] .overlay { background: rgba(10,4,24,.7); }

.modal {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 22px; padding: 36px;
  width: 100%; max-width: 420px;
  position: relative;
  transform: scale(.96) translateY(10px);
  transition: all .3s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
[data-theme="light"] .modal { box-shadow: 0 20px 64px rgba(123,75,189,.18); }
.overlay.active .modal { transform: scale(1) translateY(0); }

.modal-x {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text2); font-size: 1rem;
  transition: all .2s ease;
}
.modal-x:hover { background: rgba(123,75,189,.14); color: var(--text); }

.modal-logo-wrap        { display: flex; justify-content: center; margin-bottom: 22px; }
.modal-logo-wrap img    { height: 34px; }
.modal h2               { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 6px; letter-spacing: -.01em; }
.modal-sub              { font-size: .84rem; color: var(--text2); text-align: center; margin-bottom: 28px; }

/* Form */
.fg        { margin-bottom: 14px; }
.fl        { display: block; font-size: .79rem; font-weight: 600; color: var(--text2); margin-bottom: 6px; }
.fi-wrap   { position: relative; }
.fi-wrap .fi { padding-left: 40px; }
.fi-ico    { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text3); font-size: .85rem; }
.fi {
  width: 100%;
  background: var(--inp-bg); border: 1.5px solid var(--border);
  border-radius: 11px; padding: 11px 14px;
  font-family: 'Inter', sans-serif; font-size: .88rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.fi:focus          { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(123,75,189,.12); }
.fi::placeholder   { color: var(--text3); }
.form-row          { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-btn         { width: 100%; justify-content: center; margin-top: 6px; }
.divider           { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.div-line          { flex: 1; height: 1px; background: var(--border); }
.div-txt           { font-size: .75rem; color: var(--text3); }
.soc-login         { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 18px; }
.soc-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px; border-radius: 10px;
  background: var(--inp-bg); border: 1.5px solid var(--border);
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; color: var(--text);
  cursor: pointer; transition: all .2s;
}
.soc-btn:hover { background: var(--surface); border-color: var(--border2); }
.modal-switch       { text-align: center; font-size: .82rem; color: var(--text2); margin-top: 14px; }
.modal-switch a     { color: var(--purple-light); text-decoration: none; font-weight: 600; }
.modal-switch a:hover { text-decoration: underline; }
.forgot             { font-size: .78rem; color: var(--purple-light); text-decoration: none; float: right; margin-top: -2px; }
.forgot:hover       { text-decoration: underline; }
.checkbox-row       { display: flex; align-items: flex-start; gap: 9px; font-size: .8rem; color: var(--text2); }
.checkbox-row input { margin-top: 2px; accent-color: var(--purple); }
.checkbox-row a     { color: var(--purple-light); text-decoration: none; }

/* Video Modal */
.vid-overlay .modal { max-width: 760px; padding: 0; overflow: hidden; background: #000; border-color: rgba(255,255,255,.1); position: relative; }
.vid-modal-x        { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; font-size: 1rem; z-index: 10; }
.vid-iframe         { position: relative; aspect-ratio: 16/9; width: 100%; }
.vid-iframe iframe  { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ----------------------------------------------------------------
   21. TOAST NOTIFICATION
---------------------------------------------------------------- */
#toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 13px; padding: 13px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--card-shadow);
  z-index: 3000; max-width: 320px;
  transform: translateY(72px); opacity: 0;
  transition: transform .35s ease, opacity .35s ease,
              background .3s ease, border-color .3s ease;
}
#toast.show  { transform: translateY(0); opacity: 1; }
.toast-icon  { width: 34px; height: 34px; border-radius: 8px; background: rgba(34,197,94,.15); display: flex; align-items: center; justify-content: center; color: #22C55E; flex-shrink: 0; }
.toast-title { font-size: .86rem; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.toast-msg   { font-size: .76rem; color: var(--text2); }

/* ----------------------------------------------------------------
   22. SCROLL REVEAL
---------------------------------------------------------------- */
.rev   { opacity: 0; transform: translateY(28px);  transition: opacity .65s ease, transform .65s ease; }
.rev-l { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.rev-r { opacity: 0; transform: translateX(28px);  transition: opacity .65s ease, transform .65s ease; }
.rev.in, .rev-l.in, .rev-r.in { opacity: 1; transform: translate(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ----------------------------------------------------------------
   22. KEYFRAME ANIMATIONS
---------------------------------------------------------------- */
@keyframes floatY    { 0%,100% { transform: translateY(0);   } 50% { transform: translateY(-11px); } }
@keyframes pulse     { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.75); } }
@keyframes progAnim  { from { width: 38%; } to { width: 88%; } }
@keyframes scanLine  { 0% { top: 10%; } 100% { top: 88%; } }
@keyframes faceAnim  {
  0%,100% { border-color: var(--cyan); box-shadow: 0 0 0 0 rgba(74,200,232,0); }
  50%     { border-color: var(--purple-light); box-shadow: 0 0 18px rgba(74,200,232,.38); }
}
@keyframes floatOrb  {
  0%,100% { transform: translate(0,0) scale(1);  }
  25%     { transform: translate(22px,-16px) scale(1.08); }
  50%     { transform: translate(-16px,22px) scale(.94); }
  75%     { transform: translate(16px,16px)  scale(1.04); }
}

/* ----------------------------------------------------------------
   23. RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* ── Layout ── */
  .hero-grid         { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual       { display: none; }
  .s5,.s4,.s3,.s7    { grid-column: span 6; }
  .s6,.s8            { grid-column: span 12; }
  .ai-grid, .vid-grid, .portfolio-inner { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: repeat(2,1fr); }
  .hiw-steps         { grid-template-columns: 1fr; gap: 28px; }
  .hiw-steps::before { display: none; }
  .pricing-grid      { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pc-card.gold      { transform: none; }
  .pc-card.gold:hover{ transform: translateY(-5px); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .portfolio-wrap    { padding: 40px; }
  .port-feats        { grid-template-columns: 1fr; }
  /* ── Navbar: hide links, show hamburger ── */
  .nav-links         { display: none; }
  .nav-actions .btn-outline { display: none; }
  .hamburger         { display: flex; flex-shrink: 0; }
  .nav-logo          { flex-shrink: 0; }
  .nav-logo img      { height: 38px; max-width: 150px; }
  .nav-inner         { gap: 12px; }
}

@media (max-width: 768px) {
  /* ── Layout ── */
  .section                       { padding: 60px 0; }
  .s5,.s4,.s3,.s7,.s6,.s8        { grid-column: span 12; }
  .stats-grid                    { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .stat:not(:last-child)::after  { display: none; }
  .footer-grid                   { grid-template-columns: 1fr; }
  .cta-wrap                      { padding: 48px 28px; }
  .portfolio-wrap                { padding: 28px; }
  .portfolio-inner               { grid-template-columns: 1fr; }
  .modal                         { padding: 28px 20px; }
  .form-row                      { grid-template-columns: 1fr; }
  .soc-login                     { grid-template-columns: 1fr 1fr; }
  /* ── Navbar: tighten spacing ── */
  .nav-actions       { gap: 8px; }
  .nav-actions .btn-sm { padding: 7px 13px; font-size: .8rem; }
  .theme-btn         { width: 32px; height: 32px; font-size: .82rem; }
}

@media (max-width: 480px) {
  /* ── Layout ── */
  .hero h1   { font-size: 2.1rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .cta-btns  { flex-direction: column; }
  .soc-login { grid-template-columns: 1fr; }
  /* ── Navbar: compact for small phones ── */
  .nav-logo img      { height: 30px; max-width: 110px; }
  .nav-inner         { gap: 8px; }
  .nav-actions       { gap: 6px; }
  .nav-actions .btn-sm { padding: 6px 10px; font-size: .76rem; }
  .theme-btn         { width: 30px; height: 30px; font-size: .78rem; }
}

@media (max-width: 360px) {
  /* ── Navbar: minimum size for very small phones ── */
  .nav-logo img      { height: 26px; max-width: 90px; }
  .nav-actions       { gap: 4px; }
  .nav-actions .btn-sm { padding: 5px 8px; font-size: .72rem; }
  .theme-btn         { width: 28px; height: 28px; }
}


/* ================================================================
   WHATSAPP FLOATING WIDGET
================================================================ */
.wa-widget {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ---- Trigger button ---- */
.wa-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
  animation: wa-idle-pulse 2.8s ease-out infinite;
  flex-shrink: 0;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,.65);
  animation: none;
}
.wa-btn-ico,
.wa-btn-x {
  font-size: 1.6rem;
  position: absolute;
  transition: opacity .2s ease, transform .2s ease;
}
.wa-btn-ico { opacity: 1; transform: rotate(0deg); }
.wa-btn-x   { opacity: 0; transform: rotate(-45deg); font-size: 1.2rem; }
.wa-widget.open .wa-btn-ico { opacity: 0; transform: rotate(45deg); }
.wa-widget.open .wa-btn-x   { opacity: 1; transform: rotate(0deg); }

@keyframes wa-idle-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  60%       { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ---- Dialog ---- */
.wa-dialog {
  width: 315px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.12);
  background: #ECE5DD;
  transform-origin: bottom right;
  transform: scale(.88) translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .22s ease;
}
.wa-widget.open .wa-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ---- Header ---- */
.wa-hdr {
  background: #075E54;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.wa-hdr-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-hdr-av img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.wa-hdr-info { flex: 1; min-width: 0; }
.wa-hdr-name {
  font-size: .88rem; font-weight: 700;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa-hdr-sub {
  font-size: .68rem; color: rgba(255,255,255,.72);
  margin-top: 2px; display: flex; align-items: center; gap: 5px;
}
.wa-online-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #25D366; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(37,211,102,.3);
}
.wa-cls {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.72); font-size: .88rem;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, color .18s;
  flex-shrink: 0;
}
.wa-cls:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---- Chat body ---- */
.wa-body {
  padding: 14px 13px 12px;
  max-height: 370px;
  overflow-y: auto;
}
.wa-body::-webkit-scrollbar { width: 4px; }
.wa-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 4px; }

.wa-bubble {
  background: #fff;
  border-radius: 2px 14px 14px 14px;
  padding: 11px 14px;
  max-width: 90%;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  margin-bottom: 4px;
}
.wa-bubble::before {
  content: '';
  position: absolute; top: 0; left: -7px;
  border: 7px solid transparent;
  border-top-color: #fff;
  border-right-color: #fff;
}
.wa-bubble p {
  font-size: .82rem; line-height: 1.55;
  color: #1c1c1e; margin: 0 0 5px;
  font-family: 'Inter', sans-serif;
}
.wa-bubble p:last-child { margin-bottom: 0; }
.wa-bubble strong { color: #075E54; }

.wa-time {
  font-size: .62rem; color: rgba(0,0,0,.38);
  margin-bottom: 14px; padding-left: 2px;
  font-family: 'Inter', sans-serif;
}

/* ---- Questions ---- */
.wa-qs { display: flex; flex-direction: column; gap: 7px; }
.wa-q {
  display: flex; align-items: center; gap: 9px;
  background: #fff;
  border: 1.5px solid #25D366;
  border-radius: 22px;
  padding: 9px 15px;
  font-size: .79rem; font-weight: 600;
  color: #075E54;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s, border-color .18s;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}
.wa-q:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateX(3px);
}

/* ---- Footer ---- */
.wa-foot {
  background: #f5f5f5;
  padding: 10px 13px 11px;
  border-top: 1px solid rgba(0,0,0,.07);
  display: flex; align-items: center; justify-content: space-between;
}
.wa-open {
  display: inline-flex; align-items: center; gap: 7px;
  background: #25D366;
  color: #fff;
  border-radius: 22px;
  padding: 9px 18px;
  font-size: .8rem; font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
  font-family: 'Inter', sans-serif;
}
.wa-open:hover { background: #1ebe5d; transform: translateY(-1px); }
.wa-open i { font-size: .9rem; }
.wa-foot-note {
  font-size: .62rem; color: rgba(0,0,0,.35);
  font-family: 'Inter', sans-serif;
  text-align: right; line-height: 1.5;
}
.wa-foot-note a { color: inherit; text-decoration: none; }

/* ---- Mobile ---- */
@media (max-width: 420px) {
  .wa-widget { right: 12px; bottom: 12px; }
  .wa-dialog { width: calc(100vw - 24px); }
}
