/* ============================================
   NoAdsDownloader.com — Design System
   Premium Dark Theme · Glassmorphism · Mobile-First
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-input: rgba(255, 255, 255, 0.06);

  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a80;

  --accent-blue: #4f8cff;
  --accent-blue-hover: #6ba0ff;
  --accent-blue-glow: rgba(79, 140, 255, 0.3);
  --accent-blue-subtle: rgba(79, 140, 255, 0.1);

  --accent-green: #34d399;
  --accent-green-subtle: rgba(52, 211, 153, 0.1);

  --accent-amber: #F5A623;
  --accent-amber-hover: #ffb940;
  --accent-amber-glow: rgba(245, 166, 35, 0.3);

  --accent-red: #ff4d6a;

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

  --fs-hero: clamp(2.2rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 3.5vw, 2.25rem);
  --fs-h3: clamp(1.1rem, 2vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --section-padding: clamp(60px, 8vw, 100px);
  --container-max: 1100px;
  --container-narrow: 720px;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 50px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-glow-blue: 0 0 30px rgba(79, 140, 255, 0.15);
  --shadow-glow-amber: 0 0 30px rgba(245, 166, 35, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-blue-hover);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, textarea {
  font-family: var(--font-body);
  outline: none;
  border: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--accent-blue);
  color: var(--text-primary);
}


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

.container--narrow {
  max-width: var(--container-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 540px;
}

/* --- Fade-in Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition-base);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  text-decoration: none;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-blue), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav__logo-text span {
  color: var(--accent-blue);
}

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

.nav__links a {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--text-primary);
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--section-padding) + 80px) 0 var(--section-padding);
  text-align: center;
  overflow: visible;
}

/* Background gradient mesh */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(79, 140, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-blue-subtle);
  border: 1px solid rgba(79, 140, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--accent-blue);
  margin-bottom: 28px;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title-accent {
  display: block;
  background: linear-gradient(135deg, var(--accent-blue), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
}

@media (min-width: 768px) {
  .hero__title-accent {
    white-space: nowrap;
  }
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- URL Input Area --- */
.hero__input-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px;
}

.hero__input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 6px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.hero__input-group:focus-within {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.hero__input-icon {
  position: absolute;
  left: 20px;
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
  transition: color var(--transition-base);
}

.hero__input-group:focus-within .hero__input-icon {
  color: var(--accent-blue);
}

.hero__input {
  flex: 1;
  padding: 16px 16px 16px 48px;
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  border-radius: var(--radius-md);
}

.hero__input::placeholder {
  color: var(--text-muted);
}

.hero__input-btn {
  padding: 14px 28px;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: #fff;
  background: var(--accent-blue);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero__input-btn:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79, 140, 255, 0.3);
}

.hero__input-btn:active {
  transform: translateY(0);
}

/* Trust trio */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.hero__trust-icon {
  font-size: 1.1rem;
  line-height: 1;
}


/* ============================================
   FORMAT SELECTION PANEL
   ============================================ */
.format-panel {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin 0.4s ease;
}

.format-panel.is-active {
  max-height: 600px;
  opacity: 1;
  margin-top: 8px;
  margin-bottom: 40px;
}

.format-panel__inner {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 28px 32px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Video title display */
.format-panel__video-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.format-panel__thumb {
  width: 80px;
  height: 45px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  flex-shrink: 0;
  overflow: hidden;
}

.format-panel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-panel__video-title {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tabs */
.format-panel__tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 20px;
}

.format-panel__tab {
  flex: 1;
  padding: 10px 16px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all var(--transition-base);
}

.format-panel__tab:hover {
  color: var(--text-secondary);
}

.format-panel__tab.is-active {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.2);
}

/* Quality Cards */
.format-panel__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.format-card {
  position: relative;
  padding: 22px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.format-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.format-card.is-selected {
  background: var(--accent-blue-subtle);
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.1);
}

.format-card__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: var(--fw-semibold);
  background: var(--accent-blue);
  color: #fff;
  border-radius: var(--radius-full);
  display: none;
}

.format-card.is-selected .format-card__badge {
  display: block;
}

.format-card__resolution {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.format-card__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.format-card.is-selected .format-card__label {
  color: var(--accent-blue);
}

/* Audio tab content */
.format-panel__audio {
  display: none;
  text-align: center;
  padding: 16px 0;
}

.format-panel__audio.is-active {
  display: block;
}

.format-panel__video-cards {
  display: block;
}

.format-panel__video-cards.is-hidden {
  display: none;
}

.format-panel__mp3-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  width: 100%;
  justify-content: center;
}

.format-panel__mp3-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.format-panel__mp3-btn .mp3-icon {
  font-size: 1.2rem;
}

.format-panel__mp3-note {
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Download CTA */
.format-panel__cta {
  width: 100%;
  padding: 16px;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: #fff;
  background: var(--accent-blue);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.format-panel__cta:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.35);
}

.format-panel__cta:active {
  transform: translateY(0);
}

/* Progress bar */
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
  display: none;
}

.progress-bar.is-active {
  display: block;
}

.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-bar__text {
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  display: none;
}

.progress-bar__text.is-active {
  display: block;
}


/* ============================================
   SECTION: HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.how-it-works__header {
  text-align: center;
  margin-bottom: 56px;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connector line between steps */
.how-it-works__steps::before {
  display: none;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-blue-subtle);
  border: 2px solid rgba(79, 140, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--accent-blue);
  position: relative;
  z-index: 1;
}

.step__icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  max-width: 260px;
  margin: 0 auto;
}


/* ============================================
   SECTION: WHY NOADSDOWNLOADER
   ============================================ */
.why-us {
  padding: var(--section-padding) 0;
}

.why-us__header {
  text-align: center;
  margin-bottom: 56px;
}

.why-us__header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: default;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================
   INLINE COFFEE (appears below format panel after download)
   ============================================ */
.coffee-inline {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, margin 0.4s ease;
}

.coffee-inline.is-active {
  max-height: 800px;
  opacity: 1;
  margin-top: 32px;
  margin-bottom: 20px;
}

.coffee-inline__inner {
  background: var(--bg-card);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
}

.coffee__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.coffee__selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.coffee__cup {
  font-size: 1.5rem;
  margin-right: 4px;
}

.coffee__multiplier {
  font-size: var(--fs-body);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

.coffee__qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee__qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.coffee__qty-btn.is-active {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #000;
  box-shadow: 0 2px 12px rgba(245, 166, 35, 0.3);
}

/* Custom quantity input */
.coffee__qty-input {
  width: 48px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: all var(--transition-base);
  -moz-appearance: textfield;
}

.coffee__qty-input::-webkit-outer-spin-button,
.coffee__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.coffee__qty-input::placeholder {
  color: var(--text-muted);
}

.coffee__qty-input:focus {
  border-color: var(--accent-amber);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.coffee__qty-input.is-active {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #000;
  box-shadow: 0 2px 12px rgba(245, 166, 35, 0.3);
}

/* Optional fields */
/* Optional fields removed */

.coffee__support-btn {
  width: 100%;
  padding: 16px;
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: #000;
  background: var(--accent-amber);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.coffee__support-btn-sub {
  font-size: 0.75rem;
  font-weight: var(--fw-normal);
  opacity: 0.8;
}

.coffee__secure-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.coffee__support-btn:hover {
  background: var(--accent-amber-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-amber);
}

.coffee__support-btn:active {
  transform: translateY(0);
}

.coffee__crypto {
  margin-top: 20px;
}

.coffee__crypto-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 8px;
}

.coffee__wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.coffee__wallet-address {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  word-break: break-all;
  flex: 1;
  user-select: all;
  cursor: text;
}

.coffee__copy-btn {
  padding: 4px 10px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.coffee__copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}


/* ============================================
   SECTION: FAQ
   ============================================ */
.faq {
  padding: var(--section-padding) 0;
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__list {
  max-width: 680px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--accent-blue);
}

.faq__chevron {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer-inner {
  padding: 0 0 22px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================
   TRUST BANNER
   ============================================ */
.trust-banner {
  padding: 40px 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.trust-banner__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}

.trust-banner__icon {
  font-size: 1.25rem;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer__sep {
  color: rgba(255, 255, 255, 0.15);
}

.footer a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 768px) {
  .nav__links {
    gap: 20px;
  }

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 400px;
    margin: 0 auto;
  }

  .how-it-works__steps::before {
    display: none;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero__trust {
    gap: 16px;
  }

  .format-panel__inner {
    padding: 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav__links a:not(:last-child) {
    display: none;
  }

  .hero {
    padding: calc(var(--section-padding) + 60px) 0 48px;
  }

  /* Fix subtitle clipping — allow wrap, prevent overflow */
  .hero__title-accent {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
  }

  .hero__input-group {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }

  .hero__input {
    padding: 14px 14px 14px 42px;
    width: 100%;
    font-size: 0.9375rem;
  }

  .hero__input-icon {
    left: 16px;
    top: 22px;
  }

  .hero__input-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  .hero__trust {
    flex-direction: column;
    gap: 10px;
  }

  /* Fix: ensure trust badges don't overlap format panel on mobile */
  .hero__trust {
    margin-bottom: 12px;
  }

  .format-panel.is-active {
    margin-top: 0;
  }

  .format-panel__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .format-card {
    padding: 14px 8px;
  }

  .format-card__resolution {
    font-size: 1.125rem;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .coffee__selector {
    gap: 8px;
  }

  .coffee__qty-btn {
    width: 40px;
    height: 40px;
    font-size: var(--fs-small);
  }

  .trust-banner__inner {
    flex-direction: column;
    gap: 14px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 4px;
  }

  .footer__sep {
    display: none;
  }
}
