/* ============================================
   ClipHistory.io — styles.css
   ============================================ */

/* === TOKENS === */
:root {
  --bg: #070B14;
  --bg2: #0C1221;
  --bg3: #111B30;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --blue: #4F8EF7;
  --blue2: #3B82F6;
  --blue-dim: rgba(79,142,247,0.15);
  --blue-glow: rgba(79,142,247,0.35);
  --green: #34D399;
  --green-dim: rgba(52,211,153,0.15);
  --purple: #A78BFA;
  --purple-dim: rgba(167,139,250,0.15);
  --orange: #FB923C;
  --orange-dim: rgba(251,146,60,0.15);
  --red: #F87171;
  --yellow: #FBBF24;
  --text: #F1F5F9;
  --text2: #94A3B8;
  --text3: #475569;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
  --nav-h: 64px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
code { font-family: 'Fira Code', 'Cascadia Code', monospace; font-size: 0.88em; background: rgba(79,142,247,0.12); color: var(--blue); padding: 2px 6px; border-radius: 4px; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }

/* === TYPOGRAPHY === */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid rgba(79,142,247,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-header { text-align: center; margin-bottom: 72px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.section-desc { font-size: 1.1rem; color: var(--text2); max-width: 560px; margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 11px 22px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-xl { padding: 17px 34px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(135deg, #4F8EF7 0%, #7C3AED 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(79,142,247,0.3), 0 4px 24px rgba(79,142,247,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(79,142,247,0.5), 0 8px 32px rgba(79,142,247,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text2);
  border: 1px solid var(--card-border);
  background: var(--card);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.07); }

.btn-outline {
  color: var(--text);
  border: 1px solid var(--card-border);
  background: transparent;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(7,11,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(79,142,247,0.3);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  padding: 6px 12px;
  font-size: 0.9rem;
  color: var(--text2);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-right { margin-left: 16px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: all 0.3s; }
.nav-mobile {
  display: none;
  background: rgba(7,11,20,0.97);
  border-top: 1px solid var(--card-border);
  padding: 16px 28px 24px;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile ul a { display: block; padding: 10px 12px; color: var(--text2); border-radius: var(--radius-sm); font-size: 0.95rem; }
.nav-mobile ul a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-mobile .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow-blue {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(79,142,247,0.18) 0%, transparent 70%);
  top: -20%;
  right: -15%;
  animation: glowPulse 10s ease-in-out infinite alternate;
}
.glow-purple {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(167,139,250,0.12) 0%, transparent 70%);
  bottom: -10%;
  left: -10%;
  animation: glowPulse 14s ease-in-out infinite alternate-reverse;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.hero-content { animation: fadeInUp 0.7s ease 0.1s both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  transition: all var(--transition);
  cursor: pointer;
}
.hero-badge:hover { border-color: rgba(79,142,247,0.4); color: var(--text); }
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.25);
  animation: badgePulse 2s ease infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text3);
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-trust svg { color: var(--green); }

/* === HERO VISUAL / APP MOCKUP === */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  animation: fadeInRight 0.7s ease 0.3s both;
}

.mockup-wrapper {
  position: relative;
  width: 420px;
  flex-shrink: 0;
}

.mockup-glow-ring {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

.app-window {
  background: #0D1525;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04), 0 0 60px rgba(79,142,247,0.1);
  position: relative;
  z-index: 1;
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.window-dots { display: flex; gap: 6px; }
.wd-close, .wd-min, .wd-max {
  width: 11px; height: 11px; border-radius: 50%;
}
.wd-close { background: #FF5F57; }
.wd-min  { background: #FFBD2E; }
.wd-max  { background: #28C840; }
.window-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text3);
  font-weight: 500;
  margin-left: 6px;
}

.app-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.app-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.78rem;
  color: var(--text3);
}
.app-space-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  cursor: pointer;
  white-space: nowrap;
}
.space-dot-blue {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
}

.app-filter-bar {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.app-chip {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  color: var(--text3);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: all 0.15s;
}
.app-chip.active {
  background: var(--blue-dim);
  color: var(--blue);
  border-color: rgba(79,142,247,0.3);
}

.app-item-list { padding: 4px 0; }

.app-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.15s;
  opacity: 0;
  animation: itemSlide 0.4s ease forwards;
}
.app-item:nth-child(1) { animation-delay: 0.6s; }
.app-item:nth-child(2) { animation-delay: 0.75s; }
.app-item:nth-child(3) { animation-delay: 0.9s; }
.app-item:nth-child(4) { animation-delay: 1.05s; }
.app-item:nth-child(5) { animation-delay: 1.2s; }
.app-item:hover { background: rgba(255,255,255,0.04); }
.app-item.pinned { background: rgba(79,142,247,0.05); }
.app-item.sensitive { background: rgba(251,146,60,0.05); }

.ai-icon {
  width: 30px; height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.type-code { background: rgba(79,142,247,0.15); color: var(--blue); font-family: monospace; }
.type-key  { background: rgba(251,146,60,0.15); }
.type-url  { background: rgba(52,211,153,0.12); }
.type-text { background: rgba(167,139,250,0.12); }
.type-img  { background: rgba(251,191,36,0.12); }

.ai-body { flex: 1; min-width: 0; }
.ai-text {
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.ai-meta { font-size: 0.68rem; color: var(--text3); }
.ai-meta span { color: rgba(255,255,255,0.12); }
.ai-pin { font-size: 0.75rem; flex-shrink: 0; }
.ai-badge {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sensitive-badge { background: rgba(251,146,60,0.2); color: var(--orange); }

.app-qp-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.qp-label { font-size: 0.68rem; color: var(--text3); white-space: nowrap; }
.qp-grid { display: flex; gap: 4px; }
.qp-slot {
  width: 22px; height: 22px;
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  color: var(--text3);
  border: 1px solid rgba(255,255,255,0.07);
}
.qp-slot.on {
  background: rgba(79,142,247,0.15);
  color: var(--blue);
  border-color: rgba(79,142,247,0.3);
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,21,37,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 9px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  z-index: 2;
  max-width: 200px;
}
.fb-icon { font-size: 1.1rem; flex-shrink: 0; }
.fb-text { display: flex; flex-direction: column; gap: 1px; }
.fb-text strong { font-size: 0.75rem; font-weight: 600; color: var(--text); }
.fb-text span { font-size: 0.67rem; color: var(--text3); }

.fb-top    { top: -18px; left: -50px; animation: float1 4s ease-in-out infinite; }
.fb-right  { right: -70px; top: 40%; animation: float2 5s ease-in-out infinite 1s; }
.fb-bottom { bottom: 20px; left: -60px; animation: float1 6s ease-in-out infinite 0.5s; }

/* === STATS STRIP === */
.stats-strip {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 0 48px; }
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 0%, var(--text2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl { font-size: 0.82rem; color: var(--text3); font-weight: 500; }
.stat-div { width: 1px; height: 48px; background: rgba(255,255,255,0.08); }

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

.feat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,142,247,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(79,142,247,0.2);
  border-color: rgba(79,142,247,0.2);
}
.feat-card:hover::before { opacity: 1; }

.feat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-blue   { background: var(--blue-dim); color: var(--blue); box-shadow: 0 4px 16px rgba(79,142,247,0.2); }
.icon-purple { background: var(--purple-dim); color: var(--purple); box-shadow: 0 4px 16px rgba(167,139,250,0.2); }
.icon-green  { background: var(--green-dim); color: var(--green); box-shadow: 0 4px 16px rgba(52,211,153,0.2); }
.icon-orange { background: var(--orange-dim); color: var(--orange); box-shadow: 0 4px 16px rgba(251,146,60,0.2); }

.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feat-card p { font-size: 0.9rem; color: var(--text2); line-height: 1.65; margin-bottom: 20px; }
.feat-kicker {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
}

/* === SECURITY === */
.security-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
}
.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sec-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.sec-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sh-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
}
.sec-highlights li strong { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 3px; }
.sec-highlights li span { font-size: 0.82rem; color: var(--text2); }

.sec-detector {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sec-detector-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--card-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
}
.sec-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.2);
  animation: badgePulse 2s ease infinite;
}
.detection-list { padding: 8px 0; }
.detect-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease var(--delay), transform 0.4s ease var(--delay);
}
.detect-item.visible { opacity: 1; transform: translateX(0); }
.detect-item:last-child { border-bottom: none; }
.di-icon { font-size: 1rem; width: 28px; text-align: center; flex-shrink: 0; }
.di-body { flex: 1; min-width: 0; }
.di-name { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.di-desc { font-size: 0.72rem; color: var(--text3); }
.di-level {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.di-level.critical { background: rgba(248,113,113,0.15); color: var(--red); }
.di-level.sensitive { background: var(--orange-dim); color: var(--orange); }
.di-level.private { background: rgba(251,191,36,0.15); color: var(--yellow); }

/* === HOW IT WORKS === */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-card {
  flex: 1;
  text-align: center;
  padding: 40px 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}
.step-connector {
  width: 100px;
  flex-shrink: 0;
  padding: 0 10px;
  margin-top: -40px;
}
.step-connector svg { width: 100%; overflow: visible; }
.step-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.step-icon-wrap {
  width: 64px; height: 64px;
  background: var(--blue-dim);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--blue);
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 0.88rem; color: var(--text2); line-height: 1.65; }

/* === SCREENSHOTS === */
.screenshots-section { background: var(--bg2); }

.ss-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ss-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text2);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}
.ss-tab:hover { color: var(--text); border-color: rgba(255,255,255,0.16); }
.ss-tab.active {
  background: var(--blue-dim);
  color: var(--blue);
  border-color: rgba(79,142,247,0.35);
}

.ss-frame {
  position: relative;
  background: rgba(13,21,37,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 60px rgba(79,142,247,0.08);
  max-width: 720px;
  margin: 0 auto;
}

.ss-panel {
  display: none;
  flex-direction: column;
}
.ss-panel.active { display: flex; }

.ss-panel img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ss-caption {
  padding: 16px 24px;
  font-size: 0.88rem;
  color: var(--text2);
  text-align: center;
  line-height: 1.6;
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  background: linear-gradient(160deg, rgba(79,142,247,0.08) 0%, rgba(167,139,250,0.08) 100%);
  border-color: rgba(79,142,247,0.3);
  box-shadow: 0 0 60px rgba(79,142,247,0.1), 0 0 0 1px rgba(79,142,247,0.15);
}
.pc-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pc-name { font-size: 1rem; font-weight: 600; color: var(--text2); margin-bottom: 12px; }
.pc-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.pc-amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; }
.pc-period { font-size: 0.88rem; color: var(--text3); }
.pc-tagline { font-size: 0.85rem; color: var(--text2); margin-bottom: 28px; }
.pc-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text2);
}
.pc-features svg { color: var(--green); flex-shrink: 0; }
.pc-divider-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 4px;
}
.pc-note { font-size: 0.78rem; color: var(--text3); text-align: center; margin-top: 12px; }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--bg2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.testi-stars { color: #FBBF24; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-quote {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.testi-role { font-size: 0.76rem; color: var(--text3); }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item { border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  text-align: left;
  transition: background var(--transition);
  gap: 16px;
}
.faq-q:hover { background: rgba(255,255,255,0.06); }
.faq-q svg { flex-shrink: 0; color: var(--text3); transition: transform 0.3s; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-a.open { max-height: 400px; padding: 0 24px 20px; }
.faq-a p { font-size: 0.9rem; color: var(--text2); line-height: 1.7; }

/* === CTA SECTION === */
.cta-section { background: var(--bg2); }
.cta-inner {
  text-align: center;
  padding: 80px 40px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.cta-glow-1, .cta-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-glow-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.cta-glow-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(167,139,250,0.1) 0%, transparent 70%);
  bottom: -80px; left: -80px;
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}
.cta-sub { font-size: 1rem; color: var(--text2); max-width: 480px; margin: 0 auto 36px; position: relative; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; position: relative; }
.cta-note { font-size: 0.8rem; color: var(--text3); position: relative; }

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline { font-size: 0.88rem; color: var(--text3); line-height: 1.65; max-width: 340px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text2); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--text3); transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: var(--text3);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.1s; }
.reveal:nth-child(5) { transition-delay: 0.2s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* === KEYFRAMES === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes glowPulse {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0.1); }
}
@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}
@keyframes itemSlide {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .hero-content { order: 1; }
  .hero-trust { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-visual { order: 2; justify-content: center; }
  .mockup-wrapper { width: 100%; max-width: 420px; }
  .fb-top    { left: -10px; }
  .fb-right  { right: -10px; }
  .fb-bottom { left: -10px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .security-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { flex-direction: column; gap: 16px; }
  .step-connector { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 0; }
  .stat-item { padding: 16px 24px; }
  .stat-div { width: 1px; height: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-inner { padding: 48px 24px; border-radius: var(--radius-lg); }
  .float-badge { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .stats-grid { flex-direction: column; }
  .stat-div { width: 80%; height: 1px; margin: 0 auto; }
  .footer-nav { grid-template-columns: 1fr; }
}
