/* ==========================================================================
   Bexio Integration by Lieferchef - Landing Page
   Modern, Bento-Grid, Swiss Professional Design
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
  /* Colors - Primary (Emerald Green) */
  --color-primary: #059669;
  --color-primary-dark: #047857;
  --color-primary-darker: #065F46;
  --color-primary-light: #34D399;
  --color-primary-lighter: #D1FAE5;
  --color-primary-10: rgba(5, 150, 105, 0.1);
  --color-primary-20: rgba(5, 150, 105, 0.2);

  /* Colors - Neutral */
  --color-dark: #0F172A;
  --color-dark-lighter: #1E293B;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;
  --color-text: #0F172A;
  --color-text-secondary: #64748B;
  --color-text-tertiary: #94A3B8;
  --color-text-inverse: #FFFFFF;

  /* Colors - Semantic */
  --color-success: #10B981;
  --color-success-light: #D1FAE5;
  --color-warning: #F59E0B;
  --color-warning-light: #FEF3C7;
  --color-error: #EF4444;
  --color-error-light: #FEE2E2;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #059669 0%, #047857 100%);
  --gradient-primary-light: linear-gradient(135deg, #34D399 0%, #059669 100%);
  --gradient-hero: linear-gradient(180deg, #F8FAFC 0%, #D1FAE5 50%, #F8FAFC 100%);
  --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --gradient-text: linear-gradient(135deg, #059669 0%, #047857 50%, #34D399 100%);
  --gradient-cta: linear-gradient(135deg, #059669 0%, #047857 60%, #065F46 100%);

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

  /* Typography Scale */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;

  /* Border Radius */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-inner: inset 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-primary: 0 4px 14px rgba(5, 150, 105, 0.25);
  --shadow-primary-lg: 0 10px 30px rgba(5, 150, 105, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 500;
  --z-modal: 900;
  --z-header: 1000;
  --z-toast: 1100;

  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-6);
}


/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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

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

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

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: var(--font-extrabold);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--font-extrabold);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
}

p {
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

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

.text-mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  letter-spacing: -0.01em;
}


/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section--dark {
  background: var(--gradient-dark);
  color: var(--color-text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--color-text-inverse);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section__header,
.section-header {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-12);
}

.section__header p,
.section-header__subtitle {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

.grid {
  display: grid;
  gap: var(--space-6);
}


/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  line-height: 1;
  white-space: nowrap;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-primary-lg);
  transform: translateY(-1px);
}

.btn--primary:active {
  background: var(--color-primary-darker);
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

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

.btn--secondary:active {
  background: var(--color-primary-20);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-primary);
}

.btn--outline:active {
  background: var(--color-primary-dark);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn--full {
  width: 100%;
}

.btn svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}


/* ==========================================================================
   6. Header / Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
  background: rgba(248, 250, 252, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  padding: var(--space-3) 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav__logo-text span {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-weight: var(--font-normal);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

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

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--active {
  color: var(--color-primary);
}

.nav__link--active::after {
  transform: scaleX(1);
}

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

.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  position: relative;
}

.nav__toggle:hover {
  background: var(--color-primary-10);
}

.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
}

.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav__toggle-bar::before {
  top: -6px;
}

.nav__toggle-bar::after {
  top: 6px;
}

/* Hamburger open state */
.nav__toggle--open .nav__toggle-bar {
  background: transparent;
}

.nav__toggle--open .nav__toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle--open .nav__toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: calc(var(--z-header) - 1);
  padding: calc(var(--space-32) + var(--space-4)) var(--space-6) var(--space-8);
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}

.nav__mobile--open {
  display: flex;
}

.nav__mobile .nav__link {
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-2);
  border-bottom: 1px solid var(--color-border-light);
}

.nav__mobile .nav__link::after {
  display: none;
}

.nav__mobile .btn {
  margin-top: var(--space-4);
}


/* ==========================================================================
   7. Hero Section
   ========================================================================== */

.hero {
  padding-top: var(--space-32);
  padding-bottom: var(--space-24);
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, var(--color-primary-10) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

.hero__content {
  max-width: 640px;
  position: relative;
  z-index: var(--z-base);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
  background: var(--color-primary-10);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  border: 1px solid var(--color-primary-20);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-success);
  margin-left: var(--space-2);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: var(--font-extrabold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 540px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

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

.hero__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

/* Hero Mockup (Browser-Window-Stil) */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mockup {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
}

.hero__mockup-header {
  display: flex;
  gap: 6px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero__mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-border);
}

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

.hero__mockup-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero__mockup-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.hero__mockup-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.hero__mockup-icon--woo {
  background: #7B2D8E;
  color: white;
}

.hero__mockup-icon--bexio {
  background: var(--color-primary);
  color: white;
}

.hero__mockup-arrow {
  color: var(--color-text-tertiary);
  font-size: var(--text-lg);
}

.hero__mockup-label {
  flex: 1;
  color: var(--color-text-secondary);
}

.hero__mockup-status {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.hero__mockup-status--success {
  background: var(--color-success-light);
  color: var(--color-success);
}

.hero__mockup-status--warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

/* Hero Highlights (unterhalb Hero) */
.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  grid-column: 1 / -1;
}

.hero__highlight {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
}

.hero__highlight svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero__demo-hint {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

.hero__demo-hint a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__demo-hint a:hover {
  color: var(--color-primary-dark);
}


/* ==========================================================================
   8. Trust Bar
   ========================================================================== */

.trust-bar {
  padding: var(--space-10) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.trust-bar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
}

.trust-bar__item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}


/* ==========================================================================
   9. Features Bento Grid
   ========================================================================== */

.features {
  padding: var(--space-20) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.bento-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary-20);
}

.bento-card--large {
  grid-column: span 1;
}

.bento-card--highlight {
  background: var(--gradient-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.bento-card--highlight:hover {
  box-shadow: var(--shadow-primary-lg);
}

.bento-card--highlight .bento-card__desc {
  color: rgba(255, 255, 255, 0.85);
}

.bento-card--highlight .bento-card__icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-text-inverse);
}

.bento-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-10);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}

.bento-card__icon svg {
  width: 24px;
  height: 24px;
}

.bento-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.bento-card--highlight .bento-card__title {
  color: var(--color-text-inverse);
}

.bento-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.bento-card__visual {
  margin-top: var(--space-6);
  border-radius: var(--radius-md);
  overflow: hidden;
}


/* ==========================================================================
   10. How It Works (Steps)
   ========================================================================== */

.how-it-works {
  padding: var(--space-20) 0;
  background: var(--color-bg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Connecting line */
.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary-light), var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
}

.step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  position: relative;
  z-index: var(--z-base);
}

.step__number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-primary), 0 0 0 4px var(--color-bg);
}

.step__content {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.step__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
}

.step__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}


/* ==========================================================================
   11. Pricing Card
   ========================================================================== */

.pricing {
  text-align: center;
  padding: var(--space-20) 0;
}

.pricing-card {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-surface);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.pricing-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--color-primary-10);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}

.pricing-card__price-wrapper {
  margin-bottom: var(--space-2);
}

.pricing-card__currency {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  vertical-align: super;
  color: var(--color-text-secondary);
}

.pricing-card__price {
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-card__period {
  font-size: var(--text-lg);
  color: var(--color-text-tertiary);
  font-weight: var(--font-normal);
}

.pricing-card__yearly {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.pricing-card__divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: var(--space-8) 0;
}

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

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

.pricing-card__check,
.pricing-card__feature-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-card__feature-icon svg {
  width: 20px;
  height: 20px;
}

.pricing-card__cta {
  width: 100%;
}

.pricing-card__guarantee {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

.pricing-card__demo {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  text-align: center;
}

.pricing-card__demo a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-card__demo a:hover {
  color: var(--color-primary-dark);
}


/* ==========================================================================
   12. FAQ Accordion
   ========================================================================== */

.faq {
  padding: var(--space-20) 0;
}

.faq__list,
.faq-list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-tertiary);
  transition: transform var(--transition-base);
}

.faq-item__icon svg {
  width: 20px;
  height: 20px;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
  padding: 0;
}

.faq-item__answer-inner {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  padding-bottom: var(--space-5);
}

.faq-item--open .faq-item__answer {
  max-height: 500px;
}

.faq-item--open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item--open .faq-item__question {
  color: var(--color-primary);
}


/* ==========================================================================
   13. CTA Section
   ========================================================================== */

.cta {
  background: var(--gradient-cta);
  color: var(--color-text-inverse);
  text-align: center;
  border-radius: var(--radius-2xl);
  padding: var(--space-16);
  margin: var(--space-10) var(--container-padding) var(--space-16);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--font-extrabold);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.cta__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.cta .btn--primary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-surface);
  box-shadow: var(--shadow-lg);
}

.cta .btn--primary:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}


/* ==========================================================================
   14. Footer
   ========================================================================== */

.footer {
  background: var(--color-dark);
  color: var(--color-text-inverse);
  padding: var(--space-16) 0 var(--space-8);
}

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

.footer__brand {
  max-width: 280px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.footer__brand-logo img {
  height: 28px;
  width: auto;
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--leading-relaxed);
}

.footer__col {
  min-width: 0;
}

.footer__title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-inverse);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

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

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__link:hover {
  color: rgba(255, 255, 255, 1);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   15. Forms
   ========================================================================== */

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

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

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-surface);
  transition: all var(--transition-fast);
  outline: none;
}

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

.form-input:hover {
  border-color: var(--color-text-tertiary);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-10);
}

.form-input--error {
  border-color: var(--color-error);
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

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

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

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}


/* ==========================================================================
   16. Cards (Generic)
   ========================================================================== */

.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card--hover:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary-20);
}

.card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.card__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card--hover:hover .card__image img {
  transform: scale(1.03);
}

.card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
}

.card__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}


/* ==========================================================================
   17. Badges & Tags
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  line-height: 1;
  white-space: nowrap;
}

.badge--primary {
  background: var(--color-primary-10);
  color: var(--color-primary);
}

.badge--success {
  background: var(--color-success-light);
  color: var(--color-success);
}

.badge--warning {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

.badge--error {
  background: var(--color-error-light);
  color: var(--color-error);
}

.badge--dark {
  background: var(--color-dark);
  color: var(--color-text-inverse);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  background: var(--color-bg);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}


/* ==========================================================================
   18. Utilities
   ========================================================================== */

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margin top */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }

/* Margin bottom */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }

/* Display */
.hidden { display: none !important; }

.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;
}

/* Flex utilities */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }


/* ==========================================================================
   19. Animations
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up--visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s var(--transition-spring);
}

.scale-in--visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay classes for sequential reveal */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float {
  animation: float 6s ease-in-out infinite;
}

/* Shimmer effect for loading / highlights */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--color-border-light) 25%,
    var(--color-surface) 50%,
    var(--color-border-light) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}


/* ==========================================================================
   20. Responsive Breakpoints
   ========================================================================== */

/* ---------- Tablet (768px+) ---------- */
@media (min-width: 768px) {

  :root {
    --container-padding: var(--space-8);
  }

  .section {
    padding: var(--space-24) 0;
  }

  /* Navigation */
  .nav__links {
    display: flex;
  }

  .nav__actions {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  /* Hero */
  .hero {
    padding-top: var(--space-32);
  }

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

  .hero__highlights {
    justify-content: flex-start;
    gap: var(--space-8);
  }

  /* Bento Grid - 2 columns */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .bento-card--large {
    grid-column: span 2;
  }

  /* Steps - horizontal connector */
  .steps::before {
    left: 23px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* CTA */
  .cta {
    padding: var(--space-16) var(--space-12);
    margin: var(--space-10) var(--space-8) var(--space-16);
  }

  /* Pricing */
  .pricing-card {
    padding: var(--space-12) var(--space-12);
  }
}

/* ---------- Desktop (1024px+) ---------- */
@media (min-width: 1024px) {

  .section {
    padding: var(--space-24) 0;
  }

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

  /* Bento Grid - 3 columns */
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .bento-card--large {
    grid-column: span 2;
  }

  .bento-card {
    padding: var(--space-8);
  }

  /* Hero */
  .hero {
    min-height: 90vh;
    padding-bottom: var(--space-12);
  }

  .hero__title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
  }

  /* Steps */
  .steps {
    max-width: 720px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-16);
  }

  /* CTA - contained within container */
  .cta {
    margin: var(--space-10) auto var(--space-16);
    max-width: var(--container-max);
    padding: var(--space-16) var(--space-16);
  }
}

/* ---------- Large (1280px+) ---------- */
@media (min-width: 1280px) {

  :root {
    --container-padding: var(--space-6);
  }

  .hero .container {
    gap: var(--space-16);
  }

  .hero__title {
    font-size: 4rem;
  }

  .bento-grid {
    gap: var(--space-6);
  }

  .bento-card {
    padding: var(--space-10);
  }

  .nav__links {
    gap: var(--space-2);
  }

  .nav__link {
    padding: var(--space-2) var(--space-4);
  }
}

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

  .fade-in,
  .slide-up,
  .scale-in {
    opacity: 1;
    transform: none;
  }

  .float {
    animation: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .header,
  .nav__toggle,
  .cta,
  .footer {
    display: none;
  }

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

  .section {
    padding: 1rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }
}
