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

/* ==================== CUSTOM PROPERTIES ==================== */
:root {
  /* Colors */
  --primary: #2196F3;
  --primary-dark: #1976D2;
  --primary-light: #64B5F6;
  --primary-glow: rgba(33, 150, 243, 0.15);
  --secondary: #03DAC6;
  --accent: #FF6B35;

  /* Semantic */
  --success: #4CAF50;
  --warning: #FF9800;

  /* Light theme (default) */
  --bg: #F5F5F5;
  --bg-hero: linear-gradient(135deg, #0d47a1 0%, #1976D2 40%, #2196F3 100%);
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 0, 0, 0.06);
  --text-primary: #212121;
  --text-secondary: #757575;
  --text-hint: #BDBDBD;
  --text-on-primary: #FFFFFF;
  --divider: #E0E0E0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==================== DARK MODE ==================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0A0F;
    --bg-hero: linear-gradient(135deg, #050510 0%, #0d1b3e 40%, #0f2557 100%);
    --surface: #16161F;
    --surface-elevated: #1E1E2A;
    --card-bg: #1A1A26;
    --card-border: rgba(255, 255, 255, 0.06);
    --text-primary: #F0F0F5;
    --text-secondary: #A0A0B0;
    --text-hint: #606070;
    --divider: #2A2A35;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  }
}

[data-theme="dark"] {
  --bg: #0A0A0F;
  --bg-hero: linear-gradient(135deg, #050510 0%, #0d1b3e 40%, #0f2557 100%);
  --surface: #16161F;
  --surface-elevated: #1E1E2A;
  --card-bg: #1A1A26;
  --card-border: rgba(255, 255, 255, 0.06);
  --text-primary: #F0F0F5;
  --text-secondary: #A0A0B0;
  --text-hint: #606070;
  --divider: #2A2A35;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] {
  --bg: #F5F5F5;
  --bg-hero: linear-gradient(135deg, #0d47a1 0%, #1976D2 40%, #2196F3 100%);
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 0, 0, 0.06);
  --text-primary: #212121;
  --text-secondary: #757575;
  --text-hint: #BDBDBD;
  --divider: #E0E0E0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
}

/* ==================== BASE STYLES ==================== */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-on-primary);
  transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo {
  color: var(--text-primary);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-on-primary);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  padding: 8px 20px !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-fast);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

.navbar.scrolled .nav-cta {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.navbar.scrolled .theme-toggle {
  background: var(--surface-elevated);
  border-color: var(--card-border);
  color: var(--text-primary);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .theme-toggle:hover {
  background: var(--primary-glow);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-on-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--text-primary);
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: var(--bg-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 218, 198, 0.12) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(3deg); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  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.8); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--secondary) 0%, #80DEEA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
}

.btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.3rem;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* Hero Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #1565C0 0%, #1976D2 30%, #F5F5F5 30%);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-screen-content {
  padding: 40px 16px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-header {
  color: white;
  text-align: center;
  padding-bottom: 12px;
}

.phone-header h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.phone-header p {
  font-size: 0.7rem;
  opacity: 0.7;
}

.phone-schedule {
  background: white;
  border-radius: 16px;
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8f9fa;
  font-size: 0.7rem;
}

.schedule-color {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  flex-shrink: 0;
}

.schedule-info {
  flex: 1;
}

.schedule-name {
  font-weight: 600;
  color: #212121;
  font-size: 0.72rem;
}

.schedule-time {
  color: #757575;
  font-size: 0.62rem;
  margin-top: 2px;
}

.schedule-room {
  font-size: 0.6rem;
  color: #9e9e9e;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==================== SECTION STYLES ==================== */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== FEATURES SECTION ==================== */
.features {
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition-base);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--primary-glow);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature card color variants */
.feature-card[data-color="blue"] .feature-icon { background: rgba(33, 150, 243, 0.12); }
.feature-card[data-color="green"] .feature-icon { background: rgba(76, 175, 80, 0.12); }
.feature-card[data-color="orange"] .feature-icon { background: rgba(255, 152, 0, 0.12); }
.feature-card[data-color="purple"] .feature-icon { background: rgba(156, 39, 176, 0.12); }
.feature-card[data-color="cyan"] .feature-icon { background: rgba(0, 188, 212, 0.12); }
.feature-card[data-color="pink"] .feature-icon { background: rgba(233, 30, 99, 0.12); }
.feature-card[data-color="teal"] .feature-icon { background: rgba(0, 150, 136, 0.12); }
.feature-card[data-color="indigo"] .feature-icon { background: rgba(63, 81, 181, 0.12); }
.feature-card[data-color="red"] .feature-icon { background: rgba(244, 67, 54, 0.12); }
.feature-card[data-color="amber"] .feature-icon { background: rgba(255, 193, 7, 0.12); }
.feature-card[data-color="deeporange"] .feature-icon { background: rgba(255, 87, 34, 0.12); }

/* ==================== SHOWCASE SECTION ==================== */
.showcase {
  background: var(--surface);
  overflow: hidden;
}

.showcase-wrapper {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.showcase-phone {
  width: 220px;
  height: 450px;
  background: #000;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.showcase-phone:hover {
  transform: translateY(-8px);
}

.showcase-phone:nth-child(2) {
  transform: scale(1.08);
}

.showcase-phone:nth-child(2):hover {
  transform: scale(1.08) translateY(-8px);
}

.showcase-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: #999;
}

.showcase-phone-screen.placeholder-1 {
  background: linear-gradient(180deg, #1565C0 0%, #1976D2 35%, #e8eaf6 35%);
}
.showcase-phone-screen.placeholder-2 {
  background: linear-gradient(180deg, #1976D2 0%, #42A5F5 35%, #f5f5f5 35%);
}
.showcase-phone-screen.placeholder-3 {
  background: linear-gradient(180deg, #0d47a1 0%, #1565C0 35%, #f3f3f3 35%);
}

.showcase-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== PREMIUM SECTION ==================== */
.premium {
  background: var(--bg);
  position: relative;
}

.premium-card {
  background: linear-gradient(135deg, #0d47a1 0%, #1565C0 50%, #1976D2 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(13, 71, 161, 0.3);
}

.premium-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 218, 198, 0.15) 0%, transparent 70%);
}

.premium-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.premium-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.premium-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.premium-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.premium-features li .check {
  width: 24px;
  height: 24px;
  background: rgba(3, 218, 198, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.premium-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.premium-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.premium-icon-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition-base);
}

.premium-icon-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.premium-icon-card .icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.premium-icon-card span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==================== CTA SECTION ==================== */
.cta {
  background: var(--surface);
  text-align: center;
}

.cta .section-title {
  margin-bottom: 24px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-download {
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.3);
}

.btn-download:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(33, 150, 243, 0.4);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--divider);
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-hint);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-hint);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.7s; }
.animate-on-scroll:nth-child(9) { transition-delay: 0.8s; }
.animate-on-scroll:nth-child(10) { transition-delay: 0.9s; }
.animate-on-scroll:nth-child(11) { transition-delay: 1.0s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
    transform: perspective(1000px) rotateY(0);
  }

  .phone-mockup:hover {
    transform: perspective(1000px) rotateY(0) translateY(-4px);
  }

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

  .premium-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    text-align: center;
  }

  .premium-features {
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--text-primary) !important;
    font-size: 1rem;
    padding: 8px 0;
  }

  .nav-cta {
    background: var(--primary) !important;
    color: white !important;
    text-align: center;
    justify-content: center;
    border-color: var(--primary) !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .showcase-wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .showcase-phone:nth-child(2) {
    transform: scale(1);
  }

  .showcase-phone:nth-child(2):hover {
    transform: translateY(-8px);
  }

  .premium-card {
    padding: 32px 24px;
  }

  .premium-icon-grid {
    max-width: 300px;
    margin: 0 auto;
  }

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

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
