/* ════════════════════════════════════════════════════════════════════════
   Ashley IA — Landing page styles
   Dark theme · pink/purple accents · matches the desktop app aesthetic.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-app:        #0a0a0a;
  --bg-section:    #0f0f0f;
  --bg-card:       rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 154, 238, 0.05);
  --border-card:   rgba(255, 255, 255, 0.07);
  --border-hover:  rgba(255, 154, 238, 0.35);
  --text-primary:  #ffffff;
  --text-dim:      #cccccc;
  --text-muted:    #888888;
  --text-faint:    #555555;
  --accent:        #ff9aee;
  --accent-hover:  #ffb8f5;
  --accent-soft:   rgba(255, 154, 238, 0.3);
  --accent-glow:   rgba(255, 154, 238, 0.4);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-pill:   99px;
  --shadow-glow:   0 0 40px rgba(255, 154, 238, 0.25);
  --shadow-card:   0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-hover:  0 12px 50px rgba(255, 154, 238, 0.15);
  --transition:    all 0.25s ease;
  --max-width:     1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--accent);
  color: #000;
}

/* ── Language switcher ──────────────────────────────────────────────── */

.lang-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  gap: 4px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--accent);
}

.lang-btn.active {
  background: var(--accent);
  color: #000;
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 154, 238, 0.08) 0%,
    rgba(10, 10, 10, 1) 70%
  );
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 154, 238, 0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 40% 50%, rgba(255, 154, 238, 0.3), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 15% 80%, rgba(255, 154, 238, 0.3), transparent),
    radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.3), transparent);
  background-size: 800px 800px;
  opacity: 0.6;
  animation: drift 120s linear infinite;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-800px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-portrait {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-soft);
  box-shadow: var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(255, 154, 238, 0.4);
  margin-top: 8px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  font-weight: 400;
  max-width: 560px;
}

.hero-tagline {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--text-muted);
  font-style: italic;
  max-width: 520px;
}

.hero-footnote {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(255, 154, 238, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 154, 238, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 17px;
}

/* ── Section wrapper ────────────────────────────────────────────────── */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 48px;
}

/* ── Video section ──────────────────────────────────────────────────── */

.video-wrap {
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  background: #050505;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at center, rgba(255, 154, 238, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, #0a0a0a, #1a0a1a);
}

.video-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 154, 238, 0.15);
  border: 2px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  padding-left: 6px;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 154, 238, 0.3); }
  50%      { box-shadow: 0 0 0 20px rgba(255, 154, 238, 0); }
}

/* ── Features grid ──────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card,
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.feature-card:hover,
.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-icon,
.why-icon {
  font-size: 34px;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-title,
.why-sub-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-desc,
.why-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Why section ────────────────────────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ── Pricing ────────────────────────────────────────────────────────── */

.pricing-section {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 154, 238, 0.03) 50%,
    transparent 100%
  );
}

.price-card {
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(255, 154, 238, 0.06) 0%,
    rgba(255, 154, 238, 0.02) 100%
  );
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow:
    var(--shadow-card),
    0 0 80px rgba(255, 154, 238, 0.1);
}

.price-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-card);
}

.price-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-soft);
  flex-shrink: 0;
}

.price-name {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.price-note {
  font-size: 12px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
}

.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-secure {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ── FAQ ────────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: var(--transition);
}

.faq-item[open] {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  list-style: none;
  position: relative;
  padding-right: 24px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-card);
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border-card);
  padding: 48px 24px;
  margin-top: 40px;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.footer-brand strong {
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 500;
}

.footer-brand span {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .section {
    padding: 60px 20px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-portrait {
    width: 130px;
    height: 130px;
  }

  .lang-switch {
    top: 12px;
    right: 12px;
  }

  .lang-btn {
    padding: 5px 10px;
    font-size: 10px;
  }

  .price-card {
    padding: 32px 24px;
  }

  .price-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .btn-primary {
    padding: 13px 28px;
    font-size: 15px;
  }
}

/* ── Reduced motion ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
