:root {
  --primary: #422ad5;
  --primary-dark: #351fb0;
  --primary-light: #ede9fe;
  --purple: #a855f7;
  --emerald: #10b981;
  --emerald-50: #ecfdf5;
  --teal-50: #f0fdfa;
  --blue: #3b82f6;
  --green: #22c55e;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --container-max: 72rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.08);
  --shadow-xl: 0 20px 40px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 56rem;
}

.text-primary {
  color: var(--primary);
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-xl {
  width: 3rem;
  height: 3rem;
}

.icon-check {
  color: var(--green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-800);
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-800);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(180deg, #eef2ff 0%, #f5f3ff 60%, #fff 100%);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-copy .lead {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-copy .lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .hero-trust {
    justify-content: flex-start;
  }
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(66, 42, 213, 0.2), rgba(168, 85, 247, 0.2));
  border-radius: 3rem;
  filter: blur(60px);
}

.hero-glow-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.2));
}

.phone-frame {
  position: relative;
  background: #fff;
  border-radius: 2.5rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-xl);
  width: 17rem;
}

.phone-frame img {
  border-radius: 2rem;
}

.floating-card {
  position: absolute;
  bottom: 1.5rem;
  right: -0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .floating-card {
    right: -1.5rem;
  }
}

.floating-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
}

.floating-sub {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Sections */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-alt {
  background: var(--gray-50);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 4rem;
}

.section-head h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-head h2 {
    font-size: 2.25rem;
  }
}

.section-head p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Feature cards */
.feature-card {
  padding: 1.75rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: #fff;
  border-color: var(--gray-100);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Carousel */
.carousel {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-track {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  min-height: 22rem;
}

.carousel-slide {
  flex-shrink: 0;
  background: var(--gray-900);
  border-radius: 2rem;
  padding: 0.6rem;
  box-shadow: var(--shadow-xl);
  width: 14rem;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.4s ease;
  display: none;
}

@media (min-width: 768px) {
  .carousel-slide {
    display: block;
    width: 16rem;
  }
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  display: block;
}

.carousel-slide img {
  border-radius: 1.5rem;
}

.carousel-nav {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-nav:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: var(--gray-400);
}

.carousel-dot.is-active {
  background: var(--primary);
  width: 2rem;
}

/* Privacy */
.section-privacy {
  background: linear-gradient(135deg, var(--emerald-50), var(--teal-50));
}

.privacy-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .privacy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section-privacy h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-privacy h2 {
    font-size: 2.25rem;
  }
}

.privacy-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}

.privacy-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-icon-emerald {
  background: #d1fae5;
  color: #059669;
}

.privacy-icon-blue {
  background: #dbeafe;
  color: #2563eb;
}

.privacy-icon-purple {
  background: #f3e8ff;
  color: #9333ea;
}

.privacy-list h4 {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.15rem;
}

.privacy-list p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.privacy-art {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Media type cards */
.media-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.media-card:hover {
  background: #fff;
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.media-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}

.media-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.media-icon-blue {
  color: #3b82f6;
  margin-bottom: 1rem;
}

.media-icon-purple {
  color: #a855f7;
  margin-bottom: 1rem;
}

.media-icon-green {
  color: #22c55e;
  margin-bottom: 1rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
}

.faq-question .icon {
  color: var(--gray-500);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-question .icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* CTA */
.cta {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #fff;
}

.cta h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta h2 {
    font-size: 2.25rem;
  }
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cta-trust .icon-check {
  color: #fff;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--gray-900);
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  max-width: 24rem;
}

.footer h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #fff;
}

.footer-play-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
