/*
 * ITA Events Landing Page - World-Class Design
 * Professional landing page with modern CSS, animations, and interactions
 * Design Philosophy: "Restrained Sophistication"
 */

/* ============================================================================
   LANDING PAGE - NO NAVIGATION BAR
   ============================================================================ */

/* Remove all top spacing for landing page without navigation */
body.landing-page-no-nav {
  margin: 0;
  padding: 0;
}

body.landing-page-no-nav main {
  margin: 0 !important;
  padding: 0 !important;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Floating Login Button - HIDDEN FOR LANDING PAGE */
.floating-login-btn {
  display: none !important;
}

/* ============================================================================
   1. CUSTOM PROPERTIES SYSTEM
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Modern Blue Spectrum - Deep Ocean to Electric */
  --primary-50: #e6f4ff;
  --primary-100: #bae0ff;
  --primary-200: #91caff;
  --primary-300: #69b1ff;
  --primary-400: #4096ff;
  --primary-500: #1677ff;
  --primary-600: #0958d9;
  --primary-700: #003eb3;
  --primary-800: #002c8c;
  --primary-900: #001d66;

  /* Vibrant Accent Colors - Azure Blue */
  --accent-cyan: #2d7ff9;
  --accent-electric: #4c8dff;
  --accent-sapphire: #0050b3;
  --accent-deep-navy: #0a1929;
  --accent-royal: #2563eb;
  --accent-sky: #3b82f6;

  /* Neutral Palette - Cool modern tones */
  --neutral-50: #fafbfc;
  --neutral-100: #f5f7fa;
  --neutral-200: #edf0f5;
  --neutral-300: #e2e8f0;
  --neutral-400: #cbd5e1;
  --neutral-500: #94a3b8;
  --neutral-600: #64748b;
  --neutral-700: #475569;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  /* Semantic Colors */
  --success: #198754;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #0dcaf0;

  /* 8px Baseline Grid Spacing System */
  --space-1: 0.5rem;      /* 8px */
  --space-2: 1rem;        /* 16px */
  --space-3: 1.5rem;      /* 24px */
  --space-4: 2rem;        /* 32px */
  --space-5: 2.5rem;      /* 40px */
  --space-6: 3rem;        /* 48px */
  --space-7: 3.5rem;      /* 56px */
  --space-8: 4rem;        /* 64px */
  --space-10: 5rem;       /* 80px */
  --space-12: 6rem;       /* 96px */
  --space-16: 8rem;       /* 128px */
  --space-20: 10rem;      /* 160px */

  /* Typography Scale - 1.25 Perfect Fourth Ratio */
  --text-xs: 0.8rem;      /* 12.8px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.563rem;   /* 25px */
  --text-3xl: 1.953rem;   /* 31px */
  --text-4xl: 2.441rem;   /* 39px */
  --text-5xl: 3.052rem;   /* 49px */
  --text-6xl: 3.815rem;   /* 61px */

  /* Font Families - Modern Aesthetic */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Outfit', sans-serif;

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Border Radius System */
  --radius-sm: 0.5rem;    /* 8px */
  --radius-md: 0.75rem;   /* 12px */
  --radius-lg: 1rem;      /* 16px */
  --radius-xl: 1.5rem;    /* 24px */
  --radius-2xl: 2rem;     /* 32px */
  --radius-full: 9999px;

  /* Elevation / Shadow System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Shadow colors for brand elements */
  --shadow-primary: 0 10px 25px -5px rgba(13, 110, 253, 0.4);
  --shadow-accent: 0 10px 25px -5px rgba(147, 51, 234, 0.4);

  /* Animation Timing Functions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-index System */
  --z-base: 1;
  --z-dropdown: 1000;
  --z-sticky: 1100;
  --z-fixed: 1200;
  --z-modal-backdrop: 1300;
  --z-modal: 1400;
  --z-popover: 1500;
  --z-tooltip: 1600;
}

/* ============================================================================
   2. LOGO IN TOP LEFT CORNER
   ============================================================================ */

.logo-top-left {
  position: fixed;
  top: 12px;
  left: var(--space-6);
  z-index: var(--z-fixed);
  opacity: 1;
  visibility: visible;
}

.logo-top-left img {
  max-width: 180px;
  height: auto;
  display: block;
  opacity: 1;
  visibility: visible;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive logo sizing */
@media (max-width: 767px) {
  .logo-top-left {
    top: 12px;
    left: var(--space-3);
  }

  .logo-top-left img {
    max-width: 120px;
  }

  /* Push content down on mobile to avoid logo overlap */
  .hero-wrapper-simple {
    padding-top: 0;
  }

  .hero-content-full {
    padding-top: 80px;
  }
}

@media (max-width: 639px) {
  .logo-top-left {
    top: 8px;
    left: var(--space-2);
  }

  .logo-top-left img {
    max-width: 100px;
  }

  /* Push content down more on small mobile */
  .hero-wrapper-simple {
    padding-top: 0;
  }

  .hero-content-full {
    padding-top: 90px;
  }
}

/* Specific fix for iPhone SE and similar (375x667) */
@media (max-width: 375px) and (max-height: 667px) {
  html.landing-page-no-nav {
    overflow-y: scroll !important;
    height: auto !important;
  }

  body.landing-page-no-nav {
    overflow-y: scroll !important;
    height: auto !important;
    min-height: 100vh;
  }

  body.landing-page-no-nav main {
    overflow: visible !important;
    height: auto !important;
  }

  .hero-wrapper-simple {
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  .hero-content-full {
    padding-top: 140px !important;
  }

  .logo-top-left {
    position: absolute !important;
  }
}

/* Specific fix for small Android phones (360x740) */
@media (max-width: 360px) {
  html.landing-page-no-nav {
    overflow-y: scroll !important;
    height: auto !important;
  }

  body.landing-page-no-nav {
    overflow-y: scroll !important;
    height: auto !important;
    min-height: 100vh;
  }

  body.landing-page-no-nav main {
    overflow: visible !important;
    height: auto !important;
  }

  .hero-wrapper-simple {
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  .hero-content-full {
    padding-top: 150px !important;
  }

  .logo-top-left {
    position: absolute !important;
  }
}

/* ============================================================================
   3. BASE & RESET STYLES
   ============================================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--neutral-900);
  background-color: var(--neutral-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Subtle grain texture overlay for depth */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: soft-light;
}

body.landing-page-no-nav {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(140deg,
    var(--accent-deep-navy) 0%,
    var(--primary-800) 25%,
    var(--primary-700) 50%,
    var(--primary-600) 75%,
    var(--accent-sapphire) 100%
  );
}

body.landing-page-no-nav .container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

html {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

html.landing-page-no-nav {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(140deg,
    var(--accent-deep-navy) 0%,
    var(--primary-800) 25%,
    var(--primary-700) 50%,
    var(--primary-600) 75%,
    var(--accent-sapphire) 100%
  );
}

/* ============================================================================
   4. TYPOGRAPHY SYSTEM
   ============================================================================ */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: var(--neutral-900);
  margin-top: 0;
}

h1, .h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

h2, .h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--font-bold);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
}

h3, .h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  margin-bottom: var(--space-3);
}

h4, .h4 {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-3);
}

.lead {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: 1.5;
  font-weight: var(--font-normal);
  color: var(--neutral-700);
}

.hero-content-panel .lead {
  color: white;
  font-family: var(--font-body);
}

strong {
  font-weight: var(--font-semibold);
  color: var(--neutral-900);
}

/* Gradient Text Effect - Royal Blue */
.gradient-text {
  background: linear-gradient(135deg,
    var(--accent-royal) 0%,
    var(--accent-sky) 50%,
    var(--primary-400) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
}

/* ============================================================================
   5. HERO SECTION - SPLIT-SCREEN FASHION EDITORIAL
   ============================================================================ */

.hero-wrapper {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

/* Simplified hero without image panel */
.hero-wrapper-simple {
  grid-template-columns: 1fr;
  min-height: 100vh;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: flex-start;
  padding-top: 0;
  margin: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
}

/* Left Panel - Featured Image */
.hero-image-panel {
  position: relative;
  overflow: hidden;
  background-color: var(--neutral-900);
}

.hero-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Parallax effect applied via JavaScript */
  transform: translateY(var(--parallax-offset, 0));
  transition: transform 0.1s linear;
}

.hero-image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    transparent 60%,
    var(--primary-500) 95%,
    var(--primary-600) 100%
  );
  mix-blend-mode: multiply;
  opacity: 0.3;
  pointer-events: none;
}

/* Right Panel - Content */
.hero-content-panel {
  background: linear-gradient(140deg,
    var(--accent-deep-navy) 0%,
    var(--primary-800) 25%,
    var(--primary-700) 50%,
    var(--primary-600) 75%,
    var(--accent-sapphire) 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--space-8) var(--space-6);
  color: white;
  width: 100%;
  height: 100%;
}

/* Full-width hero content */
.hero-content-full {
  padding: 0 var(--space-6);
  text-align: center;
  width: 100%;
}

.hero-content-full .hero-content-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero-content-full .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
}

.hero-headline-main {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-6);
  color: #ffffff !important;
  text-align: center;
  position: relative;
  z-index: 10;
  text-shadow: 0 4px 32px rgba(59, 130, 246, 0.3), 0 2px 16px rgba(0, 0, 0, 0.4);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.hero-headline-line {
  display: block;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.letter-space-after {
  margin-left: 0.03em;
}

.hero-description {
  position: relative;
  z-index: 10;
}

.hero-content-panel .btn-premium,
.hero-content-full .btn-premium {
  position: relative;
  z-index: 10;
}

.hero-content-panel .hero-stats,
.hero-content-full .hero-stats {
  position: relative;
  z-index: 10;
}

.hero-content-inner {
  position: relative;
  z-index: var(--z-base);
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-sky);
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--accent-royal);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.hero-eyebrow i {
  font-size: 0.875em;
  color: var(--accent-sky);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-extrabold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: white;
}

.hero-headline-line {
  display: block;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.hero-headline-line[data-line="1"] {
  animation-delay: 0.1s;
}

.hero-headline-line[data-line="2"] {
  animation-delay: 0.2s;
}

.hero-headline-line[data-line="3"] {
  animation-delay: 0.3s;
}

.hero-description {
  font-family: var(--font-body);
  font-size: clamp(var(--text-xl), 2vw, var(--text-3xl));
  line-height: 1.5;
  color: white;
  margin-bottom: var(--space-6);
  font-weight: var(--font-normal);
}

.hero-description strong {
  color: white;
  font-weight: var(--font-bold);
  font-family: var(--font-body);
}

/* Animated Background Orbs - HIDDEN */
.hero-bg-orb {
  display: none;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Stats - Modern Tech Style */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 2px solid white;
  position: relative;
}

.hero-stat-item {
  text-align: center;
  position: relative;
  padding: var(--space-3);
}

.hero-stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: white;
  opacity: 0.8;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-body);
  font-weight: var(--font-medium);
}

/* ============================================================================
   6. PREMIUM BUTTON COMPONENT
   ============================================================================ */

.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  background: linear-gradient(135deg, var(--accent-royal), var(--accent-sky));
  border: 1.5px solid white;
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5), 0 4px 16px rgba(59, 130, 246, 0.3);
}

/* Royal blue button variant for hero */
.hero-content-panel .btn-premium {
  background: linear-gradient(135deg, var(--accent-royal), var(--accent-sky));
  color: white;
  border: 1.5px solid white;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.6), 0 4px 16px rgba(59, 130, 246, 0.4);
  font-family: var(--font-body);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

/* Shimmer effect for cyan button variant */
.hero-content-panel .btn-premium::before {
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transition: left 0.8s ease;
}

.btn-premium:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 48px rgba(37, 99, 235, 0.7), 0 6px 24px rgba(59, 130, 246, 0.5);
  text-decoration: none;
}

.hero-content-panel .btn-premium:hover {
  color: white;
  box-shadow: 0 12px 48px rgba(37, 99, 235, 0.8), 0 6px 24px rgba(59, 130, 246, 0.6);
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:active {
  transform: translateY(0);
}

.btn-premium i {
  display: inline-block;
  transition: transform var(--transition-base);
}

.btn-premium:hover i {
  transform: translateX(4px);
}

.btn-premium:focus {
  outline: 3px solid var(--accent-sky);
  outline-offset: 4px;
}

.hero-content-panel .btn-premium:focus {
  outline: 3px solid var(--accent-royal);
}

/* Reset cursor to default */
body {
  cursor: default;
}

a, button, .btn-premium {
  cursor: pointer;
}

/* Geometric Accent - Diagonal Line */
.hero-content-panel::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    white 45%,
    white 55%,
    transparent 100%
  );
  bottom: 25%;
  left: -50%;
  transform: rotate(-15deg);
  opacity: 0.3;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Decorative corner brackets - REMOVED */
.hero-content-full::before,
.hero-content-full::after {
  display: none;
}

/* ============================================================================
   7. SECTION LAYOUT & SPACING
   ============================================================================ */

.ita-main-content {
  padding-block: var(--space-8);
}

.ita-section {
  margin-bottom: var(--space-8);
  padding-inline: clamp(var(--space-2), 3vw, var(--space-4));
}

.ita-section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--font-bold);
  text-align: center;
  color: var(--neutral-900);
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.ita-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg,
    var(--primary-500),
    var(--accent-purple)
  );
  border-radius: var(--radius-full);
}

/* ============================================================================
   8. FEATURE CARDS - "WHAT HAPPENS AT ITA EVENTS"
   ============================================================================ */

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-6);
  margin-top: var(--space-4);
}

.feature-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 2px solid var(--neutral-200);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow),
              box-shadow var(--transition-slow),
              border-color var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Colored top accent border */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-purple));
}

.feature-card:nth-child(1)::before {
  background: linear-gradient(90deg, #0d6efd, #42a5f5);
}

.feature-card:nth-child(2)::before {
  background: linear-gradient(90deg, #ffc107, #ff9800);
}

.feature-card:nth-child(3)::before {
  background: linear-gradient(90deg, #198754, #20c997);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-400);
}

/* Glow effect on hover */
.feature-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-400), var(--accent-purple));
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-base);
  filter: blur(10px);
}

.feature-card:hover::after {
  opacity: 0.2;
}

.ita-card-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-md);
}

.feature-card:nth-child(2) .ita-card-icon {
  background: linear-gradient(135deg, #ffc107, #ff9800);
}

.feature-card:nth-child(3) .ita-card-icon {
  background: linear-gradient(135deg, #198754, #20c997);
}

.ita-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--neutral-900);
  margin-bottom: var(--space-3);
}

.ita-card-description {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--neutral-700);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.ita-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ita-card-list li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--neutral-700);
}

.ita-card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: var(--font-bold);
}

/* ============================================================================
   9. WHY ITA SECTION - BADGE GRID
   ============================================================================ */

.ita-why-container {
  background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-6) var(--space-6);
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.badge-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
}

.badge-item::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.badge-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.badge-item:hover::before {
  opacity: 1;
}

.badge-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-3);
  transition: transform var(--transition-bounce);
}

.badge-item:hover .badge-icon {
  transform: scale(1.15);
}

.badge-icon.warning-icon {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.badge-icon.success-icon {
  background: linear-gradient(135deg, #198754, #20c997);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.badge-icon.primary-icon {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.badge-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--neutral-900);
  line-height: 1.4;
}

/* ============================================================================
   10. TESTIMONIALS SECTION - QUOTE CARDS
   ============================================================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-6);
  margin-top: var(--space-4);
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-slow),
              box-shadow var(--transition-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary-100);
  line-height: 1;
  font-weight: var(--font-bold);
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-quote {
  position: relative;
  z-index: 1;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--neutral-700);
  margin-bottom: var(--space-4);
  padding-top: var(--space-4);
  flex-grow: 1;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--neutral-900);
  margin-bottom: var(--space-1);
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--primary-500);
  font-weight: var(--font-medium);
}

/* ============================================================================
   11. CTA BAND SECTION
   ============================================================================ */

.ita-cta-band {
  background: linear-gradient(135deg,
    var(--primary-700) 0%,
    var(--primary-500) 50%,
    var(--accent-blue-violet) 100%
  );
  padding: var(--space-8) var(--space-6);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  text-align: center;
  color: white;
  box-shadow: var(--shadow-2xl);
}

/* Animated gradient overlay */
.ita-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg,
    transparent 30%,
    rgba(217, 70, 239, 0.1) 50%,
    transparent 70%
  );
  background-size: 200% 200%;
  animation: gradient-shift 10s ease infinite;
  pointer-events: none;
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.ita-cta-band h2 {
  color: white;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.ita-cta-band p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto var(--space-6);
  position: relative;
  z-index: 1;
}

/* ============================================================================
   12. FINAL NOTES SECTION
   ============================================================================ */

.ita-final-notes {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-6) var(--space-6);
  border: 2px solid var(--primary-200);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-6);
}

.ita-final-notes h2 {
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.ita-final-notes p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--neutral-700);
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================================
   13. SCROLL REVEAL ANIMATIONS
   ============================================================================ */

[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children for grid items */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove fallback for stagger items - let parent handle it */
[data-stagger].is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-revealed > *:nth-child(1) {
  transition-delay: 0ms;
}

[data-stagger].is-revealed > *:nth-child(2) {
  transition-delay: 100ms;
}

[data-stagger].is-revealed > *:nth-child(3) {
  transition-delay: 200ms;
}

[data-stagger].is-revealed > *:nth-child(4) {
  transition-delay: 300ms;
}

[data-stagger].is-revealed > *:nth-child(5) {
  transition-delay: 400ms;
}

[data-stagger].is-revealed > *:nth-child(6) {
  transition-delay: 500ms;
}

/* ============================================================================
   14. RESPONSIVE DESIGN SYSTEM - MOBILE FIRST
   ============================================================================ */

/* Small tablets and large phones (landscape) */
@media (max-width: 1023px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image-panel {
    height: 50vh;
    min-height: 400px;
  }

  .hero-content-panel {
    padding: var(--space-8) var(--space-4);
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
}

/* Tablets */
@media (max-width: 767px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --space-12: 4rem;
    --space-16: 5rem;
  }

  .hero-image-panel {
    height: 40vh;
    min-height: 300px;
  }

  .hero-content-panel {
    padding: var(--space-6) var(--space-3);
  }

  .hero-wrapper-simple {
    padding-top: 0;
  }

  .hero-content-full {
    padding: 0 var(--space-3);
  }

  .hero-headline-main {
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin-bottom: var(--space-5);
    letter-spacing: -0.01em;
  }

  .hero-description {
    font-size: var(--text-xl);
    margin-bottom: var(--space-5);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    margin-top: var(--space-7);
    padding-top: var(--space-4);
  }

  .ita-section {
    margin-bottom: var(--space-8);
  }

  .feature-cards-grid,
  .testimonials-grid {
    gap: var(--space-4);
  }

  .ita-cta-band {
    padding: var(--space-8) var(--space-4);
  }

  .badge-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .btn-premium {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    white-space: nowrap;
  }
}

/* Mobile phones */
@media (max-width: 639px) {
  .hero-wrapper-simple {
    padding-top: 0;
  }

  .hero-content-full {
    padding: 0 var(--space-2);
  }

  .hero-headline-main {
    font-size: clamp(2.5rem, 12vw, 5rem);
    margin-bottom: var(--space-4);
    line-height: 0.95;
    letter-spacing: -0.02em;
  }

  .hero-description {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    line-height: 1.4;
  }

  .hero-stats {
    gap: var(--space-3);
    margin-top: var(--space-8);
    padding-top: var(--space-4);
  }

  .hero-stat-item:nth-child(1) {
    order: 1;
  }

  .hero-stat-item:nth-child(2) {
    order: 3;
  }

  .hero-stat-item:nth-child(3) {
    order: 2;
  }

  .hero-stat-number {
    font-size: var(--text-4xl);
  }

  .hero-stat-label {
    font-size: var(--text-base);
  }

  .feature-cards-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .btn-premium {
    width: auto;
    justify-content: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    white-space: nowrap;
  }
}

/* Landscape phones */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-wrapper {
    min-height: auto;
  }

  .hero-wrapper-simple {
    min-height: 100vh;
    height: 100vh;
    padding-top: 0;
  }

  .hero-image-panel {
    height: 50vh;
  }

  .hero-content-full {
    padding: 0 var(--space-3);
  }

  .hero-headline-main {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1;
    letter-spacing: -0.01em;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-top: var(--space-6);
    padding-top: var(--space-3);
  }

  .hero-stat-number {
    font-size: var(--text-2xl);
  }

  .hero-stat-label {
    font-size: var(--text-sm);
  }
}

/* ============================================================================
   15. ACCESSIBILITY & MOTION PREFERENCES
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-featured-image {
    transform: none !important;
  }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-400);
  outline-offset: 4px;
}

/* ============================================================================
   16. UTILITY CLASSES
   ============================================================================ */

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}
