/* ═══════════════════════════════════════════════
   Vertaxia Mémoire LP — style.css
   Dark × Cyan × Precision
═══════════════════════════════════════════════ */

:root {
  --bg:        #0d0d0d;
  --bg-2:      #141414;
  --bg-3:      #1a1a1a;
  --cyan:      #22d3ee;
  --cyan-dim:  rgba(34,211,238,0.12);
  --purple:    #a855f7;
  --text:      #f0f0f0;
  --text-muted:#888;
  --border:    rgba(255,255,255,0.08);
  --radius:    12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Gradient Text ── */
.grad {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Container ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Section padding ── */
.section-pad { padding: 96px 0; }

/* ── Eyebrow ── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

/* ── Section headings ── */
.section-h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}
.nav-logo svg { flex-shrink: 0; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 6px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.lang-toggle:hover {
  color: var(--cyan);
  border-color: rgba(34,211,238,0.4);
  background: rgba(34,211,238,0.06);
}
.lang-toggle-label { pointer-events: none; }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* Glow blobs */
.hero-glow-1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.12) 0%, transparent 70%);
  top: -100px; left: -100px;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-dim);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-h1 {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-cta-group { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: #000;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 32px rgba(34,211,238,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(34,211,238,0.4);
}
.btn-primary .price-badge {
  background: rgba(0,0,0,0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}
.btn-primary .price-old {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: 12px;
}

.hero-meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta svg { flex-shrink: 0; }

/* Hero App Mockup */
.hero-visual { position: relative; }

.app-mockup {
  background: #161616;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}
.mockup-titlebar {
  background: #1e1e1e;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot-r { background: #ff5f57; }
.mockup-dot-y { background: #febc2e; }
.mockup-dot-g { background: #28c840; }
.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-left: -34px;
}
.mockup-body { padding: 12px; }

.mockup-searchbar {
  background: #111;
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-searchbar span { color: var(--text-muted); }

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mockup-thumb {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.mockup-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(168,85,247,0.1));
}
.mockup-thumb.highlight {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(34,211,238,0.3);
}
.mockup-thumb.highlight::after {
  background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(168,85,247,0.15));
}
.mockup-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ════════════════════════════════════════════
   PROBLEM
════════════════════════════════════════════ */
.problem-section { background: var(--bg-2); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.problem-card:hover { border-color: rgba(34,211,238,0.3); }
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0;
  transition: opacity 0.3s;
}
.problem-card:hover::before { opacity: 1; }

.problem-icon { margin-bottom: 16px; }
.problem-icon img { width: 56px; height: 56px; object-fit: cover; }
.problem-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════ */
.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }

.step-num-wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 2px solid rgba(34,211,238,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--cyan);
  flex-shrink: 0;
}
.step-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(34,211,238,0.3), transparent);
  margin-top: 8px;
}
.step:last-child .step-line { display: none; }

.step-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-top: 12px;
}
.step-body p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.step-tag {
  display: inline-block;
  background: var(--cyan-dim);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--cyan);
  margin-top: 12px;
}

/* ════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════ */
.features-section { background: var(--bg-2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(34,211,238,0.25);
  transform: translateY(-3px);
}
.feature-icon { margin-bottom: 12px; }
.feature-icon img { width: 48px; height: 48px; object-fit: cover; }
.feature-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ════════════════════════════════════════════
   BYOK
════════════════════════════════════════════ */
.byok-card {
  background: linear-gradient(135deg, rgba(34,211,238,0.06) 0%, rgba(168,85,247,0.06) 100%);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 16px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.byok-icon-wrap { text-align: center; }
.byok-icon-wrap img { width: 96px; height: 96px; object-fit: cover; margin: 0 auto; }
.byok-h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.byok-lead { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.byok-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.byok-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.byok-points li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   PRICING
════════════════════════════════════════════ */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-3);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 0 64px rgba(34,211,238,0.08);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}
.early-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 24px;
}
.pricing-price-wrap { margin-bottom: 8px; }
.pricing-price-old {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}
.pricing-price {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-price-unit { font-size: 20px; font-weight: 400; color: var(--text-muted); }
.pricing-note { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.pricing-list {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.pricing-list li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
}
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--cyan);
  color: #000;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 32px rgba(34,211,238,0.3);
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(34,211,238,0.45);
}
.btn-download-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.faq-section { background: var(--bg-2); }

.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--cyan); }
.faq-arrow {
  flex-shrink: 0;
  font-size: 18px;
  transition: transform 0.3s;
  color: var(--text-muted);
}
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--cyan); }
.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ════════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════════ */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(34,211,238,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.final-cta p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; }
.final-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--cyan); }

/* ════════════════════════════════════════════
   SCREENSHOTS
════════════════════════════════════════════ */
.screenshot-hero {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}
.step-screenshot {
  width: 100%;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.feature-screenshot {
  width: 100%;
  margin-top: 16px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { padding-top: 80px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { margin-top: 24px; }
  .nav-inner { padding: 0 12px; height: 48px; }
  .nav-cta { font-size: 10px; padding: 5px 8px; white-space: nowrap; }
  .nav-logo { font-size: 12px; gap: 6px; }
  .nav-logo svg { width: 20px; height: 20px; }
  .nav-right { gap: 8px; }
  .lang-toggle { font-size: 10px; padding: 3px 8px; }
  .hero-badge { margin-top: 8px; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .byok-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .byok-icon-wrap { display: none; }
  .step { grid-template-columns: 56px 1fr; }
  .section-pad { padding: 64px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .nav-cta { font-size: 9px; padding: 4px 6px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }
}
