/*
  MagicalCodes Premium Design System v2.0
  Author: Antigravity
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --primary-glow: rgba(124, 58, 237, 0.3);
  --secondary: #EC4899;
  --accent: #F97316;
  --accent-soft: #FB923C;
  --accent-glow: rgba(249, 115, 22, 0.3);
  --success: #10B981;
  --warning: #F59E0B;
  --bg-deep: #FAFBFF;
  --bg-surface: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-elevated: #F8FAFC;
  --text-main: #1E293B;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --glass: rgba(124, 58, 237, 0.04);
  --glass-hover: rgba(124, 58, 237, 0.08);
  --glass-border: rgba(124, 58, 237, 0.12);
  --glass-border-hover: rgba(124, 58, 237, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 40px var(--primary-glow);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

body.loading {
  overflow: hidden;
}

::selection {
  background: var(--primary);
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #C4B5FD;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ═══════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.loader-orb {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; box-shadow: 0 0 0 0 var(--primary-glow); }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 40px 10px var(--primary-glow); }
}

.loader-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════
   BACKGROUND EFFECTS
   ═══════════════════════════════════════════ */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  filter: blur(80px);
  transition: left 0.15s ease, top 0.15s ease;
}

.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg, #EEF2FF 0%, #FAF5FF 30%, #FFF7ED 60%, #F0FDFA 100%);
  overflow: hidden;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
.magic-text {
  color: var(--primary);
  text-shadow: none;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-badge i {
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(124, 58, 237, 0.08);
}

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

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: -1px;
  transition: var(--transition-fast);
}

.logo:hover {
  transform: scale(1.02);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
  font-size: 0.92rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.9rem;
  border: none;
  font-family: var(--font-main);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 8px 20px -5px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px var(--primary-glow);
}

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

.btn-glow {
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 20px -5px var(--primary-glow); }
  50% { box-shadow: 0 8px 35px -5px var(--primary-glow), 0 0 20px var(--primary-glow); }
}

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

.btn-outline:hover {
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0.4rem;
}

.btn-icon:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: var(--bg-deep);
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: var(--transition-bounce);
}

.cart-count.bump {
  animation: cartBump 0.4s ease;
}

@keyframes cartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.btn-sign-in {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.75rem;
  letter-spacing: -2.5px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  width: fit-content;
  margin-bottom: 3rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-number::after {
  content: '+';
  font-size: 1rem;
  color: var(--accent);
  margin-left: 2px;
}

.stat-number[data-decimal="true"]::after {
  content: '/5';
  font-size: 0.9rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.25rem;
}

/* Hero Trust Logos */
.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.trust-logos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition-fast);
}

.trust-logo:hover {
  opacity: 1;
  color: var(--text-secondary);
}

.trust-logo i {
  font-size: 1.2rem;
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.magic-orb {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.magic-orb-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  animation: orbRing 10s linear infinite;
}

.magic-orb-ring.ring-2 {
  width: 420px;
  height: 420px;
  border-color: rgba(236, 72, 153, 0.1);
  animation-duration: 15s;
  animation-direction: reverse;
}

@keyframes orbRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-25px) scale(1.03); }
  66% { transform: translateY(10px) scale(0.98); }
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════ */
.features-section {
  padding: 120px 0;
  position: relative;
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.15);
}

.feature-step {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.08);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   PRODUCTS SECTION
   ═══════════════════════════════════════════ */
.products-section {
  padding: 100px 0 120px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.filter-bar {
  display: flex;
  gap: 0.75rem;
}

.filter-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.85rem;
  font-family: var(--font-main);
  font-weight: 500;
}

.filter-btn:hover {
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
  color: var(--text-secondary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.section-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ═══════════════════════════════════════════
   PRODUCT CARD
   ═══════════════════════════════════════════ */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 50px -15px rgba(124, 58, 237, 0.2);
}

.product-card:hover::after {
  opacity: 1;
}

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #EEF2FF, #F5F3FF);
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-content {
  padding: 1.5rem 1.75rem 1.75rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.product-category {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.product-rating {
  font-size: 0.8rem;
  color: #FFD700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-rating span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
}

.product-price .price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-weight: 400;
}

.add-to-cart-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════ */
.pricing-section {
  padding: 120px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

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

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06) 0%, var(--bg-card) 100%);
  border-color: rgba(124, 58, 237, 0.3);
  transform: scale(1.04);
  box-shadow: var(--shadow-glow);
}

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

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.35rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  margin: 1rem 0 0.75rem;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.price-amount {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.pricing-features li i {
  font-size: 0.8rem;
  width: 20px;
  text-align: center;
}

.pricing-features li .fa-check {
  color: var(--success);
}

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

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

/* ═══════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════ */
.testimonials-section {
  padding: 120px 0;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 4rem;
  color: rgba(124, 58, 237, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: #FFD700;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

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

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

.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.author-role {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(236, 72, 153, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.cta-card h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
}

.cta-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--bg-surface);
  padding: 80px 0 30px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-info p {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -5px var(--primary-glow);
}

.footer-links h4, .footer-newsletter h4 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1rem;
}

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

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

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

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-newsletter p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  font-family: var(--font-main);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form .btn {
  padding: 0.75rem 1.2rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--glass-border);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cart-drawer-header h3 i {
  color: var(--accent);
}

.cart-close {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.cart-close:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
}

/* Cart Empty State */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
  color: var(--text-muted);
}

.cart-empty i {
  font-size: 3rem;
  opacity: 0.3;
}

.cart-empty p {
  font-size: 1rem;
  font-weight: 500;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

/* Cart Items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: var(--transition-fast);
  animation: cartItemIn 0.3s ease forwards;
}

@keyframes cartItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-item-image {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #EEF2FF, #F5F3FF);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.cart-item-category {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  margin-right: 0.25rem;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.3rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: #EF4444;
}

/* Cart Footer */
.cart-drawer-footer {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid var(--glass-border);
  flex-shrink: 0;
}

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

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.btn-checkout {
  font-size: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.cart-secure {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.cart-secure i {
  color: var(--success);
}

/* ═══════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 25px -5px var(--primary-glow);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  backdrop-filter: blur(10px);
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

.toast i {
  color: var(--success);
  font-size: 1rem;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════ */

/* Large Tablets & Small Laptops */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .hero-visual { display: none; }
  .section-title { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .pricing-card.featured { transform: scale(1.02); }
  .pricing-card.featured:hover { transform: scale(1.02) translateY(-6px); }
}

/* Small Tablets & Large Phones */
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .hero-title { font-size: 2.5rem; letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 1rem; }

  /* Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--glass-border);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links a {
    font-size: 1.1rem;
  }
  .nav-links a::after { display: none; }

  .hamburger { display: flex; }
  .btn-sign-in { display: none; }

  /* Sections */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .section-title { font-size: 2rem; }

  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .products-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }

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

  .cta-card { padding: 3.5rem 2rem; }
  .cta-card h2 { font-size: 2rem; }

  .hero-stats { flex-direction: row; gap: 1.25rem; padding: 1.25rem; }
  .stat-divider { height: 30px; }
  .stat-number { font-size: 1.3rem; }

  .trust-logos { gap: 1.25rem; }
  .trust-logo { font-size: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { width: 100%; justify-content: center; }
  .filter-bar { flex-wrap: wrap; }
  .products-grid { grid-template-columns: 1fr; }
  .price-amount { font-size: 3rem; }
}
