/* ============================================
   VintaOS Website — Shared Stylesheet
   Vinta Automations | vintautomation.com
   Premium dark-first design
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand colors */
  --gold: #d4a84b;
  --gold-dark: #b3872a;
  --gold-light: #e8c36a;
  --emerald: #34d399;
  --emerald-dark: #0f6b4d;
  --emerald-light: #6ee7b7;
  --emerald-glow: rgba(52, 211, 153, 0.15);

  /* Surfaces — dark mode (default) */
  --bg-primary: #09090b;
  --bg-secondary: #161619;
  --bg-tertiary: #222228;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-solid: #1a1a20;
  --bg-nav: rgba(9, 9, 11, 0.85);
  --bg-elevated: #28282f;

  /* Text — accessible on --bg-primary (#09090b) */
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-on-emerald: #09090b;
  --text-on-gold: #09090b;

  /* Borders & shadows */
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.20);
  --border-glow: rgba(52, 211, 153, 0.30);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 80px rgba(52, 211, 153, 0.15);
  --shadow-gold-glow: 0 0 60px rgba(212, 168, 75, 0.12);

  /* Glass effect */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(24px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.12);

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 5rem;
  --text-8xl: 6.5rem;
  --line-height: 1.6;
  --line-height-heading: 1.05;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index scale */
  --z-base: 0;
  --z-card: 10;
  --z-orb: 1;
  --z-nav: 100;
  --z-modal-backdrop: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-cookie: 500;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 72px;
}

/* ---------- Light Mode ---------- */
[data-theme="light"] {
  --bg-primary: #faf9f6;
  --bg-secondary: #f0efec;
  --bg-tertiary: #e8e7e4;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-solid: #ffffff;
  --bg-nav: rgba(250, 249, 246, 0.88);
  --bg-elevated: #ffffff;

  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-tertiary: #71717a;
  --text-on-emerald: #ffffff;
  --text-on-gold: #09090b;

  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  --border-glow: rgba(15, 107, 77, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);
  --shadow-glow: 0 0 60px rgba(15, 107, 77, 0.06);
  --shadow-gold-glow: 0 0 60px rgba(179, 135, 42, 0.05);

  --glass-bg: rgba(255, 255, 255, 0.60);
  --glass-border: 1px solid rgba(255, 255, 255, 0.50);

  --emerald: #0f6b4d;
  --emerald-dark: #094d37;
  --emerald-light: #14a076;
  --gold: #b3872a;
  --gold-dark: #8a6520;
  --gold-light: #d4a84b;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { opacity: 0.85; }

[data-theme="light"] a { color: var(--emerald); }

/* ---------- Focus Styles ---------- */
:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) { outline: none; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-3) var(--space-6);
  background: var(--emerald);
  color: var(--text-on-emerald);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus { top: 0; color: var(--text-on-emerald); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow { max-width: var(--container-narrow); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--line-height-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { color: var(--text-secondary); max-width: 60ch; }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--primary {
  background: var(--emerald);
  color: var(--text-on-emerald);
  border-color: var(--emerald);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.2);
}

.btn--primary:hover {
  background: var(--emerald-light);
  border-color: var(--emerald-light);
  color: var(--text-on-emerald);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.3);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

[data-theme="light"] .btn--secondary:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn--gold {
  background: var(--gold);
  color: var(--text-on-gold);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.2);
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--text-on-gold);
}

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

.btn--ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  min-height: 36px;
}

.btn--white {
  background: #fff;
  color: #09090b;
  border-color: #fff;
  font-weight: 700;
}

.btn--white:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  position: relative;
  padding: var(--space-3) 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: transparent;
  z-index: var(--z-nav);
}

.announcement-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent,
    rgba(52, 211, 153, 0.06) 20%,
    rgba(212, 168, 75, 0.06) 50%,
    rgba(52, 211, 153, 0.06) 80%,
    transparent
  );
  z-index: -1;
}

.announcement-bar__inner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

[data-theme="light"] .announcement-bar__inner {
  background: rgba(0, 0, 0, 0.02);
}

.announcement-bar__link {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-bar__arrow {
  font-size: var(--text-base);
  transition: transform var(--transition-fast);
}

.announcement-bar__link:hover .announcement-bar__arrow {
  transform: translateX(3px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-base);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.nav__logo:hover { color: var(--text-primary); opacity: 1; }

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--emerald));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.nav__link:hover { color: var(--text-primary); opacity: 1; }

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

.nav__theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.nav__theme-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-pill);
}

.nav__hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  padding: var(--space-8) var(--space-6);
  z-index: var(--z-nav);
  flex-direction: column;
  gap: var(--space-4);
  overflow-y: auto;
}

.nav__mobile-menu[aria-hidden="false"] { display: flex; }

.nav__mobile-menu a {
  font-size: var(--text-lg);
  padding: var(--space-4) 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__hamburger { display: flex; }
}

/* ---------- Hero Section ---------- */
.hero {
  padding: var(--nav-height) 0 var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Gradient orbs — the big depth glow */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: var(--z-orb);
}

.hero__orb--emerald {
  width: 600px;
  height: 600px;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
}

.hero__orb--gold {
  width: 400px;
  height: 400px;
  top: 20%;
  right: -10%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
}

.hero__orb--bottom {
  width: 800px;
  height: 400px;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(52, 211, 153, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .hero__orb--emerald {
  background: radial-gradient(circle, rgba(15, 107, 77, 0.08) 0%, transparent 70%);
}
[data-theme="light"] .hero__orb--gold {
  background: radial-gradient(circle, rgba(179, 135, 42, 0.06) 0%, transparent 70%);
}
[data-theme="light"] .hero__orb--bottom {
  background: radial-gradient(ellipse, rgba(15, 107, 77, 0.04) 0%, transparent 70%);
}

/* Floating 3D elements */
.hero__float {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.hero__float--left {
  top: 28%;
  left: 6%;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.6;
  animation: floatA 8s ease-in-out infinite;
  transform: perspective(600px) rotateY(20deg) rotateX(-10deg);
  box-shadow: 0 20px 60px rgba(52, 211, 153, 0.2);
}

.hero__float--right {
  top: 22%;
  right: 8%;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  opacity: 0.5;
  animation: floatB 10s ease-in-out infinite;
  transform: perspective(600px) rotateY(-25deg) rotateX(15deg);
  box-shadow: 0 20px 60px rgba(212, 168, 75, 0.15);
}

.hero__float--center {
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--emerald-light), var(--gold));
  border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
  opacity: 0.35;
  animation: floatC 12s ease-in-out infinite;
  box-shadow: 0 15px 40px rgba(52, 211, 153, 0.1);
}

@keyframes floatA {
  0%, 100% { transform: perspective(600px) rotateY(20deg) rotateX(-10deg) translateY(0); }
  50% { transform: perspective(600px) rotateY(25deg) rotateX(-5deg) translateY(-20px); }
}

@keyframes floatB {
  0%, 100% { transform: perspective(600px) rotateY(-25deg) rotateX(15deg) translateY(0); }
  50% { transform: perspective(600px) rotateY(-20deg) rotateX(10deg) translateY(-15px); }
}

@keyframes floatC {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
  50% { transform: translateX(-50%) translateY(-25px) rotate(5deg); }
}

.hero__content {
  position: relative;
  z-index: 3;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--emerald);
  margin-bottom: var(--space-10);
}

[data-theme="light"] .hero__badge {
  background: rgba(15, 107, 77, 0.06);
  border-color: rgba(15, 107, 77, 0.12);
  color: var(--emerald-dark);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  margin-bottom: var(--space-8);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

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

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

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

@media (max-width: 768px) {
  .hero {
    padding: var(--nav-height) 0 var(--space-8);
    min-height: auto;
  }
  .hero__title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero__subtitle { font-size: var(--text-base); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__float { display: none; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.trust-bar__label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: var(--space-10);
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  opacity: 0.45;
}

.trust-bar__logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-32) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section__header h2 {
  margin-bottom: var(--space-6);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section__header p {
  margin: 0 auto;
  max-width: 520px;
  font-size: var(--text-lg);
  line-height: 1.7;
}

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 60%, transparent);
  -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: 1;
  transition: opacity var(--transition-base);
}

.feature-card:hover::before {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), rgba(255,255,255,0.06) 50%, rgba(212, 168, 75, 0.15));
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.25);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(52, 211, 153, 0.08);
  background: rgba(255, 255, 255, 0.07);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(212, 168, 75, 0.12));
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

[data-theme="light"] .feature-card__icon {
  background: linear-gradient(135deg, rgba(15, 107, 77, 0.08), rgba(179, 135, 42, 0.06));
  border-color: rgba(15, 107, 77, 0.1);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--emerald);
}

[data-theme="light"] .feature-card__icon svg {
  color: var(--emerald-dark);
}

.feature-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.feature-card__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* ---------- Product Mockup ---------- */
.mockup-section {
  padding: var(--space-24) 0 var(--space-32);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.mockup-section__orb {
  position: absolute;
  width: 600px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.mockup-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.mockup-browser {
  background: #1a1a20;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(52, 211, 153, 0.10);
  transform: perspective(1200px) rotateX(2deg);
  transition: transform var(--transition-slow);
}

.mockup-browser:hover {
  transform: perspective(1200px) rotateX(0deg);
}

.mockup-browser__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.mockup-browser__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
}

.mockup-browser__dot:nth-child(1) { background: #ff5f57; }
.mockup-browser__dot:nth-child(2) { background: #febc2e; }
.mockup-browser__dot:nth-child(3) { background: #28c840; }

.mockup-browser__url {
  flex: 1;
  margin-left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.mockup-browser__body {
  padding: var(--space-8);
  min-height: 400px;
  background: #121215;
}

/* Dashboard mockup content */
.mockup-dash {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-6);
  min-height: 360px;
}

@media (max-width: 768px) {
  .mockup-dash { grid-template-columns: 1fr; }
  .mockup-dash__sidebar { display: none; }
}

.mockup-dash__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mockup-dash__sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
}

.mockup-dash__sidebar-item--active {
  background: rgba(52, 211, 153, 0.14);
  color: var(--emerald);
}

.mockup-dash__sidebar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

.mockup-dash__sidebar-item--active .mockup-dash__sidebar-dot {
  opacity: 1;
}

.mockup-dash__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mockup-dash__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dash__title {
  font-size: var(--text-lg);
  font-weight: 600;
}

.mockup-dash__badge {
  padding: var(--space-1) var(--space-3);
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
}

.mockup-dash__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mockup-dash__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.mockup-dash__row-name {
  color: var(--text-primary);
  font-weight: 500;
}

.mockup-dash__row-status {
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
}

.mockup-dash__row-status--paid {
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
}

.mockup-dash__row-status--due {
  background: rgba(212, 168, 75, 0.1);
  color: var(--gold);
}

.mockup-dash__row-status--overdue {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

@media (max-width: 768px) {
  .mockup-section { padding: var(--space-16) 0; }
  .mockup-browser { transform: none; }
  .mockup-browser:hover { transform: none; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.08);
}

.pricing-card--featured {
  border: 1px solid rgba(52, 211, 153, 0.40);
  background: rgba(52, 211, 153, 0.08);
  box-shadow: var(--shadow-glow), 0 0 60px rgba(52, 211, 153, 0.12);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: var(--text-on-emerald);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: var(--space-1);
}

.pricing-card__price-unit {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-tertiary);
}

[data-theme="light"] .pricing-card__price {
  color: var(--emerald-dark);
}

.pricing-card__price-note {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-8);
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-8);
}

.pricing-card__features li {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.pricing-card__features li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(52, 211, 153, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

[data-theme="light"] .pricing-card__features li::before {
  background-color: rgba(15, 107, 77, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f6b4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.pricing-card__cta { width: 100%; }

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

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--space-32) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-section__orb {
  position: absolute;
  width: 700px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(52, 211, 153, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: var(--space-6);
  font-size: clamp(2rem, 4vw, 3.25rem);
  position: relative;
  z-index: 2;
}

.cta-section p {
  color: var(--text-secondary);
  margin: 0 auto var(--space-10);
  max-width: 500px;
  font-size: var(--text-lg);
  position: relative;
  z-index: 2;
}

.cta-section .btn {
  position: relative;
  z-index: 2;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-4);
  max-width: 300px;
}

.footer__heading {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-5);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--text-primary); opacity: 1; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.footer__bottom-links a {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.footer__bottom-links a:hover { color: var(--text-primary); opacity: 1; }

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  .footer__bottom-links { justify-content: center; }
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cookie);
  background: var(--bg-card-solid);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  padding: var(--space-6);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-consent[aria-hidden="false"] { transform: translateY(0); }

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-consent__text {
  flex: 1;
  min-width: 280px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-consent__text a { text-decoration: underline; }

.cookie-consent__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-consent__inner { flex-direction: column; text-align: center; }
  .cookie-consent__actions { width: 100%; flex-direction: column; }
  .cookie-consent__actions .btn { width: 100%; }
}

/* ---------- Legal Pages ---------- */
.legal-page {
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
  min-height: 100vh;
}

.legal-page__header {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}

.legal-page__header h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.legal-page__meta {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.legal-content { max-width: 720px; }

.legal-content h2 {
  font-size: var(--text-2xl);
  margin: var(--space-12) 0 var(--space-4);
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin: var(--space-8) 0 var(--space-3);
}

.legal-content p {
  margin-bottom: var(--space-4);
  max-width: none;
  color: var(--text-secondary);
}

.legal-content ul, .legal-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
}

.legal-content strong { color: var(--text-primary); }
.legal-content a { text-decoration: underline; }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}

.legal-content th, .legal-content td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.legal-content th {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.legal-content td { color: var(--text-secondary); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: var(--space-6); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-label--required::after {
  content: ' *';
  color: #ef4444;
}

.form-input, .form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  font-size: var(--text-sm);
  color: #ef4444;
  margin-top: var(--space-1);
}

.form-helper {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check__input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--emerald);
  cursor: pointer;
}

.form-check__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-8);
}

.breadcrumb a { color: var(--text-tertiary); }
.breadcrumb a:hover { color: var(--emerald); opacity: 1; }
.breadcrumb__separator { color: var(--text-tertiary); }

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

/* ---------- Print Styles ---------- */
@media print {
  .nav, .footer, .cookie-consent, .cta-section { display: none; }
  .legal-page { padding-top: 0; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
