/*
  =========================================
  Premium Storefront CSS - Cloud & Accounts
  =========================================
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Custom Variables & Theme --- */
:root {
  --bg-main: #070a13;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(23, 31, 50, 0.95);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(99, 102, 241, 0.25);
  
  /* Palette Colors */
  --primary: #6366f1; /* Indigo */
  --primary-glow: rgba(99, 102, 241, 0.4);
  --secondary: #06b6d4; /* Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.3);
  --accent: #a855f7; /* Purple */
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  /* Font Families */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Glowing Blobs */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(99,102,241,0) 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.blob-1 {
  top: -100px;
  right: -100px;
}

.blob-2 {
  top: 600px;
  left: -200px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(6,182,212,0) 70%);
}

.blob-3 {
  bottom: 100px;
  right: -150px;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* --- Header & Navbar --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--secondary);
  -webkit-text-fill-color: var(--secondary);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Mobile Menu Burger (Hidden on Desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 850px;
  margin: 0 auto 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #0088cc 0%, #00a2e8 100%); /* Telegram blue shades */
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 136, 204, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* --- Metrics Section --- */
.metrics {
  padding: 3rem 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.4) 50%, transparent);
}

.metrics-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

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

.metric-number {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Recent Deliveries Ticker --- */
.delivery-ticker {
  background: rgba(17, 24, 39, 0.4);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  margin-top: 2rem;
}

.ticker-wrap {
  display: inline-flex;
  gap: 4rem;
  animation: ticker-slide 40s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ticker-item span.status {
  color: #10b981; /* Emerald green */
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Features Section --- */
.features {
  padding: 6rem 0;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--primary);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: #fff;
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

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

/* --- Pricing Section --- */
.pricing {
  padding: 6rem 0;
  position: relative;
}

.pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.pricing-header p {
  color: var(--text-muted);
  margin-top: 0.8rem;
}

/* --- Pricing Calculator --- */
.calculator-section {
  max-width: 900px;
  margin: 0 auto 3.5rem;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.calculator-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.2);
}

.calculator-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #22d3ee;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.calculator-header {
  margin-bottom: 2.5rem;
}

.calc-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.calc-title span {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 700px;
}

.calculator-body {
  display: flex;
  gap: 3rem;
  align-items: stretch;
}

.calc-controls {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-main);
}

.calc-number-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  width: 80px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: var(--transition);
}

.calc-number-input:focus {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Custom Slider Styling */
.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  margin: 10px 0;
  position: relative;
  cursor: pointer;
}

/* Custom Slider Track/Thumb for Webkit */
.calc-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  border-radius: 99px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--secondary);
  cursor: pointer;
  margin-top: -7px;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
  transition: transform 0.1s, background-color 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--secondary);
  border-color: #ffffff;
}

/* Custom Slider Track/Thumb for Firefox */
.calc-slider::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
}

.calc-slider::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--secondary);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
  transition: transform 0.1s;
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  padding: 0 4px;
}

/* Tiers Scaling Styles */
.tiers-info h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.tier-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.7rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.tier-range {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

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

.tier-save {
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  margin-top: 0.3rem;
}

/* Active Tier highlight */
.tier-item.active {
  background: rgba(99, 102, 241, 0.06);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.tier-item.active .tier-range {
  color: #a5b4fc;
}

.tier-item.active .tier-price {
  color: #ffffff;
}

/* Calc Results Right Column */
.calc-results {
  flex: 0.7;
  display: flex;
  flex-direction: column;
}

.results-box {
  background: rgba(7, 10, 19, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.result-row span:last-child {
  font-weight: 600;
  color: var(--text-main);
}

.discount-row span:last-child {
  color: #10b981;
}

.calc-divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 1.2rem 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.2rem;
}

.total-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.total-price-wrapper {
  display: flex;
  align-items: baseline;
}

.total-currency {
  font-size: 1.4rem;
  font-family: var(--font-title);
  font-weight: 700;
  color: #ffffff;
  margin-right: 2px;
}

.total-amount {
  font-size: 2.8rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.savings-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  color: #34d399;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.savings-banner svg {
  flex-shrink: 0;
}

/* Pricing Divider */
.pricing-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0 3rem;
  position: relative;
}

.pricing-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
  z-index: 1;
}

.pricing-divider span {
  position: relative;
  z-index: 2;
  background: var(--bg-main);
  padding: 0 1.5rem;
  color: var(--text-dim);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.25);
  background: var(--bg-card-hover);
}

.price-card.popular {
  border-color: var(--primary);
  background: rgba(17, 24, 39, 0.85);
  box-shadow: 0 15px 35px -10px rgba(99, 102, 241, 0.2);
}

.popular-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  height: 2.8rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 2.2rem;
}

.currency {
  font-size: 1.8rem;
  font-family: var(--font-title);
  font-weight: 700;
  color: #ffffff;
}

.amount {
  font-size: 3.2rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.value-strike {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 1.1rem;
  margin-left: 0.5rem;
}

.features-list {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.features-list li svg {
  flex-shrink: 0;
  color: var(--secondary);
  width: 18px;
  height: 18px;
}

.price-card.popular .features-list li svg {
  color: var(--primary);
}

.card-btn {
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem;
  width: 100%;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-card-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-card-primary:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
}

/* --- Setup Process Timeline --- */
.process {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.2) 50%, transparent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

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

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.step-item h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --- Testimonials Section --- */
.testimonials {
  padding: 6rem 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.25);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.15);
}

.stars {
  color: #fbbf24; /* Amber star color */
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.2rem;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.author-info h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.author-info p {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* --- FAQ Section --- */
.faq {
  padding: 6rem 0;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  padding-right: 1.5rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 0 2rem 1.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

/* Open State */
.faq-item.active {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-item.active .faq-body {
  max-height: 250px; /* Large enough to hold text */
}

/* --- Call To Action Section --- */
.cta-banner {
  padding: 6rem 0;
}

.cta-card {
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), rgba(7, 10, 19, 0.9)), var(--bg-card);
  border: 1px solid var(--primary-glow);
  padding: 4.5rem 3rem;
  border-radius: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-card h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.cta-card p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2.5rem;
  background: #04060b;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

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

.footer-links a:hover {
  color: var(--text-main);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.4;
  text-align: right;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.4);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .disclaimer {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    flex-direction: column;
    background: #090d16;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
    transition: 0.4s ease-in-out;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-cta {
    display: none; /* Let it be accessed inside hero or footer */
  }

  .hero {
    padding: 8rem 0 4rem;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
  .metrics-container {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }
  .cta-card {
    padding: 3rem 1.5rem;
  }
  .cta-card h2 {
    font-size: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Calculator Responsive Overrides */
  .calculator-card {
    padding: 2.2rem 1.5rem;
  }
  .calculator-body {
    flex-direction: column;
    gap: 2rem;
  }
  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .tiers-grid .tier-item:last-child {
    grid-column: span 2;
  }
  .calc-results {
    margin-top: 0.5rem;
  }
}
