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

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

:root {
  /* === Charte Graphique Galions === */
  --blue: #0a1628;       /* Bleu marine profond — couleur principale */
  --blue-light: #12243d;
  --blue-dark: #050d18;
  --green: #7fff00;      /* Vert Néon Galions — couleur d'accent */
  --green-dark: #66cc00;
  --green-glow: 0 0 20px rgba(127, 255, 0, 0.4);
  --white: #ffffff;
  --gray-light: #fafafa;
  --gray: #eaeaea;
  --gray-dark: #6e7a8a;
  --text: #2c3a4e;
  --border-radius: 16px;
  --shadow: 0 10px 30px rgba(10, 22, 40, 0.05);
  --shadow-hover: 0 15px 40px rgba(10, 22, 40, 0.12);
  --glass-bg: rgba(10, 22, 40, 0.88);  /* Header glassmorphism bleu marine */
  --glass-border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4, .logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background: var(--green);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(127, 255, 0, 0.3);
}

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

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

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 22px;
  font-size: 13px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  padding: 24px;
  display: flex;
  justify-content: center;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 600px;
  text-align: center;
}

.cookie-content h3 {
  margin-bottom: 8px;
  color: var(--blue);
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--gray-light);
  border-radius: 8px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* TOGGLE */
.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  transition: 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle input:checked + .slider {
  background: var(--green);
}

.toggle input:checked + .slider::before {
  transform: translateX(22px);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 900;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-img {
  height: 38px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-img {
  transform: rotate(45deg) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(127, 255, 0, 0.5));
}

.logo-text {
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
  text-shadow: 0 0 10px rgba(127, 255, 0, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--green);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: var(--green);
  color: var(--blue);
  border-color: var(--green);
  box-shadow: var(--green-glow);
}

.lang-toggle .toggle-label {
  color: var(--green);
  margin-left: 4px;
  transition: color 0.3s ease;
}

.lang-toggle:hover .toggle-label {
  color: var(--blue);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  color: var(--white);
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--blue);
  padding: 0 20px;
  z-index: 899;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
  max-height: 350px;
  opacity: 1;
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.mobile-nav-link:hover {
  background: var(--blue-light);
  color: var(--green);
}

/* HERO */
.hero {
  margin-top: 70px;
  background: radial-gradient(ellipse at 70% 30%, var(--blue-light) 0%, var(--blue-dark) 60%, #020b15 100%);
  color: var(--white);
  padding: 140px 20px;
  text-align: center;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ── Animated background layer ── */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Motifs geometriques concentriques (style maquettes Galions) */
.hero-pattern {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(204, 255, 0, 0.15);
  animation: patternPulse 8s ease-in-out infinite;
}

.hero-pattern::before,
.hero-pattern::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(204, 255, 0, 0.1);
}

.hero-pattern::before {
  inset: 20px;
}

.hero-pattern::after {
  inset: 40px;
}

/* Cercle haut droite */
.hero-pattern-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -80px;
  animation-delay: 0s;
}

/* Cercle bas gauche */
.hero-pattern-2 {
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: -60px;
  animation-delay: 2s;
}

/* Petit cercle centre-gauche */
.hero-pattern-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 10%;
  opacity: 0.6;
  animation-delay: 4s;
}

/* Motif zigzag / chevrons (inspire des maquettes) */
.hero-zigzag {
  position: absolute;
  width: 200px;
  height: 200px;
  opacity: 0.08;
}

.hero-zigzag::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--green) 25%, transparent 25%) -50px 0,
    linear-gradient(225deg, var(--green) 25%, transparent 25%) -50px 0,
    linear-gradient(315deg, var(--green) 25%, transparent 25%),
    linear-gradient(45deg, var(--green) 25%, transparent 25%);
  background-size: 100px 100px;
}

.hero-zigzag-1 {
  bottom: 20px;
  right: 10%;
  transform: rotate(15deg);
}

.hero-zigzag-2 {
  top: 20%;
  left: 5%;
  transform: rotate(-10deg);
  width: 120px;
  height: 120px;
}

@keyframes patternPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

/* Hero content must sit above the bg layer */
.hero-content {
  position: relative;
  z-index: 2;
}


/* hero::after gradient supprimé */

.hero-content h1 {
  font-size: 42px;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.25;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 5;
  position: relative;
}

.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

/* SECTIONS */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--gray-light);
}

.section-careers {
  background: var(--gray-light);
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-dark);
  margin-bottom: 56px;
  font-size: 16px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.about-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(10, 22, 40, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(127, 255, 0, 0.3);
}

.about-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
}

.about-card h3 {
  color: var(--blue);
  margin-bottom: 14px;
  font-size: 20px;
}

/* CAREERS */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 64px;
}

.job-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
  border-top: 1px solid rgba(10, 22, 40, 0.02);
  border-right: 1px solid rgba(10, 22, 40, 0.02);
  border-bottom: 1px solid rgba(10, 22, 40, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--green-dark);
}

.job-location {
  display: inline-block;
  background: rgba(10, 22, 40, 0.06);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.job-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 20px;
}

.job-card p {
  color: var(--gray-dark);
  margin-bottom: 20px;
  font-size: 14px;
}

/* TUTORIAL */
.tutorial-section {
  background: var(--white);
  padding: 48px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 22, 40, 0.03);
}

.tutorial-section h3 {
  color: var(--blue);
  text-align: center;
  margin-bottom: 24px;
}

/* Dots progress */
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray);
  border: 2px solid var(--gray);
  transition: all 0.3s;
  cursor: pointer;
}

.progress-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.2);
}

.progress-dot.completed {
  background: var(--green);
  border-color: var(--green);
}

.progress-text {
  text-align: center;
  color: var(--gray-dark);
  font-size: 14px;
  margin-bottom: 24px;
}

.tutorial-step {
  display: none;
  padding: 20px;
  background: var(--gray-light);
  border-radius: 8px;
}

.tutorial-step.active {
  display: block;
}

.tutorial-step h4 {
  color: var(--blue);
  margin-bottom: 12px;
}

.tutorial-step ol,
.tutorial-step ul {
  padding-left: 24px;
}

.tutorial-step li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.simulation-box {
  background: var(--blue);
  color: var(--white);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  margin: 16px 0;
}

.simulation-box em {
  font-size: 16px;
}

.simulation-box p:last-child {
  margin-top: 12px;
  opacity: 0.7;
  font-size: 13px;
}

.tutorial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.tutorial-nav .carousel-btn {
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.tutorial-nav .carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.tutorial-nav .carousel-btn:disabled:hover {
  background: var(--blue);
  color: var(--green);
  box-shadow: none;
  transform: none;
}

/* NEWS */
.news-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--green);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: var(--shadow);
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--green);
  color: var(--blue);
  box-shadow: var(--green-glow);
  transform: scale(1.1);
}

.news-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 4px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
}

.news-scroll::-webkit-scrollbar {
  height: 0;
  display: none;
}

.news-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.news-scroll::-webkit-scrollbar-thumb {
  background: transparent;
}

.news-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.news-card {
  min-width: 300px;
  background: var(--white);
  padding: 28px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  flex-shrink: 0;
  border: 1px solid rgba(10, 22, 40, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tag-salon { background: #e8f5e9; color: #2e7d32; }
.tag-rse { background: #e3f2fd; color: #1565c0; }
.tag-energie { background: #fff3e0; color: #e65100; }
.tag-business { background: #fce4ec; color: #c62828; }
.tag-sourcing { background: #f3e5f5; color: #7b1fa2; }

.news-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.35;
}

.news-card p {
  color: var(--gray-dark);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.news-date {
  font-size: 12px;
  color: var(--gray-dark);
  font-weight: 500;
}

/* News dots */
.news-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.news-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray);
  border: 2px solid var(--gray);
  transition: all 0.3s;
  cursor: pointer;
}

.news-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.2);
}

/* FAQ */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.faq-tab {
  padding: 10px 22px;
  border: 2px solid var(--gray);
  background: var(--white);
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Montserrat', sans-serif;
}

.faq-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.faq-tab.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(127, 255, 0, 0.3);
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(10, 22, 40, 0.04);
  transition: box-shadow 0.3s;
}

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

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--blue);
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  color: var(--green);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 12px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 56px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray);
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  color: var(--text);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(127, 255, 0, 0.12);
}

/* RGPD Checkbox */
.form-checkbox {
  margin-bottom: 28px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 13px;
  color: var(--gray-dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.75;
}

.contact-item strong {
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
}

.contact-item p {
  color: var(--gray-dark);
  font-size: 14px;
}

.map-container {
  margin-top: 12px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* FOOTER */
.footer {
  background: var(--blue-dark);
  color: var(--white);
}

.footer-top {
  padding: 70px 0 50px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
  height: 42px;
  margin-bottom: 18px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--green);
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-col a:hover {
  color: var(--green);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: all 0.3s;
}

.social-icon:hover {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(88%) sepia(97%) saturate(590%) hue-rotate(39deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ==========================================
   SCROLLYTELLING / REVEAL ANIMATIONS
========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered delay for children */
.about-grid .reveal:nth-child(1),
.careers-grid .reveal:nth-child(1) { transition-delay: 0s; }

.about-grid .reveal:nth-child(2),
.careers-grid .reveal:nth-child(2) { transition-delay: 0.12s; }

.about-grid .reveal:nth-child(3),
.careers-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-content h1 {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tutorial-section {
    padding: 28px 20px;
  }
  .news-carousel-wrapper {
    gap: 8px;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px;
  }
  .section-title {
    font-size: 26px;
  }
  .faq-tabs {
    gap: 6px;
  }
  .faq-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  .news-card {
    min-width: 260px;
  }
}

/* ==========================================
   TUTORIAL RESOURCES & MODAL READER
========================================== */
.tutorial-resources {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.tutorial-resources .btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* MODAL OVERLAY */
.modal {
  display: none; /* Controlled by JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 13, 24, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

/* MODAL CONTENT */
.modal-content {
  background: var(--white);
  border-radius: var(--border-radius);
  max-width: 700px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  position: relative;
  text-align: center;
}

.modal-content h3 {
  color: var(--blue);
  margin-bottom: 24px;
  font-size: 22px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  font-weight: 300;
  color: var(--gray-dark);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--blue);
}

/* IMAGE VIEWPORT */
.reader-viewport {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid var(--gray);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.reader-viewport img {
  max-height: 55vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* READER CONTROLS */
.reader-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
  gap: 16px;
}

#readerPageNum {
  font-weight: 600;
  color: var(--blue);
  font-size: 14px;
}

