/* ==========================================================================
   Mockando.com — Light Purple Theme Design System
   Modern, elegant, high-converting aesthetic for 2026 Test Prep SaaS
   ========================================================================== */

:root {
  /* Color Palette - Light Purple & Lavender Harmony */
  --bg-main: #faf8ff;
  --bg-subtle: #f4f0fc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfaff;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --border-light: #ece5f8;
  --border-subtle: #e3daf5;
  --border-focus: #9061f9;
  --border-highlight: #7c3aed;

  --primary-50: #f5f3ff;
  --primary-100: #ede9fe;
  --primary-200: #ddd6fe;
  --primary-300: #c4b5fd;
  --primary-400: #a78bfa;
  --primary-500: #8b5cf6;
  --primary-600: #7c3aed;
  --primary-700: #6d28d9;
  --primary-800: #5b21b6;
  --primary-900: #4c1d95;

  --accent-glow: rgba(124, 58, 237, 0.12);
  --accent-glow-strong: rgba(124, 58, 237, 0.25);
  
  --text-main: #181126;
  --text-body: #494057;
  --text-muted: #726884;
  --text-light: #9c92b0;

  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --success-text: #065f46;

  --badge-discount-bg: #fef3c7;
  --badge-discount-border: #fde68a;
  --badge-discount-text: #92400e;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 6px rgba(109, 40, 217, 0.04);
  --shadow-md: 0 8px 24px rgba(109, 40, 217, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 16px 40px rgba(109, 40, 217, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-purple: 0 10px 30px rgba(124, 58, 237, 0.28);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Atmospheric Ambient Background */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, rgba(221, 214, 254, 0.15) 45%, rgba(250, 248, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-secondary {
  position: absolute;
  top: 1400px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.2) 0%, rgba(250, 248, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin-bottom: 24px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(124, 58, 237, 0.18));
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.08);
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.brand-dot {
  color: var(--primary-600);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: var(--radius-full);
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.38);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
}

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

.btn-secondary {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--primary-100);
  border-color: var(--primary-300);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
  text-align: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary-800);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 450;
  line-height: 1.6;
}

/* Hero Call-to-Action Actions */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 36px;
}

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

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  color: var(--primary-600);
  font-size: 1.1rem;
}

/* Form Message / Alert */
.form-message {
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  color: var(--success-text);
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  max-width: 520px;
  margin: 16px auto 0;
}

/* ==========================================================================
   Teaser / Feature Showcase (The 2026 Edge)
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--primary-700);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 14px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 100px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-300);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--primary-700);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-badge-mini {
  display: inline-flex;
  padding: 4px 10px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-800);
}

/* ==========================================================================
   Pricing Section (User Specified Exact Details)
   ========================================================================== */
.pricing-section {
  padding: 80px 0 100px;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

/* Highlighted Tier (Most Popular) */
.pricing-card.featured {
  background: #ffffff;
  border: 2px solid var(--primary-600);
  box-shadow: var(--shadow-purple);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 42px;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-original {
  font-size: 1.4rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 600;
}

.price-period {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--badge-discount-bg);
  border: 1px solid var(--badge-discount-border);
  color: var(--badge-discount-text);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.plan-tests-badge {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary-800);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-body);
  margin-bottom: 14px;
  line-height: 1.5;
}

.feature-check {
  color: var(--primary-600);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-cta {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
}

/* Payment Badges row for Underwriting */
.payment-trust-box {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.trust-title {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payment-methods-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
}

.guarantee-note {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 60px 0 100px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-chevron {
  transition: transform 0.25s ease;
  font-size: 1.1rem;
  color: var(--primary-600);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Site Footer & Compliance Policies
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col {
  max-width: 360px;
}

.footer-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-size: 0.92rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: var(--transition);
}

.footer-link-btn:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

.disclaimer-text {
  margin-top: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   Compliance Modal (Terms, Privacy, Refund, Contact)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 17, 38, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  background: var(--bg-subtle);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--primary-100);
  color: var(--primary-800);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.7;
}

.modal-body h3 {
  font-size: 1.08rem;
  color: var(--text-main);
  margin: 18px 0 8px;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.modal-body li {
  margin-bottom: 6px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 40px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  
  .hero-title {
    font-size: 2.7rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-stats-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}
