/* ===================================================
   Code Drills – styles.css
   Colors: #17CEFB (blue) · #06F5A8 (green) · #060922 (dark) · #FDFDFD (white)
   Font: JetBrains Mono
   =================================================== */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ===== CSS Variables ===== */
:root {
  --blue: #3BC6EE;
  --green: #05CC8D;
  --dark: #060922;
  --white: #f0f0f0;

  /* light mode */
  --bg: var(--white);
  --fg: var(--dark);
  --bg-card: var(--white);
  --bg-section-alt: rgba(6, 9, 34, 0.04);
  --fg-muted: rgba(6, 9, 34, 0.60);
  --fg-subtle: rgba(6, 9, 34, 0.40);
  --header-bg: rgba(253, 253, 253, 0.90);
  --border-blue: rgba(23, 206, 251, 0.20);
  --border-green: rgba(6, 245, 168, 0.20);
  --bg-blue: rgba(23, 206, 251, 0.10);
  --bg-green: rgba(6, 245, 168, 0.10);
  --phone-border: var(--dark);
}

[data-theme="dark"] {
  --blue: #17CEFB;
  --green: #06F5A8;
  --bg: var(--dark);
  --fg: var(--white);
  --bg-card: var(--dark);
  --bg-section-alt: rgba(253, 253, 253, 0.04);
  --fg-muted: rgba(253, 253, 253, 0.60);
  --fg-subtle: rgba(253, 253, 253, 0.40);
  --header-bg: rgba(6, 9, 34, 0.90);
  --phone-border: rgba(253, 253, 253, 0.10);
}

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

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  text-transform: lowercase;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, opacity 0.2s;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ===== Utilities ===== */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 639px) {
  .container {
    padding: 0 1.25rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-blue {
  box-shadow: 0 0 20px rgba(23, 206, 251, 0.4);
}

.glow-green {
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-top: 1rem;
  line-height: 1.25;
}

.section-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-blue);
  transition: background-color 0.3s;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: none;
}

.site-header__logo img {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
}

.site-header__logo span {
  font-size: 1.125rem;
  font-weight: 700;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.site-header__nav a {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.site-header__nav a:hover {
  color: var(--blue);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  color: var(--fg-muted);
  transition: color 0.2s;
  font-size: 1rem;
}

.btn-icon:hover {
  color: var(--blue);
}

.btn-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--dark);
  transition: opacity 0.2s;
  text-transform: lowercase;
}

.btn-cta:hover {
  opacity: 0.9;
  color: var(--dark);
}

.btn-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--fg-muted);
  font-size: 1.2rem;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-blue);
  background: var(--bg);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.mobile-nav a:hover {
  color: var(--blue);
}

.mobile-nav .btn-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--dark);
  text-transform: lowercase;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__blob--tr {
  top: -10rem;
  right: -10rem;
  width: 24rem;
  height: 24rem;
  background: rgba(23, 206, 251, 0.10);
}

.hero__blob--bl {
  bottom: -10rem;
  left: -10rem;
  width: 24rem;
  height: 24rem;
  background: rgba(6, 245, 168, 0.10);
}

.hero__blob--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(23, 206, 251, 0.05);
}

.hero__inner {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: 100%;
}

.hero__grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(23, 206, 251, 0.30);
  background: rgba(23, 206, 251, 0.05);
  color: var(--blue);
  font-size: 0.875rem;
  width: fit-content;
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero__headline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
}

.hero__subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--fg-muted);
  line-height: 1.35;
}

.hero__desc {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 30rem;
}

.hero__catchphrases {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  min-width: 0;
  /* reserve space for up to 2 lines so content below doesn't jump */
  min-height: calc(clamp(0.9rem, 3.5vw, 1.35rem) * 1.4 * 2);
}

@media (min-width: 640px) {
  .hero__catchphrases {
    flex-wrap: nowrap;
    overflow: hidden;
    min-height: auto;
    height: clamp(1.6rem, 5vw, 2.2rem);
  }
}

.hero__catchphrases-prompt {
  font-size: clamp(0.9rem, 3.5vw, 1.35rem);
  color: color-mix(in srgb, var(--green) 90%, transparent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  flex: 0 0 auto;
}

.hero__catchphrases span {
  font-size: clamp(0.9rem, 3.5vw, 1.35rem);
  color: color-mix(in srgb, var(--green) 90%, transparent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

#typewriter {
  flex: 1;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
}

@media (min-width: 640px) {
  #typewriter {
    overflow: hidden;
    white-space: nowrap;
    word-break: normal;
  }
}

#typewriter::after {
  content: '|';
  display: inline-block;
  margin-left: 1px;
  animation: typewriter-cursor 0.7s step-end infinite;
}

@keyframes typewriter-cursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero__downloads {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
  text-transform: lowercase;
}

.btn-download--ios {
  background: var(--fg);
  color: var(--bg);
}

.btn-download--ios:hover {
  opacity: 0.9;
  color: var(--bg);
}

.btn-download--android {
  background: var(--fg);
  color: var(--bg);
}

.btn-download--android:hover {
  opacity: 0.9;
  color: var(--bg);
}

.btn-download-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-download-label small {
  font-size: 0.7rem;
  opacity: 0.7;
}

.hero__see-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--blue);
  transition: gap 0.2s;
}

.hero__see-more:hover {
  gap: 0.75rem;
  color: var(--blue);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__visual-wrap {
  position: relative;
}

.hero__visual-glow {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(23, 206, 251, 0.20), rgba(6, 245, 168, 0.20));
  filter: blur(40px);
  transform: scale(1.1);
}

.hero__visual-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-blue);
  background: rgba(6, 9, 34, 0.05);
  padding: 0.5rem;
}

[data-theme="dark"] .hero__visual-frame {
  background: rgba(253, 253, 253, 0.05);
}

.hero__visual-frame img {
  border-radius: 1rem;
  width: 100%;
  max-width: 360px;
}

/* ===== Sections common ===== */
section {
  padding: 6rem 0;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-blue);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(23, 206, 251, 0.35);
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  transition: transform 0.2s;
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1);
}

.feature-card__icon--blue {
  background: var(--bg-blue);
  color: var(--blue);
}

.feature-card__icon--green {
  background: var(--bg-green);
  color: var(--green);
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== How It Works ===== */
.how-section {
  background: var(--bg-section-alt);
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  position: relative;
}

.step__icon-wrap {
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(23, 206, 251, 0.20), rgba(6, 245, 168, 0.20));
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--blue);
  flex-shrink: 0;
}

.step__num {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== Screenshots ===== */
.screenshots-wrap {
  position: relative;
}

.screenshots-nav-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  color: var(--blue);
  transition: background-color 0.2s;
  font-size: 0.875rem;
}

.screenshots-nav-btn:hover {
  background: var(--bg-blue);
}

.screenshots-nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.screenshots-nav-btn--left {
  left: -1rem;
}

.screenshots-nav-btn--right {
  right: -1rem;
}

.screenshots-scroll {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.screenshot-phone {
  position: relative;
  width: 100%;
  max-width: 200px;
  border-radius: 2.5rem;
  border: 6px solid var(--phone-border);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  aspect-ratio: 9 / 19;
}

.screenshot-phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screenshot-phone__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, rgba(6, 9, 34, 0.6), transparent);
  z-index: 1;
}

.screenshot-caption {
  text-align: center;
  max-width: 180px;
}

.screenshot-caption strong {
  display: block;
  font-size: 0.875rem;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.screenshot-caption span {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.screenshots-dots {
  display: none;
}

.dot {
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--fg-subtle);
  transition: width 0.3s, background-color 0.3s;
  width: 0.5rem;
  border: none;
  cursor: pointer;
}

.dot.is-active {
  width: 1.5rem;
  background: var(--blue);
}

/* ===== Reviews ===== */
.reviews-section {
  background: var(--bg-section-alt);
  --reviews-scroll-duration: 55s;
  --reviews-gap: 1.5rem;
  --reviews-gap-offset: 0.75rem;
}

.reviews-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
}

.reviews-track {
  display: flex;
  gap: var(--reviews-gap);
  width: max-content;
  animation: reviews-scroll var(--reviews-scroll-duration) linear infinite;
  will-change: transform;
  align-items: stretch;
}

.review-card {
  flex: 0 0 auto;
  min-width: 260px;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-blue);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 16px 40px rgba(6, 9, 34, 0.08);
}

.review-card__source {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.review-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

@keyframes reviews-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - var(--reviews-gap-offset)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
  }
}

/* ===== Languages ===== */
.languages-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 4rem;
}

.lang-card {
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.2s;
}

.lang-card:hover {
  transform: scale(1.04);
}

.lang-card--blue {
  border: 1px solid var(--border-blue);
  background: var(--bg-blue);
}

.lang-card--green {
  border: 1px solid var(--border-green);
  background: var(--bg-green);
}

.lang-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.lang-card__svg {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  display: block;
  filter: invert(0);
}

.lang-card--green .lang-card__svg {
  filter: invert(87%) sepia(38%) saturate(500%) hue-rotate(100deg) brightness(98%) contrast(98%);
}

.lang-card--blue i {
  color: var(--blue);
}

.lang-card--green i {
  color: var(--green);
}

.lang-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
  text-transform: none;
}

.lang-card p {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.skill-levels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.skill-badge {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border-blue);
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: border-color 0.2s, color 0.2s;
}

.skill-badge:hover {
  border-color: rgba(23, 206, 251, 0.5);
  color: var(--blue);
}

/* ===== Who Is It For ===== */
.who-section {
  background: var(--bg-section-alt);
}

.audience-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.audience-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-blue);
  background: var(--bg-card);
  text-align: center;
  transition: border-color 0.2s;
}

.audience-card:hover {
  border-color: rgba(6, 245, 168, 0.35);
}

.audience-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(23, 206, 251, 0.20), rgba(6, 245, 168, 0.20));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  color: var(--blue);
}

.audience-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.audience-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== Download CTA ===== */
.cta-wrap {
  position: relative;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 206, 251, 0.10), rgba(6, 245, 168, 0.10));
  border-radius: 1.5rem;
  filter: blur(60px);
}

.cta-box {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--border-blue);
  background: var(--bg-card);
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

.cta-box__corner--tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 8rem;
  height: 8rem;
  background: var(--bg-blue);
  border-radius: 0 0 100% 0;
}

.cta-box__corner--br {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: var(--bg-green);
  border-radius: 100% 0 0 0;
}

.cta-box__content {
  position: relative;
}

.cta-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-box p {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-downloads {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border-blue);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: none;
}

.footer-brand__logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.footer-brand__logo span {
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.footer-brand .catchphrase {
  font-size: 0.75rem;
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-blue);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p,
.footer-bottom span {
  font-size: 0.75rem;
  color: var(--fg-subtle);
}

.footer-bottom .built-with {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--fg-subtle);
}

.footer-bottom .built-with .highlight-blue {
  color: var(--blue);
}

.footer-bottom .built-with .highlight-green {
  color: var(--green);
}

.footer-cookie-settings {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--fg-subtle);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cookie-settings:hover {
  color: var(--fg-muted);
}

/* ===== Responsive ===== */

/* ≥ 640px */
@media (min-width: 640px) {
  .hero__downloads {
    flex-direction: row;
  }

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

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

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

  .cta-downloads {
    flex-direction: row;
    justify-content: center;
  }
}

/* ≥ 768px */
@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
  }

  .btn-cta {
    display: flex;
  }

  .btn-hamburger {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .screenshots-scroll {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-connector {
    display: block;
    position: absolute;
    top: 2.5rem;
    left: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(23, 206, 251, 0.30), rgba(6, 245, 168, 0.30));
  }

  .screenshots-nav-btn {
    display: none;
  }
}

/* ≥ 1024px */
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__visual {
    justify-content: flex-end;
  }

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

  .languages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Cookie Banner ===== */
#cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 640px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  z-index: 9999;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.cookie-banner__text i {
  color: var(--blue);
  margin-right: 0.4rem;
}

.cookie-banner__text strong {
  color: var(--fg);
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.45rem 1rem;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  text-transform: lowercase;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

.cookie-banner__btn--accept {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--dark);
  border: none;
}

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border-blue);
}

.cookie-banner__link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__link:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
  }
}
