/* ═══════════════════════════════════════════════════════════
   NovaMind AI — Premium Website Stylesheet (FIXED & RESPONSIVE)
   Design: Luxury SaaS (Apple × OpenAI × Stripe × Linear)
   Mobile-First Approach + Unified Component System
   ═══════════════════════════════════════════════════════════ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Colors — Dark Mode (default) */
  --bg-base:        #050508;
  --bg-surface:     #0d0d14;
  --bg-elevated:    #13131e;
  --bg-glass:       rgba(255,255,255,0.04);
  --bg-glass-hover: rgba(255,255,255,0.07);
  --border:         rgba(255,255,255,0.08);
  --border-hover:   rgba(255,255,255,0.16);

  --text-primary:   #f0f0f8;
  --text-secondary: #9090b0;
  --text-muted:     #5a5a7a;

  --accent-purple:  #7C3AED;
  --accent-cyan:    #06B6D4;
  --accent-purple-light: #9d5cf0;
  --accent-cyan-light:   #22d3ee;

  --gradient-brand: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  --gradient-glow:  radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,58,237,0.25) 0%, transparent 70%);

  /* Typography */
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  /* Layout */
  --container:  1200px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --duration:   0.3s;
  --duration-slow: 0.6s;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.2);

  /* Nav */
  --nav-height: 72px;
}

/* Light Mode */
[data-theme="light"] {
  --bg-base:        #fafafa;
  --bg-surface:     #f4f4f8;
  --bg-elevated:    #ffffff;
  --bg-glass:       rgba(0,0,0,0.03);
  --bg-glass-hover: rgba(0,0,0,0.06);
  --border:         rgba(0,0,0,0.08);
  --border-hover:   rgba(0,0,0,0.16);
  --text-primary:   #0a0a14;
  --text-secondary: #4a4a6a;
  --text-muted:     #8a8aaa;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.1);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-height); /* Prevent content from being hidden under fixed navbar */
  transition: background-color var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out);
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── 3. Utilities ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  transition: background var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

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

/* ── 4. Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(124,58,237,0.5);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass);
}

.btn--outline {
  background: transparent;
  color: var(--accent-purple-light);
  border: 1px solid rgba(124,58,237,0.4);
}

.btn--outline:hover {
  background: rgba(124,58,237,0.1);
  border-color: var(--accent-purple);
}

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

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

.btn--secondary.active {
  background: var(--text-primary);
  color: var(--bg-base);
  border-color: var(--text-primary);
}

.btn--sm { padding: 0.5625rem 1.125rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ── 6. Section Shared ────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-purple-light);
  margin-bottom: var(--space-sm);
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  background: rgba(124,58,237,0.08);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── 7. Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              backdrop-filter var(--duration) var(--ease-out);
}

.nav.scrolled {
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(250,250,250,0.85);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-lg);
  padding: 0 var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
  flex-wrap: wrap;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease-out);
}

.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.btn-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease-out);
}

.btn-theme:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-glass);
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease-out);
}

.nav__hamburger:hover { background: var(--bg-glass); }

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration) var(--ease-out);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  z-index: 999;
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav__mobile .nav__link {
  font-size: 1.0625rem;
  padding: 0.5rem 0;
  display: block;
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.language-switcher__menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 100px;
  margin-top: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all var(--duration) var(--ease-out);
  z-index: 1001;
}

.language-switcher__menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.language-switcher__option {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
}

.language-switcher__option:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}

/* ── 8. Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-purple-light);
  margin-bottom: var(--space-lg);
}

.hero__badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero__stats {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  align-items: center;
}

.hero__stat {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.hero__stat-plus {
  font-size: 1rem;
  color: var(--accent-cyan);
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

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

/* ── 9. Trusted By ────────────────────────────────────────── */
.trusted {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trusted__label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.trusted__logos {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  align-items: center;
}

.trusted__logo {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── 10. Why Choose Us ────────────────────────────────────── */
.why {
  padding: var(--space-3xl) 0;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.why__card {
  padding: var(--space-lg);
}

.why__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  color: var(--accent-purple-light);
}

.why__card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.why__card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ── 11. Features ─────────────────────────────────────────── */
.features {
  padding: var(--space-3xl) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.features__card {
  padding: var(--space-lg);
}

/* ── 12. Pricing ──────────────────────────────────────────── */
.pricing {
  padding: var(--space-3xl) 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.pricing__card {
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  transition: all var(--duration) var(--ease-out);
}

.pricing__card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing__card.featured {
  border-color: var(--accent-purple);
  background: rgba(124,58,237,0.05);
  transform: scale(1.05);
}

.pricing__card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.pricing__price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: var(--space-md) 0;
}

.pricing__features {
  list-style: none;
  margin: var(--space-lg) 0;
}

.pricing__features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ── 13. FAQ ──────────────────────────────────────────────── */
.faq {
  padding: var(--space-3xl) 0;
}

.faq__grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 800px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__question {
  padding: var(--space-lg);
  background: var(--bg-surface);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all var(--duration) var(--ease-out);
}

.faq__question:hover {
  background: var(--bg-elevated);
}

.faq__answer {
  padding: var(--space-lg);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}

.faq__item.open .faq__answer {
  max-height: 500px;
}

/* ── 14. Contact ──────────────────────────────────────────── */
.contact {
  padding: var(--space-3xl) 0;
}

.contact__form {
  max-width: 600px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-md);
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--duration) var(--ease-out);
}

.contact__input:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  background: var(--bg-elevated);
}

/* ── 15. Footer ───────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__logo-content {
  grid-column: 1 / -1;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: var(--space-md);
  font-weight: 800;
}

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

.footer__tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease-out);
}

.footer__social-link:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: rgba(124,58,237,0.1);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__links-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__heading {
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color var(--duration) var(--ease-out);
}

.footer__link:hover {
  color: var(--accent-purple-light);
}

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__copyright,
.footer__disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__disclaimer {
  margin-top: var(--space-sm);
}

/* ── 15.5 Services (Home Products) ────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.services__card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  height: 100%;
  transition: all var(--duration) var(--ease-out);
}

.services__card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.services__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.services__card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.services__card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.services__link {
  margin-top: auto;
  color: var(--accent-purple-light);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color var(--duration) var(--ease-out);
}

.services__card:hover .services__link {
  color: var(--accent-cyan-light);
}

.badge-soon {
  font-size: 0.625rem;
  padding: 0.25rem 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ── 16. Shop ─────────────────────────────────────────────── */
.shop {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-3xl);
}

.shop__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.shop__header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.shop__header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.shop__filters {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease-out));
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-brand);
  color: #fff;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.product-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  padding: var(--space-lg) var(--space-lg) 0;
}

.product-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  padding: 0 var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-lg);
  margin-top: auto;
}

.product-card__price {
  font-size: 1.25rem;
  font-weight: 700;
}

/* ── 17. Product Detail ───────────────────────────────────── */
.product-page {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-3xl);
}

.product-breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.product-breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease-out);
}

.product-breadcrumb a:hover {
  color: var(--accent-purple-light);
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.product-detail__image {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.product-detail__image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-xs);
  line-height: 1.1;
}

.product-detail__tagline {
  font-size: 1.125rem;
  color: var(--accent-cyan-light);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.product-detail__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  padding: var(--space-md);
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  width: fit-content;
}

.product-detail__price-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.product-detail__price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.product-detail__features {
  margin-bottom: var(--space-2xl);
}

.product-detail__features h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.product-detail__features ul {
  display: grid;
  gap: var(--space-sm);
}

.product-detail__features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
}

.check-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent-cyan);
  stroke-width: 3;
  fill: none;
  flex-shrink: 0;
}

.product-detail__cta {
  display: grid;
  gap: var(--space-md);
}

.product-detail__secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.lock-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.product-detail__description {
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
}

.product-detail__description h2 {
  font-family: var(--font-display);
  margin-bottom: var(--space-lg);
}

.product-detail__description p {
  max-width: 800px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* ── 18. Legal Page ───────────────────────────────────────── */
.legal {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-3xl);
}

.legal__nav {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-lg);
}

.legal__nav button {
  padding: var(--space-md);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  border-bottom: 2px solid transparent;
}

.legal__nav button.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-purple);
}

.legal__nav button:hover {
  color: var(--text-primary);
}

.legal__section {
  max-width: 900px;
  margin-bottom: var(--space-3xl);
}

.legal__section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: var(--space-lg);
}

.legal__section h3 {
  font-size: 1.25rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal__section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal__section ul,
.legal__section ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal__section li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

/* ── 19. Back to Top ──────────────────────────────────────── */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration) var(--ease-out);
  z-index: 500;
  box-shadow: var(--shadow-md);
}

.back-to-top-btn.show {
  opacity: 1;
  pointer-events: all;
}

.back-to-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
}

/* ── 20. Responsive Design ────────────────────────────────── */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero__stat-divider {
    display: none;
  }

  .pricing__card.featured {
    transform: scale(1);
  }

  .product-detail__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .footer__logo-content {
    grid-column: 1;
  }

  .shop__grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .back-to-top-btn {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  :root {
    --nav-height: 56px;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  section {
    padding-block: var(--space-xl);
  }

  .container {
    padding-inline: 1rem;
  }

  .hero__heading {
    font-size: 1.75rem;
  }

  .hero__sub {
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .nav__actions {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .btn--lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

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

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

  .trusted__logos {
    gap: var(--space-sm);
  }

  .trusted__logo {
    font-size: 0.8125rem;
  }

  .faq__question,
  .faq__answer {
    padding: var(--space-md);
  }

  .contact__input,
  .contact__textarea {
    padding: var(--space-md);
  }

  .footer__container {
    gap: var(--space-lg);
  }
}

/* Print */
@media print {
  .nav,
  .back-to-top-btn,
  .footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}


/* ===== CART & CHECKOUT STYLES ===== */

.cart-section, .checkout-section {
  padding: 6rem 2rem;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

.cart-section h1, .checkout-section h1 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(135deg, #00d4ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.cart-item__info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cart-item__price {
  color: #00d4ff;
  font-weight: 600;
}

.cart-item__quantity input {
  width: 60px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  text-align: center;
}

.cart-item__remove {
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-item__remove:hover {
  background: rgba(239, 68, 68, 0.3);
}

.cart-empty {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.cart-summary, .checkout-summary {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-total {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.refund-guarantee, .refund-guarantee-checkout {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  margin: 1.5rem 0;
}

.refund-icon {
  font-size: 1.5rem;
  color: #22c55e;
  flex-shrink: 0;
}

.refund-guarantee h3, .refund-guarantee-checkout h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #22c55e;
}

.refund-guarantee p, .refund-guarantee-checkout p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.checkout-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-form fieldset {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.checkout-form legend {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #00d4ff;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.payment-option input[type="radio"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.payment-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.payment-icon {
  font-size: 1.5rem;
}

.security-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.compliance-checkboxes {
  border-color: rgba(34, 197, 94, 0.3) !important;
  background: rgba(34, 197, 94, 0.05) !important;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-label a {
  color: #00d4ff;
  text-decoration: none;
  margin-left: 0.5rem;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.checkout-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-top: 1rem;
}

.footer__security {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #22c55e;
}

.badge-icon {
  font-size: 1.2rem;
}

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .cart-container {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .checkout-container {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .cart-section h1, .checkout-section h1 {
    font-size: 1.8rem;
  }

  .footer__security {
    flex-direction: column;
    gap: 1rem;
  }

  .security-badge {
    justify-content: center;
    width: 100%;
  }
}

/* Mobile Language Switcher Styling */
.nav__mobile-lang {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-sm);
}

.nav__mobile-lang .language-switcher__option {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--duration) var(--ease-out);
}

.nav__mobile-lang .language-switcher__option:hover {
  color: var(--accent-purple);
}

.nav__mobile-lang .divider {
  color: var(--border);
  user-select: none;
}
