/* ===== RULES — Brand Styles ===== */
/* Based on brand strategy: Royal Navy #1A2F4B, Electric Tangerine #FF6B35,
   Gold Dust #F7C948, Midnight Ink #0D1321, Alabaster #F7F5F0 */

/* ===== CSS Variables ===== */
:root {
  --color-primary: #1A2F4B;
  --color-secondary: #FF6B35;
  --color-accent: #F7C948;
  --color-dark: #0D1321;
  --color-light: #F7F5F0;
  --color-white: #FFFFFF;
  --color-text: #1A1A2E;
  --color-text-light: #6B7280;

  --font-heading: 'Poppins', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --gradient-primary: linear-gradient(135deg, #1A2F4B, #0D1321);
  --gradient-accent: linear-gradient(135deg, #FF6B35, #F7C948);
  --gradient-special: linear-gradient(135deg, #1A2F4B, #FF6B35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(13, 19, 33, 0.08);
  --shadow-md: 0 4px 20px rgba(13, 19, 33, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 19, 33, 0.16);
  --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.3);

  --max-width: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-light);
  overflow-x: hidden;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e55a2b;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; }

p { margin-bottom: 1rem; }

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

.section-padding {
  padding: 80px 0;
}

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

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--color-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: rgba(247, 201, 72, 0.1);
  transform: translateY(-2px);
  color: var(--color-accent);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
}

/* ===== Header / Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 19, 33, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 245, 240, 0.08);
  height: var(--header-height);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-light);
}

.logo-link:hover {
  color: var(--color-light);
}

.logo-svg {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(247, 245, 240, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: var(--color-accent);
}

.header-cta {
  background: var(--gradient-accent);
  color: var(--color-dark) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(13, 19, 33, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(247, 245, 240, 0.08);
  }

  .header-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta {
    text-align: center;
    width: 100%;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(247, 201, 72, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(26, 47, 75, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 20s infinite;
}

.hero-particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-particle:nth-child(2) { top: 75%; left: 20%; animation-delay: 3s; width: 6px; height: 6px; opacity: 0.2; }
.hero-particle:nth-child(3) { top: 30%; right: 25%; animation-delay: 6s; background: var(--color-secondary); }
.hero-particle:nth-child(4) { bottom: 40%; right: 15%; animation-delay: 9s; width: 3px; height: 3px; }
.hero-particle:nth-child(5) { top: 60%; left: 5%; animation-delay: 2s; background: var(--color-secondary); }
.hero-particle:nth-child(6) { top: 10%; right: 40%; animation-delay: 5s; width: 5px; height: 5px; }
.hero-particle:nth-child(7) { bottom: 20%; right: 35%; animation-delay: 8s; background: var(--color-accent); }
.hero-particle:nth-child(8) { top: 45%; right: 8%; animation-delay: 11s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(15px); opacity: 0.5; }
  50% { transform: translateY(-10px) translateX(-10px); opacity: 0.2; }
  75% { transform: translateY(-40px) translateX(20px); opacity: 0.4; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}

.hero-logo {
  margin-bottom: 24px;
}

.hero-logo svg {
  height: 64px;
  width: auto;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(247, 245, 240, 0.85);
  margin-bottom: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.hero .tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

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

.hero .scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(247, 245, 240, 0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce-down 2s infinite;
}

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

.hero .scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(247, 245, 240, 0.4);
  border-bottom: 2px solid rgba(247, 245, 240, 0.4);
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    text-align: center;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-logo svg {
    margin: 0 auto;
  }
}

/* ===== How It Works ===== */
.how-it-works {
  background: var(--color-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--color-light);
  border: 1px solid rgba(26, 47, 75, 0.06);
  transition: all 0.4s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 53, 0.15);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.step-card h3 {
  margin-bottom: 12px;
}

.step-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ===== Why RULES ===== */
.why-rules {
  background: var(--color-dark);
  color: var(--color-light);
}

.why-rules h2 {
  color: var(--color-white);
}

.why-rules .section-label {
  color: var(--color-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: rgba(247, 245, 240, 0.04);
  border: 1px solid rgba(247, 245, 240, 0.06);
  transition: all 0.4s ease;
}

.benefit-card:hover {
  background: rgba(247, 245, 240, 0.08);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.benefit-card h3 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.benefit-card p {
  color: rgba(247, 245, 240, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ===== Pilot Section ===== */
.pilot {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.pilot::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.pilot h2 {
  color: var(--color-white);
}

.pilot .section-label {
  color: var(--color-accent);
}

.pilot-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.pilot-info h3 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.pilot-info p {
  color: rgba(247, 245, 240, 0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pilot-details {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.pilot-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 500;
}

.pilot-detail-icon {
  font-size: 1.5rem;
}

.pilot-price {
  margin: 24px 0;
}

.pilot-price .old-price {
  font-size: 1.2rem;
  color: rgba(247, 245, 240, 0.5);
  text-decoration: line-through;
  margin-right: 12px;
}

.pilot-price .new-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.pilot-price .price-label {
  font-size: 1rem;
  color: rgba(247, 245, 240, 0.7);
}

.pilot-form-wrapper {
  background: rgba(247, 245, 240, 0.05);
  border: 1px solid rgba(247, 245, 240, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}

@media (max-width: 768px) {
  .pilot-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pilot-details {
    flex-direction: column;
    gap: 12px;
  }

  .pilot-form-wrapper {
    padding: 24px;
  }
}

/* ===== Form Styles ===== */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(247, 245, 240, 0.15);
  background: rgba(247, 245, 240, 0.06);
  color: var(--color-light);
  transition: all 0.3s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
  background: rgba(247, 245, 240, 0.1);
}

.form-group input::placeholder {
  color: rgba(247, 245, 240, 0.35);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F7F5F0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--color-dark);
  color: var(--color-light);
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h4 {
  color: var(--color-accent);
  margin-bottom: 8px;
}

.form-success p {
  color: rgba(247, 245, 240, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* Counter */
.counter-section {
  text-align: center;
  padding: 24px 0 0;
}

.counter-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.counter-label {
  font-size: 1rem;
  color: rgba(247, 245, 240, 0.7);
  margin-top: 4px;
}

/* ===== Features Section ===== */
.features {
  background: var(--color-white);
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--color-light);
  border: 1px solid rgba(26, 47, 75, 0.06);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.85rem;
}

.feature-text h4 {
  margin-bottom: 4px;
}

.feature-text p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FAQ Section ===== */
.faq {
  background: var(--color-light);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 47, 75, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-dark);
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--color-secondary);
}

.faq-question .icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--color-secondary);
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient-primary);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(247, 245, 240, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-section .btn {
  font-size: 1.1rem;
  padding: 18px 44px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-dark);
  border-top: 1px solid rgba(247, 245, 240, 0.06);
  padding: 48px 0 24px;
}

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

.footer-brand .logo-svg {
  height: 36px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(247, 245, 240, 0.55);
  font-size: 0.9rem;
  max-width: 300px;
  margin: 0;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(247, 245, 240, 0.55);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(247, 245, 240, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(247, 245, 240, 0.4);
  font-size: 0.85rem;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(247, 245, 240, 0.4);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Language Switcher ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(247, 245, 240, 0.08);
  border-radius: 8px;
  padding: 3px;
}
.lang-switcher button {
  background: none;
  border: none;
  color: rgba(247, 245, 240, 0.5);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.lang-switcher button:hover {
  color: var(--color-light);
}
.lang-switcher button.active {
  background: var(--color-secondary);
  color: var(--color-light);
}

#lang-switcher-slot {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  #lang-switcher-slot {
    order: -1;
    margin-right: 12px;
  }
}
