:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: 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='%23134252' 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");
  --select-caret-dark: 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='%23f5f5f5' 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");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
    
    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: 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='%23134252' 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");
    --select-caret-dark: 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='%23f5f5f5' 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");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
  
  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: 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='%23134252' 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");
  --select-caret-dark: 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='%23f5f5f5' 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");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  
  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

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

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

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

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

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

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

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

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

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

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

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

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

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.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;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Apple-Level TheftShield Website - Mind-Blowing Design */

/* Custom Apple-inspired properties */
:root {
  --apple-black: #000000;
  --apple-white: #ffffff;
  --apple-gray: #1d1d1f;
  --apple-light-gray: #f5f5f7;
  --apple-blue: #007aff;
  --apple-gold: #ffd700;
  --apple-silver: #e8e8ed;
  
  /* Typography - Apple style */
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  
  /* Massive typography scales */
  --text-ultra-massive: clamp(4rem, 12vw, 12rem);
  --text-massive: clamp(3rem, 8vw, 8rem);
  --text-huge: clamp(2rem, 6vw, 6rem);
  --text-large: clamp(1.5rem, 4vw, 3rem);
  --text-medium: clamp(1.25rem, 2.5vw, 2rem);
  
  /* Premium shadows and effects */
  --shadow-premium: 0 32px 64px rgba(0, 0, 0, 0.25);
  --shadow-floating: 0 16px 32px rgba(0, 0, 0, 0.15);
  --shadow-subtle: 0 8px 24px rgba(0, 0, 0, 0.1);
  
  /* Animation curves - Apple's signature easing */
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing system */
  --space-massive: 200px;
  --space-huge: 120px;
  --space-large: 80px;
  --space-medium: 48px;
  --space-small: 24px;
  --space-tiny: 12px;
}

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-text);
  background: var(--apple-black);
  color: var(--apple-white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Loading Screen - Premium animation */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--apple-black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 1s var(--ease-smooth), visibility 1s var(--ease-smooth);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  max-width: 400px;
}

.loading-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--apple-white);
  margin-bottom: 40px;
  letter-spacing: -2px;
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
  100% { text-shadow: 0 0 40px rgba(255, 255, 255, 0.6); }
}

.loading-progress {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--apple-blue), var(--apple-gold));
  width: 0%;
  animation: progressLoad 3s ease-in-out;
  border-radius: 1px;
}

@keyframes progressLoad {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.loading-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Navigation - Apple style glass morphism */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease-smooth);
}

.mobile-nav-toggle {
  display: none;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--apple-white);
  letter-spacing: -1px;
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 400;
  font-size: 17px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--apple-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--apple-blue);
  transition: all 0.3s var(--ease-smooth);
  transform: translateX(-50%);
}

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

.nav-cta {
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
}

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

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) contrast(1.3);
  opacity: 0.7;
}

.hero-video-controls {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
}

.video-play-pause-btn {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 16px;
}

.video-play-pause-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Fallback gradient background for when video doesn't load */
.hero-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 122, 255, 0.1) 70%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 2;
}

/* Additional professional overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at 20% 50%,
    rgba(0, 122, 255, 0.15) 0%,
    transparent 50%
  ),
  radial-gradient(
    ellipse at 80% 20%,
    rgba(255, 215, 0, 0.1) 0%,
    transparent 50%
  );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1200px;
  padding: 0 40px;
}

/* Enhanced Hero Typography */
.hero-badge {
  display: inline-block;
  background: rgba(0, 122, 255, 0.2);
  color: var(--apple-blue);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 122, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-headline {
  font-family: var(--font-display);
  margin-bottom: 32px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.headline-emphasis {
  font-size: var(--text-huge);
  font-weight: 900;
  color: #ffd700 !important;
  line-height: 0.9;
  letter-spacing: -3px;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.9) !important;
  animation: numberGlow 3s ease-in-out infinite;
  position: relative;
  opacity: 1 !important;
  z-index: 10;
}

@keyframes numberGlow {
  0%, 100% { 
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.9); 
  }
  50% { 
    text-shadow: 0 0 60px rgba(255, 215, 0, 1), 0 0 120px rgba(255, 215, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.9); 
  }
}

.headline-main {
  font-size: var(--text-massive);
  font-weight: 800;
  color: var(--apple-white);
  line-height: 0.8;
  letter-spacing: -4px;
  margin: 8px 0;
}

.headline-subtitle {
  font-size: var(--text-medium);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -1px;
  margin-top: 16px;
}

.hero-subheadline {
  font-size: var(--text-medium);
  font-weight: 400;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content .hero-stats {
  display: flex !important;
  justify-content: center;
  gap: 60px;
  margin: 48px 0;
  padding: 32px 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-content .stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.hero-content .stat-item:hover {
  transform: translateY(-4px);
}

.hero-content .stat-number {
  display: block !important;
  font-size: var(--text-huge) !important;
  font-weight: 900 !important;
  color: #ffd700 !important;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  animation: statGlow 3s ease-in-out infinite;
  font-family: var(--font-family-base) !important;
  white-space: nowrap;
}

@keyframes statGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
  50% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.2); }
}

.hero-content .stat-label {
  display: block !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.hero-content .stat-context {
  display: block !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-style: italic;
  letter-spacing: 0.5px;
}

.hero-reveal {
  font-size: var(--text-large);
  font-weight: 600;
  color: var(--apple-gold);
  margin-bottom: 60px;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  cursor: pointer;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--apple-white), transparent);
  margin: 0 auto 16px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

.scroll-text {
  font-size: 14px;
  opacity: 0.8;
  color: var(--apple-white);
}

/* Section containers */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =====================================
   APPLE-STYLE DEMO SECTION - WORLD CLASS
   ===================================== */
.demo-showcase-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.demo-showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 70%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.demo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

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

.demo-badge {
  display: inline-block;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.demo-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -2px;
}

.demo-subtitle {
  font-size: 20px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
  font-weight: 400;
}

.demo-video-container {
  position: relative;
  margin-bottom: 60px;
}

.demo-video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
              0 0 0 1px rgba(255, 255, 255, 0.5);
  background: #000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-video-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.6);
}

.demo-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.demo-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.demo-video-wrapper:hover .demo-play-overlay {
  opacity: 1;
}

.demo-play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.demo-play-button:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
}

.play-triangle {
  width: 0;
  height: 0;
  border-left: 20px solid #1e293b;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.demo-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.demo-stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.demo-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1;
  margin-bottom: 8px;
}

.demo-stat-label {
  display: block;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.demo-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
}

/* =====================================
   ANALYTICS INTELLIGENCE SECTION - WORLD CLASS
   ===================================== */
.analytics-intelligence-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.analytics-intelligence-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.analytics-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.analytics-badge {
  display: inline-block;
  background: linear-gradient(45deg, #10b981, #059669);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.analytics-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 48px;
}

.intelligence-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.intelligence-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.intelligence-feature:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  flex-shrink: 0;
}

.feature-content h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}

.analytics-dashboard {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.analytics-dashboard:hover {
  transform: translateY(-8px) rotateY(-2deg);
  box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.15);
}

.dashboard-image {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insight-bubble {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 100px;
  animation: bubbleFloat 3s ease-in-out infinite;
}

.insight-bubble.insight-2 {
  animation-delay: 1.5s;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.insight-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.insight-value {
  font-size: 18px;
  font-weight: 700;
  color: #10b981;
}

/* =====================================
   PREMIUM ENVIRONMENT SHOWCASE - LUXURY
   ===================================== */
.environment-showcase-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  padding: 120px 0;
  position: relative;
}

.showcase-header {
  text-align: center;
  margin-bottom: 80px;
}

.showcase-header .massive-text {
  color: #1e293b;
  margin-bottom: 24px;
}

.showcase-subtitle {
  font-size: 20px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.environment-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.environment-image-container:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 70px -12px rgba(0, 0, 0, 0.2);
}

.environment-image {
  width: 100%;
  height: auto;
  display: block;
}

.environment-overlay {
  position: absolute;
  top: 24px;
  right: 24px;
}

.detection-indicator {
  background: rgba(220, 38, 38, 0.95);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse {
  0%, 100% { 
    background: rgba(220, 38, 38, 0.95);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }
  50% { 
    background: rgba(220, 38, 38, 1);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}

.detection-pulse {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1s ease-in-out infinite;
}

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

.environment-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.env-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.env-feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.env-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  flex-shrink: 0;
}

.env-feature span {
  font-size: 16px;
  font-weight: 500;
  color: #1e293b;
}

/* Premium Phone Showcase */
.premium-phone-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}

.alert-phone-image {
  max-width: 350px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-phone-image:hover {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.2));
}

/* Enhanced Demo Modal Styling */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 80px;
  font-family: var(--font-family-base);
}

.modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .modal-content {
    margin: 20px;
    max-height: 95vh;
  }
}

/* Invisible Threat Section - Dramatic reveal */
.invisible-threat-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-massive) 0;
  background: var(--apple-black);
}

.threat-setup {
  text-align: center;
  margin-bottom: 80px;
}

.threat-image {
  position: relative;
  margin: 80px 0;
  text-align: center;
}

.threat-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), transparent);
  border-radius: 20px;
  pointer-events: none;
}

.threat-revelation {
  text-align: center;
  margin-top: 80px;
}

/* Typography - Massive impact */
.massive-text {
  font-family: var(--font-display);
  font-size: var(--text-massive);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -3px;
  text-align: center;
  margin-bottom: 60px;
  color: var(--apple-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.1);
  position: relative;
}

.ultra-massive-text {
  font-family: var(--font-display);
  font-size: var(--text-ultra-massive);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -6px;
  text-align: center;
  margin-bottom: 80px;
  color: var(--apple-white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(255, 255, 255, 0.15);
  position: relative;
}

.revelation-text {
  color: var(--apple-gold);
  text-shadow: 0 4px 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
  animation: subtleGlow 4s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% { text-shadow: 0 4px 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3); }
  50% { text-shadow: 0 4px 20px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4); }
}

/* AI Reveal Section - Spectacular showcase */
.ai-reveal-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-massive) 0;
  background: radial-gradient(ellipse at center, rgba(0, 122, 255, 0.1) 0%, var(--apple-black) 70%);
}

.reveal-content {
  text-align: center;
  max-width: 1200px;
}

.ai-showcase {
  position: relative;
  margin: 80px 0;
  display: inline-block;
}

.ai-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
}

.ai-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.scanning-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--apple-blue), transparent);
  animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.detection-points {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.point {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--apple-blue);
  border-radius: 50%;
  animation: pointPulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px var(--apple-blue);
}

.point-1 { top: 30%; left: 40%; animation-delay: 0s; }
.point-2 { top: 60%; right: 35%; animation-delay: 0.7s; }
.point-3 { bottom: 40%; left: 30%; animation-delay: 1.4s; }

@keyframes pointPulse {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

.tagline-text {
  font-size: var(--text-large);
  font-weight: 400;
  opacity: 0.9;
  font-style: italic;
}

/* Product Introduction - Floating elements */
.product-intro-section {
  padding: var(--space-massive) 0;
  background: linear-gradient(135deg, var(--apple-black) 0%, #1a1a2e 50%, var(--apple-black) 100%);
  text-align: center;
}

.product-badge {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-name {
  font-family: var(--font-display);
  font-size: var(--text-huge);
  font-weight: 900;
  margin-bottom: 30px;
  background: linear-gradient(45deg, var(--apple-white), var(--apple-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.product-tagline {
  font-size: var(--text-medium);
  opacity: 0.8;
  margin-bottom: 80px;
}

.product-hero {
  position: relative;
  display: inline-block;
  margin: 60px 0;
}

.product-image {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
  animation: productFloat 6s ease-in-out infinite;
}

@keyframes productFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateY(5deg); }
}

.floating-stats {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.stat-bubble {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 16px 24px;
  text-align: center;
  animation: statFloat 4s ease-in-out infinite;
  box-shadow: var(--shadow-floating);
}

.stat-1 {
  top: 20%;
  left: -60px;
  animation-delay: 0s;
}

.stat-2 {
  top: 50%;
  right: -80px;
  animation-delay: 1.3s;
}

.stat-3 {
  bottom: 30%;
  left: -40px;
  animation-delay: 2.6s;
}

.stat-4 {
  top: 75%;
  right: -60px;
  animation-delay: 3.9s;
}

.stat-5 {
  top: 15%;
  left: -60px;
  animation-delay: 5.2s;
}

.stat-6 {
  bottom: 60%;
  right: -90px;
  animation-delay: 6.5s;
}

@keyframes statFloat {
  0%, 100% { opacity: 0.8; transform: translateY(0) scale(0.9); }
  50% { opacity: 1; transform: translateY(-10px) scale(1); }
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--apple-blue);
  margin-bottom: 4px;
}

.stat-display {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--apple-blue);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Feature Reveals - Scenario cards */
.feature-reveals-section {
  padding: var(--space-massive) 0;
  background: var(--apple-black);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-large);
  font-weight: 700;
  text-align: center;
  margin-bottom: 100px;
  letter-spacing: -1px;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 60px;
  margin-top: 80px;
}

.scenario-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s var(--ease-apple);
}

.scenario-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: var(--shadow-premium);
  border-color: rgba(255, 255, 255, 0.3);
}

.scenario-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.scenario-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.scenario-card:hover .scenario-image img {
  transform: scale(1.1);
}

.detection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.scenario-card:hover .detection-overlay {
  opacity: 1;
}

.detection-box {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 40%;
  height: 40%;
  border: 2px solid var(--apple-blue);
  border-radius: 8px;
  animation: detectionPulse 1.5s ease-in-out infinite;
}

@keyframes detectionPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.alert-pulse {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  background: #ff4444;
  border-radius: 50%;
  animation: alertBlink 1s ease-in-out infinite;
}

@keyframes alertBlink {
  0%, 100% { opacity: 0.3; box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
  50% { opacity: 1; box-shadow: 0 0 0 8px rgba(255, 68, 68, 0); }
}

.scenario-content {
  padding: 40px;
}

.scenario-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--apple-white);
}

.scenario-description {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.5;
}

.scenario-impact {
  font-size: 14px;
  font-weight: 600;
  color: var(--apple-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Technology Section */
.technology-section {
  padding: var(--space-massive) 0;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, var(--apple-black) 70%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  margin-top: 100px;
}

.tech-feature {
  text-align: center;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  transition: all 0.5s var(--ease-apple);
}

.tech-feature:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-floating);
}

.tech-icon {
  font-size: 4rem;
  margin-bottom: 32px;
  display: block;
}

.tech-feature h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--apple-white);
}

.tech-feature p {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.5;
}

/* Alerts Section */
.alerts-section {
  padding: var(--space-massive) 0;
  background: var(--apple-black);
}

.alerts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.alerts-subtitle {
  font-size: 24px;
  opacity: 0.8;
  margin-bottom: 60px;
  max-width: 500px;
}

.alert-features {
  margin-bottom: 60px;
}

.alert-item {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-item:last-child {
  border-bottom: none;
}

.response-time {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
}

.time-highlight {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--apple-blue);
}

.alerts-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 40px;
  padding: 20px;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--apple-black);
  border-radius: 30px;
  padding: 40px 20px;
  position: relative;
}

.notification-demo {
  padding: 20px 0;
}

.notification {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  animation: notificationSlide 2s ease-in-out infinite;
}

@keyframes notificationSlide {
  0% { transform: translateX(-100%); opacity: 0; }
  10%, 90% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

.notif-icon {
  font-size: 24px;
}

.notif-content {
  flex: 1;
}

.notif-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.notif-text {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.notif-time {
  font-size: 10px;
  opacity: 0.6;
}

/* Transformation Section */
.transformation-section {
  padding: var(--space-massive) 0;
  background: linear-gradient(135deg, var(--apple-black) 0%, #0f1419 50%, var(--apple-black) 100%);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 100px;
}

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

.comparison-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.before .comparison-title {
  color: #ff6b6b;
}

.after .comparison-title {
  color: var(--apple-blue);
}

.comparison-stats {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.negative .stat-value {
  color: #ff6b6b;
}

.positive .stat-value {
  color: var(--apple-blue);
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
  text-align: center;
}

.comparison-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.arrow {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, var(--apple-blue));
  position: relative;
  border-radius: 2px;
}

.arrow::after {
  content: '';
  position: absolute;
  right: -8px;
  top: -6px;
  width: 0;
  height: 0;
  border-left: 16px solid var(--apple-blue);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.arrow-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--apple-blue);
}

/* Results Section */
.results-section {
  padding: var(--space-massive) 0;
  background: var(--apple-black);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 100px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.5s var(--ease-apple);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-floating);
  border-color: rgba(255, 255, 255, 0.2);
}

.video-testimonial {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
  margin-bottom: 30px;
  cursor: pointer;
}

.video-testimonial video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Moving Testimonials Container - New Design */
.testimonials-container {
  overflow: hidden;
  position: relative;
  margin: 80px 0;
  mask: linear-gradient(90deg, 
    transparent,
    white 20%, 
    white 80%, 
    transparent
  );
  -webkit-mask: linear-gradient(90deg, 
    transparent,
    white 20%, 
    white 80%, 
    transparent
  );
}

.testimonials-track {
  display: flex;
  gap: 32px;
  animation: seamlessScroll 120s linear infinite;
  width: fit-content;
  will-change: transform;
}

/* SEAMLESS INFINITE SCROLL - Netflix/Apple Style */
@keyframes seamlessScroll {
  0% { 
    transform: translateX(0); 
  }
  50% { 
    transform: translateX(calc(-432px * 6)); 
  }
  50.01% { 
    transform: translateX(0); 
  }
  100% { 
    transform: translateX(calc(-432px * 6)); 
  }
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-tile {
  flex-shrink: 0;
  width: 400px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent
  );
  transition: left 0.6s;
}

.testimonial-tile:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 122, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
              0 0 20px rgba(0, 122, 255, 0.1);
}

.testimonial-tile:hover::before {
  left: 100%;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(45deg, var(--apple-blue), #0066ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.author-details {
  flex: 1;
}

.author-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--apple-white);
  margin-bottom: 2px;
}

.author-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

.company-name {
  font-size: 13px;
  color: var(--apple-gold);
  font-weight: 500;
}

.rating {
  font-size: 16px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.metric {
  background: rgba(0, 122, 255, 0.2);
  color: var(--apple-blue);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0, 122, 255, 0.3);
}

/* Responsive Design for Moving Testimonials */
@media (max-width: 768px) {
  .testimonials-track {
    animation: seamlessScrollMobile 80s linear infinite;
  }
  
  .testimonial-tile {
    width: 300px;
    padding: 24px;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .testimonial-text {
    font-size: 14px;
  }
  
  .testimonial-metrics {
    gap: 8px;
  }
  
  .metric {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  @keyframes seamlessScrollMobile {
    0% { 
      transform: translateX(0); 
    }
    50% { 
      transform: translateX(calc(-332px * 6)); 
    }
    50.01% { 
      transform: translateX(0); 
    }
    100% { 
      transform: translateX(calc(-332px * 6)); 
    }
  }

  /* Demo Section Mobile */
  .demo-showcase-section {
    padding: 80px 0;
  }
  
  .demo-container {
    padding: 0 20px;
  }
  
  .demo-headline {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .demo-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .demo-stats {
    gap: 20px;
  }
  
  .demo-stat-item {
    padding: 16px;
    min-width: 120px;
  }
  
  .demo-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn--large {
    width: 100%;
    max-width: 280px;
  }

  /* Analytics Section Mobile */
  .analytics-intelligence-section {
    padding: 80px 0;
  }
  
  .analytics-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .intelligence-features {
    gap: 20px;
  }
  
  .intelligence-feature {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  /* Environment Showcase Mobile */
  .environment-showcase-section {
    padding: 80px 0;
  }
  
  .environment-display {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .environment-features {
    gap: 20px;
  }
  
  .env-feature {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .alert-phone-image {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .testimonial-tile {
    width: 280px;
    padding: 20px;
  }
  
  .testimonials-track {
    gap: 20px;
    animation: scrollSmall 35s linear infinite;
  }
  
  .author-name {
    font-size: 15px;
  }
  
  .author-title {
    font-size: 13px;
  }
  
  .company-name {
    font-size: 12px;
  }
  
  @keyframes scrollSmall {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 6)); }
  }
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}

.play-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid var(--apple-white);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.quote-mark {
  font-size: 80px;
  color: var(--apple-blue);
  line-height: 0.5;
  margin-bottom: 20px;
  font-family: serif;
}

.testimonial-quote {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.author-name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}

.author-business {
  opacity: 0.8;
  font-size: 16px;
}

.author-credentials {
  opacity: 0.6;
  font-size: 14px;
  margin-top: 4px;
  font-style: italic;
}

.author-results {
  text-align: right;
}

.result-metric {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--apple-blue);
  margin-bottom: 4px;
}

.result-roi {
  font-size: 14px;
  color: var(--apple-gold);
  font-weight: 600;
}

/* Products Section */
.products-section {
  padding: var(--space-massive) 0;
  background: radial-gradient(ellipse at center, rgba(0, 122, 255, 0.03) 0%, var(--apple-black) 70%);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 100px;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-apple);
}

.product-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: var(--shadow-premium);
  border-color: rgba(255, 255, 255, 0.3);
}

.product-card .product-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, var(--apple-blue), var(--apple-gold));
  color: var(--apple-white);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-header {
  margin-bottom: 40px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.product-tagline {
  font-size: 18px;
  opacity: 0.8;
  font-style: italic;
}

.product-price {
  margin-bottom: 40px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--apple-blue);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  color: var(--apple-blue);
  line-height: 0.8;
}

.price-period {
  font-size: 20px;
  opacity: 0.8;
  margin-left: 8px;
}

.price-note {
  display: block;
  font-size: 14px;
  color: var(--apple-gold);
  margin-top: 12px;
  font-weight: 500;
}

.product-features {
  text-align: left;
  margin-bottom: 40px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:last-child {
  border-bottom: none;
}

.feature::before {
  content: '✓';
  color: var(--apple-blue);
  font-weight: bold;
  flex-shrink: 0;
}

.product-ideal {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 16px;
  font-size: 14px;
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 40px;
}

.product-guarantee {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 20px;
}

/* One More Thing */
.one-more-thing {
  padding: 120px 0;
  background: var(--apple-black);
  text-align: center;
  margin-top: 120px;
}

.one-more-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 200;
  margin-bottom: 80px;
  letter-spacing: -1px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.one-more-revelation {
  margin-bottom: 80px;
}

.one-more-revelation .revelation-text {
  font-family: var(--font-display);
  font-size: var(--text-medium);
  font-weight: 700;
  margin-bottom: 40px;
}

.compatibility-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.big-number {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 900;
  color: var(--apple-blue);
  line-height: 0.8;
}

.stat-text {
  font-size: 24px;
  opacity: 0.8;
  max-width: 200px;
  text-align: left;
}

.benefit-text {
  font-size: 20px;
  font-style: italic;
  opacity: 0.9;
}

.one-more-demo {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.one-more-demo video {
  display: block;
  max-width: 100%;
  height: auto;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background 0.3s var(--ease-smooth);
}

.play-overlay:hover {
  background: rgba(0, 0, 0, 0.5);
}

.play-button-large {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
}

.play-button-large:hover {
  transform: scale(1.1);
  background: var(--apple-white);
}

.play-button-large .play-icon {
  border-left-color: var(--apple-black);
  border-left-width: 30px;
  border-top-width: 18px;
  border-bottom-width: 18px;
  margin-left: 6px;
}

/* Final CTA */
.final-cta-section {
  padding: var(--space-massive) 0;
  background: linear-gradient(135deg, var(--apple-black) 0%, #1a1a2e 50%, var(--apple-black) 100%);
  text-align: center;
}

.cta-subtitle {
  font-size: 24px;
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-urgency {
  margin-bottom: 60px;
}

.urgency-highlight {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--apple-gold);
  display: block;
  margin-bottom: 8px;
}

.urgency-text {
  font-size: 20px;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.cta-guarantees {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  opacity: 0.8;
}

.guarantee-icon {
  color: var(--apple-blue);
  font-weight: bold;
}

/* Buttons - Apple style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-apple);
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover:before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(45deg, var(--apple-blue), #0051d4);
  color: var(--apple-white);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
  border: 1px solid rgba(0, 122, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 122, 255, 0.4), 0 0 20px rgba(0, 122, 255, 0.2);
  background: linear-gradient(45deg, #0066ff, #0051d4);
  border-color: rgba(0, 122, 255, 0.5);
}

.btn--outline {
  background: rgba(0, 122, 255, 0.1);
  border: 2px solid var(--apple-blue);
  color: var(--apple-blue);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--outline:hover {
  background: rgba(0, 122, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.2);
  border-color: #0066ff;
}

.btn--hero {
  padding: 20px 48px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 60px;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 15px;
}

.btn--lg {
  padding: 20px 40px;
  font-size: 18px;
}

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

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.3s var(--ease-smooth);
}

.modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
}

.modal-content {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 60px;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-premium);
  transform: scale(0.95);
  transition: transform 0.3s var(--ease-bounce);
}

.modal:not(.hidden) .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 32px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s var(--ease-smooth);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--apple-white);
}

.modal-header {
  text-align: center;
  margin-bottom: 40px;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--apple-white);
}

.modal-header p {
  font-size: 16px;
  opacity: 0.8;
}

.modal-form .form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--apple-white);
  font-size: 16px;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(10px);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
  outline: none;
  border-color: var(--apple-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.form-note {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
  margin-top: 16px;
}

/* Animations */
@keyframes reveal-text {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes reveal-left {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reveal-right {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-chars {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation classes */
.reveal-text {
  animation: reveal-text 1.2s var(--ease-apple) forwards;
  opacity: 0;
}

.reveal-up {
  animation: reveal-up 1s var(--ease-apple) forwards;
  opacity: 0;
}

.reveal-scale {
  animation: reveal-scale 1s var(--ease-apple) forwards;
  opacity: 0;
}

.reveal-left {
  animation: reveal-left 1s var(--ease-apple) forwards;
  opacity: 0;
}

.reveal-right {
  animation: reveal-right 1s var(--ease-apple) forwards;
  opacity: 0;
}

.float-in {
  animation: float-in 1s var(--ease-apple) forwards;
  opacity: 0;
}

.reveal-chars {
  animation: reveal-chars 2s var(--ease-apple) forwards;
  opacity: 0;
}

/* Animation delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Enhanced Responsive Design */
@media (max-width: 1400px) {
  .section-container {
    padding: 0 40px;
  }
  
  .scenarios-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 1200px) {
  .section-container {
    padding: 0 32px;
  }
  
  .nav-container {
    padding: 16px 32px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .comparison-arrow {
    order: 1;
    transform: rotate(90deg);
  }
  
  .alerts-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .floating-stats {
    position: static;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
  }
  
  .stat-bubble {
    position: static;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  
  .nav-brand {
    font-size: 20px;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-video video {
    object-position: center;
  }
  
  .scenarios-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --text-ultra-massive: clamp(2.5rem, 12vw, 5rem);
    --text-massive: clamp(2rem, 10vw, 3.5rem);
    --text-huge: clamp(1.75rem, 8vw, 2.5rem);
    --text-large: clamp(1.5rem, 6vw, 2rem);
    --text-medium: clamp(1.25rem, 4vw, 1.5rem);
    --space-massive: 80px;
    --space-huge: 60px;
    --space-large: 40px;
  }
  
  .section-container {
    padding: 0 20px;
  }
  
  .nav-container {
    padding: 12px 20px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-cta {
    padding: 6px 16px;
    font-size: 14px;
  }
  
  .hero-section {
    min-height: 100vh;
    height: auto;
    padding: 80px 0 60px 0;
  }
  
  .hero-content {
    padding: 0 20px;
    text-align: center;
  }
  
  .hero-headline {
    line-height: 1.1;
    margin-bottom: 20px;
  }
  
  .hero-subheadline {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .hero-content .hero-stats {
    flex-direction: column !important;
    gap: 32px !important;
    margin: 32px 0 !important;
    padding: 24px 16px !important;
  }

  .hero-content .stat-number {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .hero-content .stat-label {
    font-size: 14px !important;
  }

  .hero-content .stat-context {
    font-size: 11px !important;
  }
  
  .hero-reveal {
    font-size: 1.25rem;
    margin-bottom: 40px;
  }
  
  .btn--hero {
    padding: 16px 32px;
    font-size: 16px;
  }
  
  .scenarios-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .scenario-image {
    height: 250px;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tech-feature {
    padding: 40px 30px;
  }
  
  .alerts-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .comparison-arrow {
    order: 1;
  }
  
  .arrow {
    transform: rotate(90deg);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .video-testimonial {
    height: 200px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-card {
    padding: 40px 30px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .btn--hero {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-guarantees {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .modal-content {
    padding: 30px 20px;
    margin: 16px;
    max-width: calc(100vw - 32px);
  }
  
  .floating-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 30px;
    padding: 0 20px;
  }
  
  .stat-bubble {
    position: static;
    animation: none;
    opacity: 1;
    transform: none;
    margin: 0;
  }
  
  .phone-mockup {
    width: 200px;
    height: 400px;
    margin: 0 auto;
  }
  
  .one-more-demo {
    max-width: 100%;
    height: auto;
  }
  
  .one-more-demo video {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  :root {
    --text-ultra-massive: clamp(2rem, 15vw, 4rem);
    --text-massive: clamp(1.75rem, 12vw, 3rem);
    --text-huge: clamp(1.5rem, 10vw, 2.25rem);
    --text-large: clamp(1.25rem, 8vw, 1.75rem);
    --text-medium: clamp(1.1rem, 6vw, 1.4rem);
    --space-massive: 60px;
    --space-huge: 50px;
    --space-large: 30px;
  }
  
  .section-container {
    padding: 0 16px;
  }
  
  .nav-container {
    padding: 10px 16px;
  }
  
  .nav-brand {
    font-size: 18px;
  }
  
  .nav-cta {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .hero-section {
    min-height: 100vh;
    height: auto;
    padding: 60px 0 50px 0;
  }
  
  .hero-headline {
    font-size: 2rem;
    letter-spacing: -1px;
    line-height: 1.1;
  }
  
  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .hero-content .hero-stats {
    gap: 24px !important;
    margin: 24px 0 !important;
    padding: 20px 12px !important;
  }

  .hero-content .stat-number {
    font-size: clamp(1.75rem, 10vw, 2.5rem) !important;
  }

  .hero-content .stat-label {
    font-size: 13px !important;
  }

  .hero-content .stat-context {
    font-size: 10px !important;
  }
  
  .hero-reveal {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .btn--hero {
    padding: 14px 28px;
    font-size: 15px;
  }
  
  .scenario-card {
    margin: 0;
  }
  
  .scenario-image {
    height: 200px;
  }
  
  .scenario-content {
    padding: 30px 20px;
  }
  
  .tech-feature {
    padding: 30px 20px;
  }
  
  .tech-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .product-card {
    padding: 30px 20px;
  }
  
  .product-price {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
  }
  
  .price-amount {
    font-size: 3rem;
  }
  
  .product-features {
    margin-bottom: 30px;
  }
  
  .feature {
    padding: 8px 0;
    font-size: 14px;
  }
  
  .compatibility-stat {
    flex-direction: column;
    gap: 8px;
  }
  
  .big-number {
    font-size: 4rem;
  }
  
  .stat-text {
    text-align: center;
    max-width: none;
    font-size: 1.1rem;
  }
  
  .phone-mockup {
    width: 160px;
    height: 320px;
  }
  
  .modal-content {
    padding: 24px 16px;
    margin: 12px;
  }
  
  .modal-header h2 {
    font-size: 24px;
  }
  
  .form-control {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .btn--full-width {
    padding: 14px 24px;
    font-size: 16px;
  }
  
  .floating-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .stat-bubble {
    padding: 12px 16px;
  }
  
  .stat-number {
    font-size: 18px;
  }
  
  .stat-label {
    font-size: 10px;
  }
}

/* Enhanced Mobile Navigation */
@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--apple-white);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .nav-link {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Video Responsiveness */
@media (max-width: 768px) {
  .hero-video video,
  .video-testimonial video,
  .one-more-demo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .video-testimonial {
    height: 250px;
    border-radius: 12px;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .play-icon {
    border-left-width: 15px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }
  
  .play-button-large {
    width: 80px;
    height: 80px;
  }
  
  .play-button-large .play-icon {
    border-left-width: 20px;
    border-top-width: 12px;
    border-bottom-width: 12px;
  }
}

/* Enterprise Enhancement */
.enterprise-badge {
  display: inline-block;
  background: linear-gradient(45deg, var(--apple-blue), var(--apple-gold));
  color: var(--apple-white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 12px;
}

.security-indicators {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.8;
}

.security-icon {
  color: var(--apple-blue);
  font-size: 16px;
}

/* Print styles */
@media print {
  .nav,
  .scroll-indicator,
  .modal,
  .loading-screen,
  .mobile-nav-toggle {
    display: none !important;
  }
  
  .hero-video,
  .video-testimonial,
  .one-more-demo {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section-container {
    padding: 0;
  }
}

/* Enhanced Mobile and Accessibility Features */
.touch-device .btn:hover {
  transform: none;
}

.high-dpi img,
.high-dpi video {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Smooth scrolling for better UX */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Focus indicators for accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 2px;
}

/* Loading state for better perceived performance */
.loading {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Enhanced button states */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Improved mobile touch targets */
@media (max-width: 768px) {
  .btn,
  .nav-link,
  .mobile-nav-toggle {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-link {
    padding: 12px 16px;
  }
}