/* ============================================
   Instagram DM Setter — Purple Fire Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700;800&display=swap');

/* --- Custom Properties --- */
:root {
  --bg-primary: #0D0221;
  --bg-secondary: #1A0533;
  --bg-card: rgba(30, 10, 60, 0.6);
  --bg-card-solid: #1E0A3C;
  --accent-coral: #FF6B35;
  --accent-pink: #FF3864;
  --accent-gradient: linear-gradient(135deg, #FF6B35, #FF3864);
  --accent-gradient-hover: linear-gradient(135deg, #FF8255, #FF5A7E);
  --text-primary: #FFFFFF;
  --text-secondary: #B8A9C9;
  --text-accent: #E8D5F5;
  --glow-purple: 0 0 60px rgba(138, 43, 226, 0.15);
  --glow-fire: 0 0 40px rgba(255, 107, 53, 0.2);
  --border-subtle: rgba(138, 43, 226, 0.2);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

.text-center {
  text-align: center;
}

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

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  transform: translateY(-2px);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(13, 2, 33, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header .btn-primary {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(138, 43, 226, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 56, 100, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-coral);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .highlight {
  position: relative;
  display: inline;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent-gradient);
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-cta-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.hero-visual {
  margin-top: 60px;
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--glow-purple);
}

/* --- Pain Points Section --- */
.pain-points {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

.pain-points::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.pain-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: var(--glow-fire);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pain-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-coral);
}

.pain-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.pain-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- How It Works Section --- */
.how-it-works {
  padding: 120px 0;
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-coral);
  background: var(--bg-card-solid);
  border: 2px solid var(--border-subtle);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.step:hover .step-number {
  border-color: var(--accent-coral);
  box-shadow: var(--glow-fire);
}

.step h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step p {
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

/* --- Features Section --- */
.features {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 43, 226, 0.3);
  box-shadow: var(--glow-purple);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(138, 43, 226, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-accent);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Social Proof Section --- */
.social-proof {
  padding: 120px 0;
  position: relative;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.stat {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.stat:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: var(--glow-fire);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 43, 226, 0.3);
  box-shadow: var(--glow-purple);
}

.testimonial-stars {
  color: var(--accent-coral);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-subtle);
}

.testimonial-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* --- Requirements Section --- */
.requirements {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

.requirements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.req-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.req-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.req-card:hover {
  border-color: rgba(138, 43, 226, 0.3);
  transform: translateY(-2px);
}

.req-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.req-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-coral);
}

.req-card h3 {
  margin-bottom: 12px;
}

.req-card p {
  font-size: 0.92rem;
}

.req-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.req-note strong {
  color: var(--text-accent);
}

/* --- Final CTA Section --- */
.final-cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(138, 43, 226, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255, 107, 53, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(255, 56, 100, 0.1) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}

.final-cta-bg::before,
.final-cta-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 12s ease-in-out infinite;
}

.final-cta-bg::before {
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
}

.final-cta-bg::after {
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
  animation-delay: -6s;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-bottom: 20px;
}

.final-cta .section-subtitle {
  margin-bottom: 40px;
}

.final-cta .btn-primary {
  padding: 20px 48px;
  font-size: 1.15rem;
}

.final-cta-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* --- Footer --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .pain-cards,
  .feature-grid,
  .stats-bar,
  .testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps::before {
    display: none;
  }

  .req-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .pain-points,
  .how-it-works,
  .features,
  .social-proof,
  .requirements,
  .final-cta {
    padding: 80px 0;
  }

  .section-subtitle {
    margin-bottom: 40px;
  }

  .header .btn-primary {
    padding: 8px 18px;
    font-size: 0.8rem;
  }

  .logo {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .pain-card,
  .feature-card,
  .testimonial-card {
    padding: 24px 20px;
  }

  .stat-number {
    font-size: 2rem;
  }
}
