/* ═══════════════════════════════════════════════════════
   QuickClone — Landing Page Styles
   ═══════════════════════════════════════════════════════ */

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

:root {
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #5a4bd1;
  --accent: #00cec9;
  --accent-light: #81ecec;
  --bg-dark: #0a0a1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3e;
  --bg-surface: #16163a;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --text-heading: #ffffff;
  --border: #2a2a4a;
  --success: #00b894;
  --warning: #fdcb6e;
  --danger: #e17055;
  --gradient-primary: linear-gradient(135deg, #6c5ce7, #a29bfe);
  --gradient-accent: linear-gradient(135deg, #00cec9, #81ecec);
  --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #12122a 50%, #1a1040 100%);
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

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

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

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

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

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

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

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.5rem;
  transition: var(--transition);
}

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

.cart-badge {
  position: absolute;
  top: 0;
  right: -2px;
  background: var(--danger);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition);
}

.cart-badge.show {
  opacity: 1;
  transform: scale(1);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(108, 92, 231, 0.5);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(108, 92, 231, 0.1);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--bg-dark);
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 206, 201, 0.4);
  color: var(--bg-dark);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 206, 201, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  color: var(--text-heading);
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #e17055; }
.mockup-dot:nth-child(2) { background: #fdcb6e; }
.mockup-dot:nth-child(3) { background: #00b894; }

.mockup-body {
  padding: 1.5rem;
  min-height: 280px;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.mockup-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.mockup-text {
  flex: 1;
}

.mockup-text strong {
  font-size: 0.85rem;
  display: block;
}

.mockup-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.mockup-progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: progressAnim 2s ease-in-out infinite;
}

@keyframes progressAnim {
  0% { width: 0%; }
  50% { width: 80%; }
  100% { width: 100%; }
}

/* ── Section ───────────────────────────────────────────── */
section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--bg-surface);
}

/* ── Features Grid ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

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

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(108, 92, 231, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--primary-light);
}

.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Pricing Cards ─────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.2);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.3rem 1.25rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-name {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.pricing-price .currency {
  font-size: 1.25rem;
  color: var(--text-muted);
  vertical-align: top;
  margin-right: 2px;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-heading);
}

.pricing-price .decimals {
  font-size: 1.25rem;
  color: var(--text-muted);
  vertical-align: top;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text);
}

.pricing-features li .check {
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
}

.pricing-features li .cross {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.4;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.qty-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control button:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.1);
}

.qty-control span {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

/* ── Cart Sidebar ──────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 90vw;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-overlay.open + .cart-sidebar,
.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.cart-close:hover { color: var(--danger); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty svg {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}

.cart-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(108, 92, 231, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-item-qty button:hover {
  border-color: var(--primary);
}

.cart-item-qty span {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  padding: 0.25rem;
}

.cart-item-remove:hover { color: var(--danger); }

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}

.cart-coupon {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cart-coupon input {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-dark);
  color: var(--text);
  font-size: 0.85rem;
}

.cart-coupon input::placeholder { color: var(--text-muted); }

.cart-coupon input:focus {
  outline: none;
  border-color: var(--primary);
}

.cart-summary {
  margin-bottom: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.cart-summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.cart-summary-row .discount {
  color: var(--success);
}

.cart-email {
  margin-bottom: 1rem;
}

.cart-email input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-dark);
  color: var(--text);
  font-size: 0.9rem;
}

.cart-email input::placeholder { color: var(--text-muted); }

.cart-email input:focus {
  outline: none;
  border-color: var(--primary);
}

.cart-email label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
}

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

.faq-question:hover { color: var(--primary-light); }

.faq-question .arrow {
  transition: transform var(--transition);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

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

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-channel:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(108, 92, 231, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-dark);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── CTA Section ───────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 { margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; position: relative; z-index: 1; }
.cta-section .btn { position: relative; z-index: 1; }

/* ── Comparison Table ──────────────────────────────────── */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table .check-icon { color: var(--success); font-size: 1.1rem; }
.comparison-table .cross-icon { color: var(--text-muted); opacity: 0.3; font-size: 1.1rem; }

/* ── Toast Notifications ───────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  max-width: 360px;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--primary); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── Animations ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Professional Mobile-First Overrides
   ══════════════════════════════════════════════════════════ */

/* ── Tablet (max 1024px) ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container { gap: 2rem; }
  .hero-mockup { max-width: 380px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .contact-grid { gap: 2rem; }
}

/* ── Mobile (max 768px) ───────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  /* ── Mobile Navbar ────────────────────────────────────── */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-toggle:active { background: rgba(255,255,255,0.08); }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* dynamic viewport height for mobile browsers */
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2rem;
    gap: 0;
    z-index: 998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .nav-links.mobile-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: flex;
    align-items: center;
    padding: 1.1rem 0.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-links a:active { color: var(--primary-light); }
  .nav-links a.active { color: var(--primary-light); }
  .nav-links a.active::after { display: none; }

  .nav-actions .btn { display: none; }
  .nav-actions .cart-btn { font-size: 1.3rem; padding: 0.5rem; }

  /* Keep navbar above mobile menu */
  .navbar { z-index: 1000; }

  /* ── Hero ──────────────────────────────────────────── */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 2.5rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    max-width: 300px;
    margin: 0 auto;
  }

  .mockup-body {
    padding: 0.85rem;
    min-height: auto;
  }

  .mockup-header { padding: 0.75rem 1rem; }
  .mockup-dot { width: 8px; height: 8px; }

  .mockup-row {
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.4rem;
    border-left-width: 2px;
  }

  .mockup-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    border-radius: 5px;
  }

  .mockup-text strong { font-size: 0.8rem; }
  .mockup-text span { font-size: 0.7rem; }

  .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin: 0 auto 1.25rem;
    max-width: 400px;
    line-height: 1.5;
  }

  .hero-buttons {
    justify-content: center;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
  }

  .hero-stat strong { font-size: 1.5rem; }
  .hero-stat span { font-size: 0.78rem; }

  .download-free-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
  }

  .download-free-bar .btn-download {
    width: auto;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
  }

  .download-meta { text-align: center; font-size: 0.75rem; }

  /* ── Sections ── */
  section { padding: 2.5rem 0; }
  .section-title { font-size: 1.35rem; margin-bottom: 0.75rem; }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 1.75rem; }

  /* ── Features ── */
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }

  .feature-card {
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .feature-card .feature-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .feature-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
  .feature-card p { font-size: 0.88rem; }

  /* ── Pricing ── */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    gap: 1.25rem;
  }

  .pricing-card {
    padding: 1.75rem 1.5rem;
  }

  .pricing-card.popular {
    transform: none;
    border-width: 2px;
  }

  .pricing-card.popular:hover { transform: translateY(-2px); }
  .pricing-card:hover { transform: translateY(-2px); }

  .pricing-price .amount { font-size: 2.5rem; }
  .pricing-badge { font-size: 0.7rem; padding: 0.25rem 1rem; }

  /* ── Comparison Table ── */
  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
  }
  .comparison-table { min-width: 480px; font-size: 0.82rem; }
  .comparison-table th,
  .comparison-table td { padding: 0.65rem 0.4rem; }

  /* ── Download Card ── */
  .download-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }

  .download-card .btn-download { width: 100%; justify-content: center; }
  .download-card-icon { font-size: 2rem; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .contact-channel {
    padding: 0.85rem;
  }

  .contact-form .btn { width: 100%; justify-content: center; }

  /* ── FAQ ── */
  .faq-question {
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
    gap: 0.75rem;
  }

  .faq-answer-inner {
    padding: 0 1.1rem 1rem;
    font-size: 0.88rem;
  }

  /* ── CTA ── */
  .cta-section { padding: 2.5rem 0; }
  .cta-section h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
  .cta-section p { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .cta-section .btn { width: auto; }

  /* ── Cart Sidebar ── */
  .cart-sidebar {
    width: 100vw;
    max-width: 100vw;
  }
  .cart-footer { padding: 1rem; }
  .cart-items { padding: 0.75rem 1rem; }
  .cart-header { padding: 1.25rem 1rem; }
  .cart-header h3 { font-size: 1rem; }

  /* ── Footer ── */
  .footer { padding: 2.5rem 0 1.25rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { font-size: 0.85rem; }
  .footer h4 { font-size: 0.8rem; margin-bottom: 0.75rem; }
  .footer ul a { font-size: 0.85rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.78rem;
  }

  /* ── Toast ── */
  .toast-container { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .toast { max-width: 100%; }

  /* ── Buttons global overrides ── */
  .btn-lg { padding: 0.85rem 1.75rem; font-size: 0.95rem; }
  .btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
}

/* ── Small Mobile (max 480px) ─────────────────────────── */
@media (max-width: 480px) {
  html { font-size: 15px; }
  .container { padding: 0 0.85rem; }

  .hero-content h1 { font-size: 1.55rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    flex-direction: row;
    gap: 0;
    justify-content: space-around;
    margin-top: 1.75rem;
  }

  .hero-stat { text-align: center; }
  .hero-stat strong { font-size: 1.35rem; }
  .hero-stat span { font-size: 0.72rem; }

  .hero-mockup { max-width: 260px; }
  .mockup-icon { width: 26px; height: 26px; font-size: 0.7rem; }
  .mockup-text strong { font-size: 0.75rem; }
  .mockup-text span { font-size: 0.65rem; }
  .mockup-row { padding: 0.5rem 0.6rem; gap: 0.5rem; }

  .nav-logo { font-size: 1.2rem; gap: 0.5rem; }
  .nav-logo svg { width: 28px; height: 28px; }
  .nav-links { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-links a { font-size: 1.05rem; padding: 1rem 0.15rem; }

  .feature-card { padding: 1rem; gap: 0.85rem; }
  .feature-card .feature-icon { width: 38px; height: 38px; font-size: 1rem; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.82rem; }

  .pricing-grid { max-width: 100%; }
  .pricing-price .amount { font-size: 2.25rem; }
  .pricing-card { padding: 1.5rem 1.15rem; }

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

  .cart-coupon { flex-direction: column; }

  .cta-section .btn { width: 100%; max-width: 280px; }

  .download-free-bar .btn-download { width: 100%; justify-content: center; }
}

/* ── Extra Small (max 360px) ──────────────────────────── */
@media (max-width: 360px) {
  html { font-size: 14px; }

  .hero-content h1 { font-size: 1.4rem; }
  .hero-content p { font-size: 0.88rem; }
  .hero-mockup { max-width: 230px; }

  .pricing-price .amount { font-size: 2rem; }

  .section-title { font-size: 1.2rem; }
  .section-subtitle { font-size: 0.85rem; }
}

/* ── Touch Devices ─────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .pricing-card:hover,
  .contact-channel:hover,
  .download-card:hover {
    transform: none;
    box-shadow: none;
  }
  .pricing-card.popular:hover { transform: none; }
  .btn-primary:hover,
  .btn-accent:hover,
  .btn-download:hover {
    transform: none;
    box-shadow: none;
  }

  /* Larger touch targets */
  .btn { min-height: 44px; }
  .faq-question { min-height: 48px; }
  .cart-btn { min-width: 44px; min-height: 44px; }
}

/* ── Landscape phone ──────────────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 5rem 0 2rem; }
  .nav-links { padding-top: calc(var(--nav-height) + 0.5rem); }
  .nav-links a { padding: 0.6rem 0.25rem; font-size: 1rem; }
}

/* ── Spinner ───────────────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Download Free ─────────────────────────────────────── */
.download-free-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 206, 201, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(0, 206, 201, 0.3);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-download:hover {
  background: rgba(0, 206, 201, 0.22);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 206, 201, 0.2);
}

.download-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Download Card (pricing page) */
.download-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0, 206, 201, 0.1);
}

.download-card-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.download-card-content {
  flex: 1;
}

.download-card-content h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.download-card-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* End of download styles */
