/* AppRB Design System - Premium Tech Editorial */
/* Bold, modern, distinctive - avoids generic AI aesthetics */

/* ========================================
   CSS Variables - Design Tokens
   ======================================== */
:root {
  /* Primary Palette - Matches LOGO blue colors */
  --color-primary: #2AABE2;
  --color-primary-light: #5cc8f5;
  --color-primary-dark: #1E9AD6;
  --color-accent: #1890c0;
  --color-accent-deep: #0d6eaa;
  --color-accent-warm: #FF8C42;

  /* Neutrals - Warm undertones */
  --color-black: #0d1117;
  --color-gray-900: #1a1f26;
  --color-gray-800: #2d333b;
  --color-gray-700: #444c56;
  --color-gray-600: #57606a;
  --color-gray-500: #768390;
  --color-gray-400: #8b949e;
  --color-gray-300: #adbac7;
  --color-gray-200: #cdd9e5;
  --color-gray-100: #e6edf3;
  --color-gray-50: #f6f8fa;
  --color-white: #ffffff;

  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafb;
  --bg-tertiary: #f0f4f7;
  --bg-dark: #0d1117;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-blur: rgba(255, 255, 255, 0.7);

  /* Typography - Distinctive font choices */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout - Larger for PC */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 900px;

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Shadows - Subtle, layered */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.06);

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

/* ========================================
   Font Loading
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-gray-800);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ========================================
   Typography System
   ======================================== */
.headline-xl {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

.headline-lg {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-black);
}

.headline-md {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.headline-sm {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-black);
}

.subhead {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-gray-600);
}

.body-lg {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-gray-700);
}

.body-md {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-gray-600);
}

.body-sm {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-gray-500);
}

.label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ========================================
   Navigation - Larger, More Prominent
   ======================================== */
.apple-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-glass-blur);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--duration-normal) var(--ease-out);
}

.apple-nav.scrolled {
  background: var(--bg-glass);
  box-shadow: var(--shadow-sm);
}

.apple-nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-8);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.apple-nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.apple-nav-logo img {
  height: 36px;
  width: auto;
}

.apple-nav-logo span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.apple-nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

/* Top-level nav links (excluding dropdown items) */
.apple-nav-menu > a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-700);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

/* Underline effect only for direct top-level links */
.apple-nav-menu > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--duration-normal) var(--ease-out);
}

.apple-nav-menu > a:hover {
  color: var(--color-black);
  text-decoration: none;
}

.apple-nav-menu > a:hover::after {
  width: 100%;
}

/* Dropdown trigger styling (separate from underline links) */
.apple-nav-dropdown > a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-700);
  text-decoration: none;
  padding: var(--space-2) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.apple-nav-dropdown:hover > a {
  color: var(--color-black);
}

.apple-nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: var(--space-3) var(--space-6) !important;
  border-radius: var(--radius-full);
  font-size: 15px !important;
  font-weight: 600 !important;
  transition: all var(--duration-fast) var(--ease-out) !important;
  box-shadow: 0 2px 8px rgba(10, 147, 150, 0.25);
}

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

.apple-nav-cta:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 147, 150, 0.35);
}

/* Mobile Menu Toggle */
.apple-nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-out);
}

.apple-nav-toggle:hover {
  background: var(--color-gray-100);
}

.apple-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-gray-800);
  border-radius: 1px;
  transition: all var(--duration-fast) var(--ease-out);
}

/* ========================================
   Navigation Dropdown Menu - Clean & Minimal
   ======================================== */

/* Dropdown container */
.apple-nav-dropdown {
  position: relative;
}

/* Dropdown trigger */
.apple-nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Simple chevron */
.apple-nav-dropdown > a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s ease;
}

.apple-nav-dropdown:hover > a::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

/* Submenu panel */
.apple-nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  margin-top: 8px;
}

/* Hover bridge */
.apple-nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

/* Show submenu */
.apple-nav-dropdown:hover .apple-nav-submenu {
  opacity: 1;
  visibility: visible;
}

/* Menu items */
.apple-nav-submenu > a,
.apple-nav-submenu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--color-gray-700);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.15s ease, color 0.15s ease;
}

.apple-nav-submenu > a:hover,
.apple-nav-submenu-item > a:hover {
  background: var(--color-gray-50);
  color: var(--color-primary);
}

/* Nested submenu item */
.apple-nav-submenu-item {
  position: relative;
}

/* Arrow for nested menu */
.apple-nav-submenu-item > a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  flex-shrink: 0;
}

/* Nested submenu panel */
.apple-nav-nested {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 140px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  margin-left: 4px;
}

/* Hover bridge for nested */
.apple-nav-submenu-item::before {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  width: 12px;
  height: 100%;
}

/* Show nested menu */
.apple-nav-submenu-item:hover .apple-nav-nested {
  opacity: 1;
  visibility: visible;
}

/* Nested menu items */
.apple-nav-nested a {
  display: block;
  padding: 10px 14px;
  color: var(--color-gray-700);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.15s ease, color 0.15s ease;
}

.apple-nav-nested a:hover {
  background: var(--color-gray-50);
  color: var(--color-primary);
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .apple-nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    padding: 0;
    padding-left: var(--space-4);
    margin-top: var(--space-2);
    margin-left: 0;
  }

  .apple-nav-dropdown > a::after {
    display: none;
  }

  .apple-nav-dropdown::before {
    display: none;
  }

  .apple-nav-nested {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    padding: 0;
    padding-left: var(--space-4);
    margin-top: var(--space-1);
    margin-left: 0;
  }

  .apple-nav-submenu-item > a::after {
    display: none;
  }

  .apple-nav-submenu-item::before {
    display: none;
  }

  .apple-nav-submenu > a,
  .apple-nav-submenu-item > a,
  .apple-nav-nested a {
    padding: 8px 12px;
  }

  .apple-nav-submenu > a:hover,
  .apple-nav-submenu-item > a:hover,
  .apple-nav-nested a:hover {
    background: transparent;
  }
}

/* ========================================
   Hero Section - Bold & Impactful
   ======================================== */
.apple-hero {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Subtle geometric background pattern - matches LOGO blue */
.apple-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(42, 171, 226, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(42, 171, 226, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Grid pattern overlay */
.apple-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.6;
}

.apple-hero-content {
  max-width: var(--container-max);
  padding: var(--space-20) var(--space-8);
  position: relative;
  z-index: 2;
}

.apple-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, rgba(42, 171, 226, 0.12) 0%, rgba(42, 171, 226, 0.05) 100%);
  border: 1px solid rgba(42, 171, 226, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.apple-hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.apple-hero-title {
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

/* Modern gradient - LOGO blue color scheme */
.apple-hero-title .gradient-text {
  background: linear-gradient(
    135deg,
    #5cc8f5 0%,
    #2AABE2 35%,
    #1E9AD6 65%,
    #0d6eaa 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.apple-hero-subtitle {
  max-width: 720px;
  margin: 0 auto var(--space-10);
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.apple-hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.apple-hero-image {
  margin-top: var(--space-16);
  position: relative;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.apple-hero-image img {
  max-width: min(90vw, 900px);
  margin: 0 auto;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.15));
  border-radius: var(--radius-xl);
}

/* ========================================
   Buttons - Modern & Bold
   ======================================== */
.apple-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.apple-btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(10, 147, 150, 0.3);
}

.apple-btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 147, 150, 0.4);
}

.apple-btn-secondary {
  background: transparent;
  color: var(--color-gray-700);
  padding: var(--space-4) var(--space-2);
  font-weight: 500;
}

.apple-btn-secondary:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.apple-btn-secondary::after {
  content: '→';
  font-size: 18px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.apple-btn-secondary:hover::after {
  transform: translateX(4px);
}

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

.apple-btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

/* ========================================
   Sections - Larger Content Areas
   ======================================== */
.apple-section {
  padding: var(--space-24) var(--space-8);
  position: relative;
}

.apple-section-white {
  background: var(--bg-primary);
}

.apple-section-gray {
  background: var(--bg-secondary);
}

.apple-section-dark {
  background: var(--bg-dark);
}

.apple-section-dark * {
  color: var(--color-white);
}

.apple-section-dark .apple-eyebrow,
.apple-section-dark .label {
  color: var(--color-primary-light);
}

.apple-section-dark .body-md,
.apple-section-dark .apple-body {
  color: var(--color-gray-300);
}

.apple-section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ========================================
   Feature Sections - Two Column Layout
   ======================================== */
.apple-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.apple-feature-reverse {
  direction: rtl;
}

.apple-feature-reverse > * {
  direction: ltr;
}

.apple-feature-content {
  padding: var(--space-8) 0;
}

.apple-feature-number {
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 800;
  line-height: 0.85;
  background: linear-gradient(
    180deg,
    var(--color-primary) 0%,
    rgba(10, 147, 150, 0.15) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-6);
}

.apple-feature-title {
  margin-bottom: var(--space-6);
}

.apple-feature-desc {
  margin-bottom: var(--space-8);
}

.apple-feature-image {
  position: relative;
}

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

/* ========================================
   Benefits Section
   ======================================== */
.apple-benefits {
  text-align: center;
  padding: var(--space-8) 0;
}

.apple-benefits .label,
.apple-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  display: block;
}

.apple-benefits-title {
  margin-bottom: var(--space-4);
}

.apple-benefits-subtitle {
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.apple-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.apple-benefit-card {
  padding: var(--space-8);
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
  transition: all var(--duration-normal) var(--ease-out);
  text-align: left;
}

.apple-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.apple-benefit-icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 147, 150, 0.12) 0%, rgba(10, 147, 150, 0.04) 100%);
  border-radius: var(--radius-lg);
}

.apple-benefit-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.apple-benefit-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: var(--space-3);
}

.apple-benefit-desc {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ========================================
   News Section
   ======================================== */
.apple-news {
  padding: var(--space-8) 0;
}

.apple-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-12);
}

.apple-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.apple-news-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.apple-news-card-image {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}

.apple-news-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.apple-news-card:hover .apple-news-card-image img {
  transform: scale(1.05);
}

.apple-news-card-content {
  padding: var(--space-6);
}

.apple-news-card-date {
  font-size: 13px;
  color: var(--color-gray-500);
  margin-bottom: var(--space-2);
}

.apple-news-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: var(--space-3);
  line-height: 1.35;
}

.apple-news-card-title a {
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

.apple-news-card-title a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.apple-news-card-excerpt {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   CTA Section
   ======================================== */
.apple-cta {
  text-align: center;
  padding: var(--space-24) var(--space-8);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}

.apple-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gray-200) 50%, transparent 100%);
}

.apple-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.apple-cta-title {
  margin-bottom: var(--space-6);
}

.apple-cta-subtitle {
  margin-bottom: var(--space-10);
}

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

.apple-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.apple-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-gray-200);
}

.apple-footer-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.apple-footer-links a {
  font-size: 15px;
  color: var(--color-gray-600);
  transition: color var(--duration-fast) var(--ease-out);
}

.apple-footer-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.apple-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  font-size: 14px;
  color: var(--color-gray-500);
}

.apple-footer-contact {
  display: flex;
  gap: var(--space-6);
}

.apple-footer-contact a {
  color: var(--color-gray-600);
}

/* ========================================
   Apple-Style Footer V2 - Clean & Organized
   ======================================== */
.apple-footer-v2 {
  background: linear-gradient(180deg, #f8fafb 0%, #f0f2f5 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle top border */
.apple-footer-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-gray-200) 10%,
    var(--color-gray-200) 90%,
    transparent 100%
  );
}

.apple-footer-v2-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 64px 32px 40px;
}

/* Main Content Area */
.apple-footer-v2-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

/* Brand Column */
.apple-footer-v2-brand {
  max-width: 280px;
}

.apple-footer-v2-logo {
  display: inline-block;
  margin-bottom: 16px;
  transition: opacity 0.2s ease;
}

.apple-footer-v2-logo:hover {
  opacity: 0.7;
}

.apple-footer-v2-logo img {
  height: 36px;
  width: auto;
}

.apple-footer-v2-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-gray-500);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

/* Social Icons */
.apple-footer-v2-social {
  display: flex;
  gap: 10px;
}

.apple-footer-v2-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 10px;
  color: var(--color-gray-500);
  transition: all 0.25s ease;
}

.apple-footer-v2-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(42, 171, 226, 0.25);
}

.apple-footer-v2-social svg {
  width: 18px;
  height: 18px;
}

/* Navigation Grid */
.apple-footer-v2-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.apple-footer-v2-column {
  min-width: 0;
}

.apple-footer-v2-heading {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray-800);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.apple-footer-v2-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.apple-footer-v2-list li {
  margin-bottom: 12px;
}

.apple-footer-v2-list li:last-child {
  margin-bottom: 0;
}

.apple-footer-v2-list a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-gray-600);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-left: 0;
}

.apple-footer-v2-list a::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid var(--color-primary);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  opacity: 0;
  transition: all 0.2s ease;
  margin-right: -4px;
}

.apple-footer-v2-list a:hover {
  color: var(--color-primary);
  padding-left: 12px;
}

.apple-footer-v2-list a:hover::before {
  opacity: 1;
  margin-right: 2px;
}

/* Divider */
.apple-footer-v2-divider {
  height: 1px;
  background: var(--color-gray-200);
  margin: 48px 0 24px;
}

/* Bottom Bar */
.apple-footer-v2-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.apple-footer-v2-copyright {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-gray-400);
  margin: 0;
  letter-spacing: 0.01em;
}

.apple-footer-v2-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.apple-footer-v2-bottom-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-gray-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

.apple-footer-v2-bottom-links a:hover {
  color: var(--color-primary);
}

.apple-footer-v2-sep {
  display: block;
  width: 3px;
  height: 3px;
  background: var(--color-gray-300);
  border-radius: 50%;
}

/* Footer V2 Responsive - Tablet */
@media (max-width: 1024px) {
  .apple-footer-v2-inner {
    padding: 48px 24px 32px;
  }

  .apple-footer-v2-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .apple-footer-v2-brand {
    max-width: 100%;
    text-align: center;
  }

  .apple-footer-v2-tagline {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .apple-footer-v2-social {
    justify-content: center;
  }

  .apple-footer-v2-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
  }

  .apple-footer-v2-heading {
    display: block;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
  }

  .apple-footer-v2-heading::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 10px auto 0;
  }

  .apple-footer-v2-list a::before {
    display: none;
  }

  .apple-footer-v2-list a:hover {
    padding-left: 0;
  }
}

/* Footer V2 Responsive - Mobile */
@media (max-width: 768px) {
  .apple-footer-v2-inner {
    padding: 40px 20px 28px;
  }

  .apple-footer-v2-main {
    gap: 40px;
  }

  .apple-footer-v2-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .apple-footer-v2-divider {
    margin: 32px 0 20px;
  }

  .apple-footer-v2-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .apple-footer-v2-bottom-links {
    gap: 12px;
  }
}

/* Footer V2 Responsive - Small Mobile */
@media (max-width: 540px) {
  .apple-footer-v2-nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .apple-footer-v2-column {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-100);
  }

  .apple-footer-v2-column:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .apple-footer-v2-list li {
    margin-bottom: 10px;
  }

  .apple-footer-v2-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* ========================================
   Responsive - Tablet
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --nav-height: 64px;
  }

  .apple-nav-inner {
    padding: 0 var(--space-6);
  }

  .apple-nav-menu {
    gap: var(--space-6);
  }

  .apple-feature {
    gap: var(--space-10);
  }

  .apple-feature-number {
    font-size: 100px;
  }

  .apple-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .apple-section {
    padding: var(--space-20) var(--space-6);
  }
}

/* ========================================
   Responsive - Mobile
   ======================================== */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --space-24: 80px;
    --space-20: 64px;
    --space-16: 48px;
  }

  .apple-nav-inner {
    padding: 0 var(--space-5);
  }

  .apple-nav-logo img {
    height: 28px;
  }

  .apple-nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-1);
    display: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .apple-nav-menu.active {
    display: flex;
  }

  .apple-nav-menu a {
    padding: var(--space-4);
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
  }

  .apple-nav-menu a:hover {
    background: var(--color-gray-50);
  }

  .apple-nav-menu a::after {
    display: none;
  }

  .apple-nav-cta {
    margin-top: var(--space-2);
  }

  .apple-nav-toggle {
    display: flex;
  }

  .apple-hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-12));
    padding-bottom: var(--space-16);
  }

  .apple-hero-content {
    padding: var(--space-8) var(--space-5);
  }

  .apple-hero-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .apple-feature {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .apple-feature-reverse {
    direction: ltr;
  }

  .apple-feature-content {
    text-align: center;
    order: 1;
  }

  .apple-feature-image {
    order: 2;
  }

  .apple-feature-number {
    font-size: 80px;
  }

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

  .apple-benefit-card {
    text-align: center;
  }

  .apple-benefit-icon {
    margin: 0 auto var(--space-5);
  }

  .apple-news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .apple-news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .apple-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .apple-footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .apple-section {
    padding: var(--space-16) var(--space-5);
  }
}

/* ========================================
   Responsive - Small Mobile
   ======================================== */
@media (max-width: 480px) {
  .apple-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .apple-btn-secondary {
    justify-content: center;
  }

  .apple-footer-grid {
    grid-template-columns: 1fr;
  }

  .apple-feature-number {
    font-size: 64px;
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

/* Backward compatibility */
.apple-headline-super {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

.apple-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-black);
}

.apple-headline-small {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.apple-intro {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-gray-600);
}

.apple-body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-gray-600);
}

/* ========================================
   Hero Carousel
   ======================================== */
.apple-hero-carousel {
  padding-top: var(--nav-height);
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Carousel background effects */
.apple-hero-carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(42, 171, 226, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(42, 171, 226, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.apple-hero-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: calc(90vh - var(--nav-height));
  min-height: 580px;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carousel-content {
  flex: 1;
  max-width: 580px;
  padding: var(--space-8);
  text-align: left;
  z-index: 2;
}

.carousel-content .apple-hero-eyebrow {
  margin-bottom: var(--space-5);
}

.carousel-content .apple-hero-title {
  margin-bottom: var(--space-6);
}

.carousel-content .apple-hero-subtitle {
  margin: 0 0 var(--space-8);
  text-align: left;
  font-size: clamp(18px, 2vw, 22px);
}

.carousel-content .apple-hero-actions {
  justify-content: flex-start;
}

.carousel-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  position: relative;
  z-index: 2;
}

.carousel-image img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.12));
  animation: floatImage 6s ease-in-out infinite;
}

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

/* Android Slide Specific Styling */
.carousel-slide[data-slide="3"] .carousel-image {
  position: relative;
}

.carousel-slide[data-slide="3"] .carousel-image::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(42, 171, 226, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.android-hero-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.android-hero-phones .phone-hero {
  max-height: 55vh;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.18);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.android-hero-phones .phone-hero:first-child {
  transform: rotate(-5deg) translateX(15px);
  z-index: 2;
}

.android-hero-phones .phone-hero:last-child {
  transform: rotate(5deg) translateX(-15px);
  z-index: 1;
}

.carousel-slide[data-slide="3"]:hover .phone-hero:first-child {
  transform: rotate(-3deg) translateX(20px) translateY(-6px);
}

.carousel-slide[data-slide="3"]:hover .phone-hero:last-child {
  transform: rotate(3deg) translateX(-20px) translateY(-6px);
}

/* Android gradient text - Blue theme matching iOS */
.gradient-text-android {
  background: linear-gradient(135deg, #2AABE2 0%, #5cc8f5 50%, #1E9AD6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Android eyebrow badge - Blue theme */
.apple-hero-eyebrow-android {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, rgba(42, 171, 226, 0.12) 0%, rgba(92, 200, 245, 0.06) 100%);
  border: 1px solid rgba(42, 171, 226, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.apple-hero-eyebrow-android::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.apple-hero-eyebrow-android svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

/* Android CTA button - Blue theme */
.apple-btn-android {
  background: linear-gradient(135deg, #2AABE2 0%, #1E9AD6 100%);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(42, 171, 226, 0.35);
}

.apple-btn-android:hover {
  background: linear-gradient(135deg, #1E9AD6 0%, #0d6eaa 100%);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 171, 226, 0.45);
}

/* Slide content animations */
.carousel-slide.active .carousel-content {
  animation: slideInLeft 0.7s var(--ease-out) both;
}

.carousel-slide.active .carousel-image {
  animation: slideInRight 0.7s var(--ease-out) 0.1s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  z-index: 10;
}

.carousel-prev,
.carousel-next {
  width: 48px;
  height: 48px;
  border: none;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-md);
  color: var(--color-gray-700);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(42, 171, 226, 0.35);
}

.carousel-prev svg,
.carousel-next svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  gap: var(--space-3);
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gray-300);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border: none;
}

.carousel-dots .dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
  box-shadow: 0 2px 8px rgba(42, 171, 226, 0.4);
}

.carousel-dots .dot:hover {
  background: var(--color-primary-light);
}

/* Carousel Responsive - Tablet */
@media (max-width: 1024px) {
  .carousel-container {
    min-height: 520px;
  }

  .carousel-slide {
    flex-direction: column;
    text-align: center;
    padding: var(--space-6);
  }

  .carousel-content {
    order: 1;
    text-align: center;
    padding: var(--space-6) var(--space-4);
    max-width: 100%;
  }

  .carousel-content .apple-hero-subtitle {
    text-align: center;
  }

  .carousel-content .apple-hero-actions {
    justify-content: center;
  }

  .carousel-image {
    order: 2;
    padding: var(--space-4);
  }

  .carousel-image img {
    max-height: 45vh;
  }

  .carousel-slide.active .carousel-content {
    animation: fadeInUp 0.6s var(--ease-out) both;
  }

  .carousel-slide.active .carousel-image {
    animation: fadeInUp 0.6s var(--ease-out) 0.15s both;
  }

  /* Android phones responsive */
  .android-hero-phones .phone-hero {
    max-height: 40vh;
  }

  .android-hero-phones .phone-hero:first-child {
    transform: rotate(-4deg) translateX(10px);
  }

  .android-hero-phones .phone-hero:last-child {
    transform: rotate(4deg) translateX(-10px);
  }
}

/* Carousel Responsive - Mobile */
@media (max-width: 768px) {
  .apple-hero-carousel {
    min-height: auto;
  }

  .carousel-container {
    min-height: auto;
    height: auto;
  }

  .carousel-slide {
    position: relative;
    padding: var(--space-8) var(--space-5) var(--space-20);
    min-height: auto;
  }

  .carousel-slide:not(.active) {
    display: none;
  }

  .carousel-image img {
    max-height: 38vh;
  }

  .carousel-nav {
    bottom: var(--space-6);
  }

  .carousel-prev,
  .carousel-next {
    width: 42px;
    height: 42px;
  }

  .carousel-dots .dot {
    width: 10px;
    height: 10px;
  }

  /* Android phones mobile */
  .android-hero-phones {
    gap: 12px;
  }

  .android-hero-phones .phone-hero {
    max-height: 35vh;
    border-radius: 18px;
  }

  .android-hero-phones .phone-hero:first-child {
    transform: rotate(-3deg) translateX(8px);
  }

  .android-hero-phones .phone-hero:last-child {
    transform: rotate(3deg) translateX(-8px);
  }
}

@media (max-width: 480px) {
  .carousel-content {
    padding: var(--space-4) var(--space-2);
  }

  .carousel-image {
    padding: var(--space-2);
  }

  .carousel-image img {
    max-height: 32vh;
  }

  .carousel-nav {
    gap: var(--space-4);
  }

  .carousel-prev,
  .carousel-next {
    width: 38px;
    height: 38px;
  }

  /* Android phones small mobile */
  .android-hero-phones {
    flex-direction: column;
    gap: 16px;
  }

  .android-hero-phones .phone-hero {
    max-height: 28vh;
  }

  .android-hero-phones .phone-hero:first-child,
  .android-hero-phones .phone-hero:last-child {
    transform: none;
  }
}
