/* ============================================
   rozsadnefinanse.pl — Global Styles
   Palette: Blue #1B3A5C / Orange #E8913A
   Clean, professional, Cafe Finance vibe
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --blue-900: #0D1F33;
  --blue-800: #142D4A;
  --blue-700: #1B3A5C;
  --blue-600: #2656A8;
  --blue-500: #3572C6;
  --blue-400: #5B93D8;
  --blue-100: #E8F0FE;
  --blue-50: #F4F8FF;
  --orange-600: #D47A28;
  --orange-500: #E8913A;
  --orange-400: #F5A623;
  --orange-300: #FCBF5C;
  --orange-100: #FFF3E0;
  --gray-900: #1A1A2E;
  --gray-700: #4A4A5A;
  --gray-500: #7A7A8A;
  --gray-300: #C4C4D0;
  --gray-100: #F0F0F5;
  --gray-50: #F8F8FB;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
html {
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
h1 { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.6rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { font-size: 1.05rem; color: var(--gray-700); }
.serif { font-family: 'Lora', serif; }
.text-orange { color: var(--orange-500); }
.text-blue { color: var(--blue-600); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: all 0.3s ease;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: var(--white); box-shadow: 0 4px 16px rgba(232,145,58,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(232,145,58,0.5); }
.btn-secondary {
  background: transparent; color: var(--blue-600);
  border: 2px solid var(--blue-600);
}
.btn-secondary:hover { background: var(--blue-600); color: var(--white); }
.btn-white {
  background: var(--white); color: var(--blue-700);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-dark {
  background: var(--blue-800); color: var(--white);
}
.btn-dark:hover { background: var(--blue-700); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 0;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: var(--blue-700);
}
.nav-logo .logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500); }
.nav-logo span { color: var(--orange-500); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--gray-700);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); background: var(--blue-50); }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 10px 24px; font-size: 0.82rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--gray-900); border-radius: 2px; transition: 0.3s; }

/* Hide mobile-only CTA on desktop */
.nav-links__cta { display: none; }

/* Mobile nav */
@media (max-width: 1024px) {
  .navbar { overflow: visible !important; }
  .navbar .container { position: relative; overflow: visible !important; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    z-index: 10000;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    gap: 4px;
  }
  .nav-links.show { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
    width: 100%;
    color: var(--gray-700);
    text-decoration: none;
  }
  .nav-links a:hover { background: var(--blue-50); }
  .nav-links__cta { display: list-item; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--gray-100); }
  .nav-links__cta .btn { width: 100%; text-align: center; display: block; }
  .nav-cta { display: none !important; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 60px;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,145,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(53,114,198,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; font-size: 3rem; }
.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content .subtitle {
  color: rgba(255,255,255,0.75); font-size: 1.15rem;
  margin-bottom: 36px; line-height: 1.8; max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-xl);
  padding: 40px; width: 100%; max-width: 440px;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.4rem; font-weight: 800; color: var(--orange-400);
  display: block;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

@media (max-width: 768px) {
  .hero { padding-top: 90px; padding-bottom: 40px; min-height: auto; }
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content .subtitle { font-size: 1rem; margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-visual img { width: 260px !important; height: 340px !important; margin: 0 auto; }
  /* Force all inline 2-col/3-col grids to single column on mobile */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Ensure no element overflows viewport */
  .container { max-width: 100% !important; box-sizing: border-box; overflow-x: hidden; }
  .section { overflow-x: hidden; }
  /* About / O mnie */
  .about-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-photo { min-height: 300px !important; aspect-ratio: 4/3 !important; }
  .about-highlights { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .about-content h2 { font-size: 1.6rem; }
  .about-content .lead { font-size: 1rem; }
  /* Consulting steps */
  .consulting-steps { grid-template-columns: 1fr 1fr !important; }
  .step-card::after { display: none; }
  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer { padding: 40px 0 24px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 80px; }
  .hero-content h1 { font-size: 1.75rem; }
  .hero-visual img { width: 200px !important; height: 270px !important; }
  .about-photo { min-height: 260px !important; }
  .about-highlights { grid-template-columns: 1fr !important; }
  .highlight-item { gap: 10px; }
  .consulting-steps { grid-template-columns: 1fr !important; }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section { padding: 100px 0; }
.section-light { background: var(--gray-50); }
.section-blue { background: linear-gradient(135deg, var(--blue-800), var(--blue-700)); color: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header .label {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: var(--orange-100); color: var(--orange-600);
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; transition: all 0.3s;
  border: 1px solid rgba(0,0,0,0.06);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.card-icon.blue { background: var(--blue-100); color: var(--blue-600); }
.card-icon.orange { background: var(--orange-100); color: var(--orange-500); }
.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p { font-size: 0.95rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; color: var(--blue-600); font-weight: 600; font-size: 0.9rem;
}
.card .card-link:hover { gap: 10px; }

/* --- Books --- */
.books-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.book-card {
  background: var(--white); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}
.book-card:hover { transform: translateY(-6px); }
.book-cover {
  height: 300px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.book-cover.blue-cover { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); }
.book-cover.orange-cover { background: linear-gradient(135deg, var(--orange-600), var(--orange-400)); }
.book-cover-title {
  color: var(--white); font-size: 1.6rem; font-weight: 800;
  text-align: center; padding: 30px; line-height: 1.3;
  position: relative; z-index: 1;
}
.book-cover::after {
  content: ''; position: absolute; bottom: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.book-info { padding: 32px; }
.book-info h3 { font-size: 1.3rem; margin-bottom: 12px; }
.book-info p { margin-bottom: 20px; font-size: 0.95rem; }
.book-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.badge {
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-blue { background: var(--blue-100); color: var(--blue-600); }
.badge-orange { background: var(--orange-100); color: var(--orange-600); }

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

/* --- Podcast --- */
.podcast-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.podcast-player {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  border-radius: var(--radius-xl); padding: 40px;
  color: var(--white);
}
.player-header { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.player-cover {
  width: 80px; height: 80px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-300));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.player-info h4 { color: var(--white); font-size: 1rem; }
.player-info p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 4px; }
.player-progress { margin-bottom: 24px; }
.progress-bar { height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; width: 35%; background: var(--orange-400); border-radius: 2px; }
.progress-times { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.player-controls { display: flex; justify-content: center; align-items: center; gap: 28px; }
.control-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); color: var(--white); font-size: 1.2rem;
  cursor: pointer; border: none; transition: 0.2s;
}
.control-btn.play {
  width: 64px; height: 64px; font-size: 1.6rem;
  background: var(--orange-500);
}
.episodes-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.episode-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--white);
  border-radius: var(--radius-md); border: 1px solid var(--gray-100);
  transition: 0.2s;
}
.episode-item:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.episode-num {
  font-size: 0.82rem; font-weight: 700; color: var(--orange-500);
  min-width: 32px;
}
.episode-title { font-weight: 500; font-size: 0.92rem; flex: 1; }
.episode-duration { font-size: 0.8rem; color: var(--gray-500); }
.platform-links { display: flex; gap: 16px; margin-top: 28px; }
.platform-link {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  background: var(--gray-50); font-weight: 600; font-size: 0.9rem;
  color: var(--gray-700); transition: 0.2s;
}
.platform-link:hover { background: var(--gray-100); }

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

/* --- Academy / Programme --- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; text-align: center;
  border: 1px solid var(--gray-100); transition: 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.8rem;
}
.feature-icon.blue { background: var(--blue-100); }
.feature-icon.orange { background: var(--orange-100); }
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; }

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

/* --- Programme Hero (Full-bleed) --- */
.programme-hero {
  background: linear-gradient(135deg, var(--blue-900), #0a1628);
  color: var(--white); padding: 120px 0 80px; position: relative;
  overflow: hidden;
}
.programme-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='rgba(232,145,58,0.08)' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='rgba(232,145,58,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.programme-content { position: relative; z-index: 1; }
.programme-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(232,145,58,0.15); color: var(--orange-400);
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 24px;
}
.programme-hero h1 { font-size: 2.8rem; margin-bottom: 20px; }

/* Modules timeline */
.modules-timeline { display: flex; flex-direction: column; gap: 0; margin: 40px 0; }
.module-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 24px 0; position: relative;
}
.module-item::before {
  content: ''; position: absolute; left: 39px; top: 0;
  width: 2px; height: 100%; background: rgba(255,255,255,0.1);
}
.module-item:last-child::before { height: 50%; }
.module-number {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,145,58,0.15); color: var(--orange-400);
  font-size: 1.4rem; font-weight: 800; position: relative; z-index: 1;
}
.module-content h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.module-content p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* --- AI CFO PRO --- */
.aicfo-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.aicfo-features { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.aicfo-feature {
  display: flex; gap: 16px; align-items: flex-start;
}
.aicfo-feature-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--blue-600); font-size: 1.2rem;
}
.aicfo-feature h4 { font-size: 1rem; margin-bottom: 4px; }
.aicfo-feature p { font-size: 0.88rem; }
.contact-form {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
}
.contact-form h3 { margin-bottom: 6px; }
.contact-form .form-subtitle { margin-bottom: 28px; font-size: 0.9rem; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 8px; color: var(--gray-700);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm); font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem; transition: 0.2s; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(38,86,168,0.1);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-preview {
  margin-top: 32px; padding: 24px; border-radius: var(--radius-md);
  background: var(--blue-50); border: 1px dashed var(--blue-400);
  text-align: center;
}
.demo-preview p { font-size: 0.88rem; color: var(--blue-600); }

@media (max-width: 768px) {
  .aicfo-hero { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.about-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 4rem;
  position: relative; overflow: hidden;
}
.about-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%; background: linear-gradient(transparent, rgba(0,0,0,0.3));
}
.about-content h2 { margin-bottom: 20px; }
.about-content .lead { font-size: 1.15rem; color: var(--gray-700); margin-bottom: 28px; line-height: 1.8; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.highlight-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.highlight-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-100); color: var(--orange-500); font-size: 1.1rem;
}
.highlight-item h4 { font-size: 0.95rem; margin-bottom: 2px; }
.highlight-item p { font-size: 0.82rem; }

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

/* --- Consulting --- */
.consulting-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 48px;
}
.step-card {
  text-align: center; padding: 32px 20px;
  position: relative;
}
.step-number {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: var(--white); font-size: 1.3rem; font-weight: 800;
}
.step-card h4 { margin-bottom: 8px; font-size: 1rem; }
.step-card p { font-size: 0.88rem; }
.step-card:not(:last-child)::after {
  content: '→'; position: absolute; right: -20px; top: 50px;
  font-size: 1.5rem; color: var(--gray-300);
}

@media (max-width: 768px) {
  .consulting-steps { grid-template-columns: 1fr 1fr; }
  .step-card::after { display: none; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--blue-900); color: rgba(255,255,255,0.95); padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col a { display: block; font-size: 0.88rem; padding: 4px 0; color: rgba(255,255,255,0.92); }
.footer-col a:hover { color: var(--orange-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px; text-align: center; font-size: 0.82rem; color: var(--white);
}

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

/* ============================================
   PAGE SEPARATOR (for single-file demo)
   ============================================ */
.page-separator {
  background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
  padding: 24px 0; text-align: center;
}
.page-separator h2 {
  color: var(--white); font-size: 1.4rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.page-separator p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 4px; }

/* --- Pricing / Packages --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pricing-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 36px; text-align: center;
  border: 2px solid var(--gray-100); transition: 0.3s;
}
.pricing-card.featured {
  border-color: var(--orange-500);
  box-shadow: 0 8px 32px rgba(232,145,58,0.2);
  transform: scale(1.03);
}
.pricing-card h3 { margin-bottom: 8px; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: var(--blue-700); margin: 16px 0 4px; }
.pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--gray-500); }
.pricing-features { list-style: none; margin: 24px 0; text-align: left; }
.pricing-features li { padding: 8px 0; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--orange-500); font-weight: 700; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-100);
}
.testimonial-text {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 1.05rem; color: var(--gray-700); margin-bottom: 20px;
  position: relative; padding-left: 20px;
  border-left: 3px solid var(--orange-400);
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue-100); display: flex; align-items: center;
  justify-content: center; color: var(--blue-600); font-weight: 700;
}
.testimonial-name { font-weight: 600; font-size: 0.92rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray-500); }

/* ═══════════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, floating dots, hover fx
   ═══════════════════════════════════════════════════════ */

/* --- Scroll Reveal Base --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.25,.46,.45,.94),
              transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(.25,.46,.45,.94),
              transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(.25,.46,.45,.94),
              transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(.25,.46,.45,.94),
              transform 0.6s cubic-bezier(.25,.46,.45,.94);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.35s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.revealed > * { opacity: 1; transform: translateY(0); }

/* --- Floating Decorative Dots --- */
.floating-dots {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.floating-dots i {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 0.18;
}
.floating-dots i:nth-child(1) {
  width: 120px; height: 120px;
  background: var(--blue-500);
  top: 15%; left: 8%;
  animation: floatDot1 8s ease-in-out infinite;
}
.floating-dots i:nth-child(2) {
  width: 90px; height: 90px;
  background: var(--orange-400);
  top: 35%; right: 6%;
  animation: floatDot2 10s ease-in-out infinite;
}
.floating-dots i:nth-child(3) {
  width: 150px; height: 150px;
  background: var(--blue-400);
  top: 60%; left: 5%;
  animation: floatDot3 12s ease-in-out infinite;
}
.floating-dots i:nth-child(4) {
  width: 80px; height: 80px;
  background: var(--orange-500);
  top: 80%; right: 10%;
  animation: floatDot1 9s ease-in-out infinite reverse;
}
.floating-dots i:nth-child(5) {
  width: 110px; height: 110px;
  background: var(--blue-600);
  top: 45%; left: 92%;
  animation: floatDot2 11s ease-in-out infinite;
}
.floating-dots i:nth-child(6) {
  width: 70px; height: 70px;
  background: var(--gray-400);
  top: 25%; left: 50%;
  animation: floatDot3 14s ease-in-out infinite;
}

@keyframes floatDot1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(12px, -18px); }
  50% { transform: translate(-8px, -30px); }
  75% { transform: translate(15px, -12px); }
}
@keyframes floatDot2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-15px, 20px); }
  66% { transform: translate(10px, -15px); }
}
@keyframes floatDot3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -25px) rotate(180deg); }
}

/* --- Enhanced Card Hover --- */
.card, .step-card, .module-card, .price-card {
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94),
              box-shadow 0.35s cubic-bezier(.25,.46,.45,.94) !important;
}
.card:hover, .step-card:hover, .module-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.10) !important;
}

/* --- Button Pulse on CTA --- */
.btn-primary {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}
.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37,99,235,0.25) !important;
}

/* --- Section header accent line animation --- */
.section-header .label {
  position: relative;
  overflow: hidden;
}
.section-header .label::after {
  content: '';
  position: absolute;
  bottom: 0; left: -100%;
  width: 100%; height: 2px;
  background: var(--orange-500);
  transition: left 0.6s cubic-bezier(.25,.46,.45,.94);
}
.revealed .section-header .label::after,
.section-header .label:hover::after {
  left: 0;
}

/* --- Smooth counter number animation --- */
.counter-value {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* --- Scroll progress bar at top --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
  z-index: 10000;
  transition: width 0.1s linear;
  width: 0%;
}

/* --- Navbar shrink on scroll --- */
.navbar.scrolled {
  padding: 8px 0 !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08) !important;
}
.navbar {
  transition: padding 0.3s ease, box-shadow 0.3s ease !important;
}

/* --- Gentle glow pulse for important elements --- */
@keyframes gentlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,88,12,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(234,88,12,0); }
}

/* Mobile: disable floating dots, reduce motion */
@media (max-width: 768px) {
  .floating-dots i { opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { transition: none; opacity: 1; transform: none; }
  .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
  .floating-dots { display: none; }
  .scroll-progress { display: none; }
}

/* ═══════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 40px));
  z-index: 99999;
  background: rgba(24, 28, 36, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--gray-300);
  padding: 16px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transition: transform 0.5s cubic-bezier(.25,.46,.45,.94);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 680px;
  width: calc(100% - 32px);
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}
.cookie-banner .container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0;
  max-width: none;
}
.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.82rem;
}
.cookie-banner__text a {
  color: var(--orange-400);
  text-decoration: underline;
}
.cookie-banner__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cookie-btn:hover {
  transform: translateY(-1px);
}
.cookie-btn--accept {
  background: var(--orange-500);
  color: #fff;
}
.cookie-btn--accept:hover {
  box-shadow: 0 4px 12px rgba(234,88,12,0.3);
}
.cookie-btn--necessary {
  background: transparent;
  color: var(--gray-300);
  border: 1px solid var(--gray-600);
}
.cookie-btn--necessary:hover {
  border-color: var(--gray-400);
}
.cookie-btn--settings {
  background: transparent;
  color: var(--gray-400);
  border: none;
  text-decoration: underline;
  padding: 10px 12px;
  font-weight: 400;
}

/* Settings panel */
.cookie-settings {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-700);
}
.cookie-settings.open { display: block; }
.cookie-settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 12px;
}
.cookie-settings__label {
  font-size: 0.85rem;
}
.cookie-settings__label small {
  display: block;
  color: var(--gray-500);
  font-weight: 400;
  font-size: 0.78rem;
}
/* Toggle switch */
.cookie-toggle { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle .slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gray-600); border-radius: 24px;
  transition: background 0.25s;
}
.cookie-toggle .slider:before {
  content: "";
  position: absolute; height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%;
  transition: transform 0.25s;
}
.cookie-toggle input:checked + .slider { background: var(--orange-500); }
.cookie-toggle input:checked + .slider:before { transform: translateX(18px); }
.cookie-toggle input:disabled + .slider { opacity: 0.5; cursor: default; }

.cookie-settings__save {
  margin-top: 12px;
  text-align: right;
}

@media (max-width: 600px) {
  .cookie-banner { bottom: 12px; padding: 14px 16px; border-radius: 12px; }
  .cookie-banner .container { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner__buttons { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; padding: 10px 12px; }
  .cookie-btn--settings { padding: 6px 12px; }
}
