/* ==========================================================================
   SPIDIFY HOMEPAGE — MODERN MUSIC VIDEO CREATOR DESIGN SYSTEM
   Personality: Dark, Futuristic, Creative, Premium, Music-focused
   Aesthetics: Clean typography, subtle borders, high contrast, non-generic
   ========================================================================== */

:root {
  --home-bg: #07080B;
  --home-surface: #0E1118;
  --home-surface-2: #151923;
  --home-surface-3: #1E2333;
  --home-border: rgba(255, 255, 255, 0.08);
  --home-border-hover: rgba(255, 255, 255, 0.2);
  --home-accent: #AF52DE;
  --home-accent-cyan: #0A84FF;
  --home-accent-pink: #FF375F;
  --home-accent-amber: #FF9F0A;
  --home-accent-emerald: #30D158;
  --home-text-1: #FFFFFF;
  --home-text-2: #9A9EAC;
  --home-text-3: #5E6375;
  --home-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro", "Helvetica Neue", "Inter", sans-serif;
  --home-font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Space Grotesk", sans-serif;
  --home-font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --home-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Outfit", sans-serif;
}

body.home-body {
  background-color: var(--home-bg);
  color: var(--home-text-1);
  font-family: var(--home-font-sans);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Backdrops */
.home-ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.18;
}

.home-glow-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #7928CA 0%, #AF52DE 50%, transparent 70%);
}

.home-glow-2 {
  width: 500px;
  height: 500px;
  top: 40%;
  right: -100px;
  background: radial-gradient(circle, #0A84FF 0%, transparent 70%);
}

.home-glow-3 {
  width: 550px;
  height: 550px;
  bottom: 10%;
  left: -150px;
  background: radial-gradient(circle, #BF5AF2 0%, transparent 70%);
}

/* Layout Container */
.home-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── Top Navigation ─── */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 8, 11, 0.75);
  border-bottom: 1px solid var(--home-border);
  transition: all 0.25s ease;
}

.home-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.home-brand-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.home-brand-text {
  font-family: var(--home-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-badge-tag {
  background: rgba(175, 82, 222, 0.15);
  color: var(--home-accent);
  border: 1px solid rgba(175, 82, 222, 0.3);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.home-nav-link {
  color: var(--home-text-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.home-nav-link:hover {
  color: #fff;
}

.home-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--home-border);
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #BF5AF2 0%, #AF52DE 50%, #7C3AED 100%);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(175, 82, 222, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 26px rgba(175, 82, 222, 0.55);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-primary-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ─── Hero Section ─── */
.home-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--home-border);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--home-text-2);
  margin-bottom: 24px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 10px #30D158;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--home-font-heading);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 auto 20px;
  max-width: 900px;
  background: linear-gradient(180deg, #FFFFFF 0%, #D4D7E2 60%, #9094A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--home-text-2);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* ─── Hero Video Mockup Preview ─── */
.hero-mockup-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--home-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(175, 82, 222, 0.15);
  overflow: hidden;
  position: relative;
}

.mockup-header-bar {
  background: #090B10;
  border-bottom: 1px solid var(--home-border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-title {
  font-size: 0.8rem;
  font-family: var(--home-font-mono);
  color: var(--home-text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  min-height: 480px;
  background: #06070A;
}

@media (max-width: 900px) {
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar-left, .mockup-sidebar-right {
    display: none;
  }
}

.mockup-sidebar-left {
  background: #0A0C12;
  border-right: 1px solid var(--home-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.mockup-tool-pill {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--home-border);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--home-text-2);
  cursor: pointer;
  transition: all 0.15s ease;
}

.mockup-tool-pill.active {
  background: rgba(175, 82, 222, 0.16);
  border-color: var(--home-accent);
  color: #fff;
}

.mockup-center-stage {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, #111422 0%, #06070A 80%);
}

.mockup-phone-frame {
  width: 254px;
  height: 450px;
  border-radius: 44px;
  background: #000;
  border: 4px solid #28282b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 25px 65px rgba(0, 0, 0, 0.95), 0 0 45px rgba(175, 82, 222, 0.3);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Authentic iPhone Dynamic Island */
.phone-dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.island-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0d0f18;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.island-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 6px #30D158;
  animation: pulseDot 2s infinite;
}

/* Authentic iPhone Home Indicator */
.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  z-index: 10;
}

.phone-stage-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.phone-stage-lyrics {
  position: absolute;
  bottom: 55px;
  left: 14px;
  right: 14px;
  text-align: center;
  z-index: 2;
}

.stage-lyric-tag {
  font-family: 'Bebas Neue', var(--home-font-heading);
  font-size: 1.8rem;
  color: #FFE600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 14px rgba(255, 230, 0, 0.4);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: lyricPop 3s infinite;
}

@keyframes lyricPop {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 16px #BF5AF2); }
}

.phone-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(175, 82, 222, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(175, 82, 222, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.phone-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(191, 90, 242, 0.95);
  box-shadow: 0 0 32px rgba(175, 82, 222, 0.85);
}

.mockup-sidebar-right {
  background: #0A0C12;
  border-left: 1px solid var(--home-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.mockup-prop-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-prop-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--home-text-3);
  text-transform: uppercase;
}

.mockup-prop-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--home-border);
}

/* ─── Section Common ─── */
.home-section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  color: var(--home-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--home-font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}

.section-subtitle {
  color: var(--home-text-2);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ─── "Create Anything" Cards Grid ─── */
.create-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}

.create-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

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

.create-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(175, 82, 222, 0.12);
}

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

.card-top {
  margin-bottom: 24px;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--home-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--home-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--home-text-2);
  line-height: 1.5;
  margin: 0;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--card-accent, var(--home-accent));
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: 6px;
}

.card-arrow {
  color: #fff;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.create-card:hover .card-arrow {
  transform: translateX(4px);
}

/* ─── "How Spidify Works" Steps ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  position: relative;
}

.step-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 18px;
  padding: 34px 28px;
  text-align: left;
  position: relative;
}

.step-number {
  font-family: var(--home-font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--home-accent);
  background: rgba(175, 82, 222, 0.15);
  border: 1px solid rgba(175, 82, 222, 0.3);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.step-title {
  font-family: var(--home-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--home-text-2);
  line-height: 1.6;
  margin: 0;
}

/* ─── Templates Showcase ─── */
.template-categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.template-cat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--home-border);
  color: var(--home-text-2);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.template-cat-pill:hover, .template-cat-pill.active {
  background: rgba(175, 82, 222, 0.2);
  border-color: var(--home-accent);
  color: #fff;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.template-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.template-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.template-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.template-card:hover .template-thumb-overlay {
  opacity: 1;
}

.template-use-btn {
  background: #fff;
  color: #000;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
}

.template-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.template-name {
  font-family: var(--home-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.template-desc {
  font-size: 0.8rem;
  color: var(--home-text-2);
  line-height: 1.4;
  margin: 0 0 12px;
}

.template-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.template-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--home-text-3);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ─── "Why Spidify?" Grid ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.why-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 16px;
  padding: 26px;
  text-align: left;
}

.why-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.why-title {
  font-family: var(--home-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--home-text-2);
  line-height: 1.5;
  margin: 0;
}

/* ─── Bottom CTA Banner ─── */
.home-cta-banner {
  background: linear-gradient(135deg, rgba(191, 90, 242, 0.12) 0%, rgba(10, 132, 255, 0.12) 100%), var(--home-surface);
  border: 1px solid rgba(175, 82, 222, 0.3);
  border-radius: 24px;
  padding: 60px 30px;
  text-align: center;
  margin: 40px auto 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(175, 82, 222, 0.15);
}

.banner-title {
  font-family: var(--home-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 16px;
  color: #fff;
}

.banner-subtitle {
  color: var(--home-text-2);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ─── Footer ─── */
.home-footer {
  background: #050608;
  border-top: 1px solid var(--home-border);
  padding: 60px 0 30px;
  color: var(--home-text-2);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-family: var(--home-font-heading);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--home-text-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--home-border);
  font-size: 0.8rem;
  color: var(--home-text-3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Pricing Section ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(175, 82, 222, 0.08) 0%, var(--home-surface) 100%);
  border-color: rgba(175, 82, 222, 0.45);
  box-shadow: 0 10px 30px rgba(175, 82, 222, 0.15);
}

.pricing-card.featured:hover {
  border-color: #AF52DE;
  box-shadow: 0 20px 50px rgba(175, 82, 222, 0.25);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #AF52DE, #0A84FF);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(175, 82, 222, 0.3);
}

.pricing-title {
  font-family: var(--home-font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--home-text-2);
  margin: 0 0 20px;
  min-height: 40px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--home-border);
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--home-text-3);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--home-text-1);
}

.pricing-feature-item.muted {
  color: var(--home-text-3);
}

.pricing-feature-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #30D158;
}

.pricing-feature-icon.cross {
  color: var(--home-text-3);
}

/* ─── Comparison Table ─── */
.comparison-wrapper {
  margin-top: 48px;
  overflow-x: auto;
  border: 1px solid var(--home-border);
  border-radius: 20px;
  background: var(--home-surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--home-border);
}

.comparison-table th {
  background: var(--home-surface-2);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(175, 82, 222, 0.08);
  color: #fff;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comp-check {
  color: #30D158;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.comp-x {
  color: var(--home-text-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ─── FAQ Section ─── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

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

.faq-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s ease;
}

.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--home-surface-2);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-answer {
  font-size: 0.88rem;
  color: var(--home-text-2);
  line-height: 1.6;
  margin: 0;
}

/* ─── Mobile Viewport Responsiveness (390px iPhone & Tablets) ─── */
@media (max-width: 860px) {
  .home-nav-links {
    display: none;
  }
  .home-nav-actions .btn-secondary {
    display: none;
  }
  .home-container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-mockup {
    margin: 0 10px;
  }
  .comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid var(--home-border);
  }
  .comparison-table {
    min-width: 580px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .pricing-card {
    padding: 24px 18px;
  }
}

