/* ============================================
   DEVOLUXE STORE — Premium Dark Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-light: #34D399;
  --gold: #F59E0B;
  --gold-dark: #D97706;
  --gold-light: #FBBF24;
  --bg-darkest: #030712;
  --bg-dark: #111827;
  --bg-card: #1F2937;
  --bg-card-hover: #374151;
  --text-white: #F9FAFB;
  --text-gray: #9CA3AF;
  --text-gray-light: #D1D5DB;
  --border-subtle: rgba(255,255,255,0.06);
  --font: 'Plus Jakarta Sans', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glow-emerald: 0 0 30px rgba(16,185,129,0.3);
  --shadow-glow-gold: 0 0 30px rgba(245,158,11,0.3);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-darkest);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(16,185,129,0.5);
}

.btn-glow {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #fff;
  animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(16,185,129,0.4), 0 0 60px rgba(16,185,129,0.1); }
  50% { box-shadow: 0 0 30px rgba(16,185,129,0.6), 0 0 80px rgba(16,185,129,0.2); }
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(16,185,129,0.7), 0 0 100px rgba(16,185,129,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: rgba(16,185,129,0.05);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(245,158,11,0.5);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(3,7,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
}

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

.nav-logo span:last-child {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-left: -6px;
  align-self: flex-end;
  margin-bottom: 2px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width var(--transition);
}

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

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

.nav-cta {
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(16,185,129,0.4);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: all var(--transition);
  display: block;
}

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

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -1px;
}

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

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat h4 {
  font-size: 1.6rem;
  color: var(--emerald);
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 0;
}

/* Hero 3D Shape */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.shape-3d {
  width: 320px;
  height: 320px;
  position: relative;
  transform-style: preserve-3d;
  animation: float3d 6s ease-in-out infinite;
}

@keyframes float3d {
  0%, 100% { transform: rotateX(15deg) rotateY(0deg) translateY(0); }
  25% { transform: rotateX(15deg) rotateY(90deg) translateY(-15px); }
  50% { transform: rotateX(15deg) rotateY(180deg) translateY(0); }
  75% { transform: rotateX(15deg) rotateY(270deg) translateY(15px); }
}

.shape-face {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin: -100px 0 0 -100px;
  border: 2px solid rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.05);
  backdrop-filter: blur(4px);
}

.shape-face:nth-child(1) { transform: rotateY(0deg) translateZ(100px); }
.shape-face:nth-child(2) { transform: rotateY(90deg) translateZ(100px); }
.shape-face:nth-child(3) { transform: rotateY(180deg) translateZ(100px); }
.shape-face:nth-child(4) { transform: rotateY(270deg) translateZ(100px); }
.shape-face:nth-child(5) { transform: rotateX(90deg) translateZ(100px); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.05); }
.shape-face:nth-child(6) { transform: rotateX(-90deg) translateZ(100px); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.05); }

.shape-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* --- Section Spacing --- */
section {
  padding: 100px 0;
}

/* --- Gradient Border Card --- */
.card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(16,185,129,0.3), rgba(245,158,11,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

/* 3D Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateY(var(--rotateY, 0deg)) rotateX(var(--rotateX, 0deg));
}

.tilt-card .card-inner {
  transform: translateZ(30px);
  transition: transform var(--transition);
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.product-card {
  text-align: center;
  padding: 40px 28px;
}

.product-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
  color: var(--emerald);
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.product-card .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.product-card .price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-gray);
}

/* --- Stats Section --- */
.stats {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.stat-item h3 .counter { color: var(--emerald); }
.stat-item h3 .suffix { color: var(--gold); }

.stat-item p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
  color: var(--emerald);
}

.feature-card h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

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

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 36px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  color: var(--text-gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #000;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

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

/* --- Newsletter / CTA Section --- */
.cta-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 { margin-bottom: 16px; }
.cta-content p { color: var(--text-gray); margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--emerald);
}

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

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(16,185,129,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* --- About Page --- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-text h2 { margin-bottom: 20px; }
.about-story-text p { color: var(--text-gray); margin-bottom: 16px; }

.about-visual {
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner {
  width: 200px;
  height: 200px;
  border: 3px solid var(--emerald);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 8s ease-in-out infinite;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner::after {
  content: 'D';
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 40px 24px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #000;
}

.team-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.team-card .role { color: var(--emerald); font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.team-card p { color: var(--text-gray); font-size: 0.85rem; }

/* --- Products Page --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.product-detail:nth-child(even) {
  direction: rtl;
}

.product-detail:nth-child(even) > * {
  direction: ltr;
}

.product-detail:last-child {
  border-bottom: none;
}

.product-detail-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.product-detail-info > p {
  color: var(--text-gray);
  margin-bottom: 24px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-gray-light);
  font-size: 0.9rem;
}

.product-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-features li::after {
  content: '';
  position: absolute;
}

.check-icon {
  color: var(--emerald);
  font-weight: 700;
  margin-right: 4px;
}

/* Device Mockup */
.device-mockup {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.device-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-darkest);
  border-bottom: 1px solid var(--border-subtle);
}

.device-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #374151;
}

.device-dot:nth-child(1) { background: #EF4444; }
.device-dot:nth-child(2) { background: #F59E0B; }
.device-dot:nth-child(3) { background: #10B981; }

.device-screen {
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
}

.device-line.short { width: 40%; }
.device-line.medium { width: 65%; }
.device-line.long { width: 85%; }
.device-line.accent { background: rgba(16,185,129,0.2); width: 50%; }
.device-line.gold-accent { background: rgba(245,158,11,0.2); width: 35%; }

.device-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-top: 8px;
}

.device-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(16,185,129,0.3), rgba(16,185,129,0.1));
}

/* --- Pricing Page --- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle span {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 500;
}

.pricing-toggle span.active {
  color: var(--text-white);
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--bg-card);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--emerald);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform var(--transition);
}

.toggle-switch.active {
  border-color: var(--emerald);
}

.toggle-switch.active::after {
  transform: translateX(24px);
}

.save-badge {
  background: rgba(245,158,11,0.15);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--emerald);
  transform: scale(1.03);
}

.pricing-card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card .price-tag {
  font-size: 3rem;
  font-weight: 800;
  margin: 16px 0;
}

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

.pricing-card .price-tag .period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-gray);
}

.pricing-card .pricing-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.pricing-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

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

.pricing-features li .pf-check {
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li .pf-x {
  color: #4B5563;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn { width: 100%; justify-content: center; }

/* --- FAQ Accordion --- */
.faq-section {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  border-color: var(--emerald);
  color: var(--emerald);
}

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

.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: var(--bg-darkest);
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--emerald);
}

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

.form-group .error-msg {
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 4px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #EF4444;
}

.form-group.has-error .error-msg {
  display: block;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16,185,129,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--emerald);
}

.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-gray); font-size: 0.9rem; }
.contact-info-card a { color: var(--emerald); }
.contact-info-card a:hover { color: var(--emerald-light); }

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 24px;
}

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

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

.footer h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text-gray-light);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-gray);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: var(--emerald);
  color: #fff;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats-row { justify-content: center; }
  .hero-visual { display: none; }
  .about-story { grid-template-columns: 1fr; }
  .about-visual { height: 300px; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail:nth-child(even) { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    border-left: 1px solid var(--border-subtle);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-links.open { right: 0; }

  .hamburger { display: flex; z-index: 1001; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-stats-row { flex-direction: column; gap: 20px; align-items: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
}
