:root {
  --bg-start: #fff7ed;
  --bg-end: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.92);
  --border: rgba(251, 146, 60, 0.22);
  --primary: #df6f3c;
  --primary-dark: #9a3412;
  --text: #2f1f1d;
  --muted: #64748b;
  --soft: #fff7ed;
  --soft-border: #fed7aa;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}
 
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
  color: var(--text);
}

.page {
  min-height: 100vh;
  padding: 24px 20px 80px;
}

.center-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.card {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 48px 36px;
  box-shadow: var(--shadow);
  text-align: center;
}

.logo img {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

h1 {
  margin: 24px 0 14px;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
}

h2 {
  margin-top: 44px;
  font-size: 28px;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
}

.tagline,
.subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: normal;
}

.text,
p,
li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

ul {
  padding-left: 24px;
}

.actions,
.links,
.buttons {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(223, 111, 60, 0.28);
}

.secondary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--soft-border);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.section {
  max-width: 1120px;
  margin: 72px auto 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.section-text {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature,
.shot {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.feature-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.screenshot-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.shot img {
  width: 100%;
  display: block;
  border-radius: 22px;
}

.caption {
  margin-top: 14px;
  text-align: center;
  font-weight: 800;
  color: #4b2e2b;
}

.curtain-box {
  background: var(--soft);
  border: 1px solid var(--soft-border);
  border-radius: 20px;
  padding: 22px;
  margin: 30px auto;
  max-width: 440px;
}

.curtain-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.curtain-code {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  word-break: break-all;
}

footer {
  margin-top: 40px;
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 700px) {
  .page {
    padding: 32px 16px 64px;
  }

  .card {
    padding: 32px 22px;
    border-radius: 28px;
  }

  .logo img {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 24px;
  }

  .tagline,
  .subtitle {
    font-size: 18px;
  }

  .text,
  p,
  li {
    font-size: 16px;
  }

  .curtain-code {
    font-size: 22px;
  }
}

.hero {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.top {
  margin-bottom: 40px;
  text-align: center;
}

.policy-card {
  max-width: 900px;
  text-align: left;
}

.policy-card h1 {
  text-align: center;
}

.updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.back {
  margin-top: 48px;
  text-align: center;
}

/* HERO BANNER */

.hero-banner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -48px;
}

.hero-image {
  width: 100%;
  display: block;
}

.hero-copy {
  margin-top: 48px;
}


.hero-copy {
  text-align: center;
}

.hero-copy h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.phone-mockup {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

.screenshot-grid .shot {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.screenshot-grid .shot:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* CORTINA INVITE LANDING */

.curtain-landing {
  margin: 0;
  background: #fff7ed;
  overflow-x: hidden;
}

.curtain-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #fff7ed;
}

.curtain-hero-image {
  width: 100%;
  min-height: 100vh;
  display: block;
  object-fit: cover;
}

.curtain-floating-panel {
  position: absolute;
  left: clamp(32px, 7vw, 120px);
  top: 50%;
  transform: translateY(-50%);
  width: min(480px, calc(100vw - 64px));
  padding: 32px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: 0 24px 70px rgba(47, 31, 29, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.curtain-mini-logo img {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

.curtain-copy h1 {
  margin: 22px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--text);
}

.curtain-copy p {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  color: #5f514d;
}

.curtain-code-panel {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 247, 237, 0.86);
  border: 1px solid rgba(254, 215, 170, 0.9);
}

.curtain-buttons {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.curtain-testing-note {
  margin-top: 22px;
  font-size: 14px;
  color: #8b7c76;
}

/* Mobile: full-screen image with floating CTA panel */
@media (max-width: 700px) {
  .curtain-hero {
    min-height: 100svh;
  }

  .curtain-hero-image {
    height: 100svh;
    min-height: 100svh;
    object-fit: cover;
  }

  .curtain-floating-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 48px;
    top: auto;
    transform: none;
    width: auto;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(251, 146, 60, 0.24);
    box-shadow: 0 20px 60px rgba(47, 31, 29, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .curtain-mini-logo {
    display: none;
  }

  .curtain-copy h1 {
    font-size: 25px;
    line-height: 1.04;
    margin: 0 0 10px;
    letter-spacing: -0.045em;
  }

  .curtain-copy p {
    font-size: 15px;
    line-height: 1.42;
    margin: 0;
    color: #6b5c57;
  }

  .curtain-code-panel {
    margin-top: 16px;
    padding: 11px 14px 12px;
    border-radius: 18px;
  }

  .curtain-label {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .curtain-code {
    font-size: 17px;
    letter-spacing: 0.07em;
  }

  .curtain-buttons {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .curtain-buttons .button,
  .curtain-buttons .secondary {
    text-align: center;
    padding: 13px 14px;
    font-size: 16px;
  }

  .curtain-testing-note {
    display: none;
  }
    .curtain-floating-logo {
    top: -34px;
  }

  .curtain-floating-logo img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .curtain-floating-panel {
    padding-top: 48px;
  }
}

@media (min-width: 701px) {
  .curtain-floating-panel {
    left: clamp(56px, 6vw, 120px);
    top: 50%;
    transform: translateY(-50%);
    width: min(500px, 30vw);
    padding: 28px 30px;
    border-radius: 30px;
  }

  .curtain-floating-logo {
    position: static;
    transform: none;
    margin-bottom: 18px;
  }

  .curtain-floating-logo img {
    width: 88px;
    height: 88px;
    border-radius: 24px;
  }

  .curtain-copy h1 {
    font-size: clamp(36px, 3vw, 52px);
    line-height: 1;
    margin: 0 0 14px;
  }

  .curtain-copy p {
    font-size: 17px;
    line-height: 1.45;
    max-width: 400px;
  }

  .curtain-code-panel {
    margin-top: 22px;
    padding: 16px 18px;
  }

  .curtain-code {
    font-size: 22px;
  }

  .curtain-buttons {
    margin-top: 22px;
    gap: 12px;
  }

  .curtain-buttons .button,
  .curtain-buttons .secondary {
    padding: 12px 20px;
    font-size: 14px;
  }
}

.platform-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(60, 47, 42, 0.55);
  text-align: center;
  letter-spacing: 0.01em;
}

.hero-banner picture {
  display: block;
}

.hero-image {
  width: 100%;
  display: block;
}

@media (max-width: 700px) {
  .hero-banner {
    margin-top: -32px;
  }

  .hero-image {
    width: 100%;
    height: auto;
  }
}

/* LANGUAGE SELECTOR */
.language-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(251, 146, 60, 0.2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(47, 31, 29, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(251, 146, 60, 0.35);
  transform: translateY(-1px);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lang-flag {
  display: inline-block;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.lang-flag img.emoji {
  width: 18px;
  height: 13px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  margin-top: -3px; /* Align correctly with text line height */
}

.lang-arrow {
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.language-selector.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 170px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(47, 31, 29, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 6px;
}

.language-selector.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  transition: all 0.15s ease;
}

.lang-item:hover {
  background: rgba(251, 146, 60, 0.1);
  color: var(--primary);
  transform: translateX(2px);
}

.lang-item.active {
  background: rgba(251, 146, 60, 0.22);
  color: #c2410c;
  font-weight: 700;
}

/* Adjust layout on mobile devices to prevent overlaps */
@media (max-width: 700px) {
  .language-selector {
    top: 16px;
    right: 16px;
  }
  
  .lang-btn {
    padding: 10px 16px;
    font-size: 14px;
    /* Ensure height is at least 40px for accessible touch target */
    min-height: 40px;
  }
  
  .lang-btn .lang-name {
    display: inline; /* Keep name visible on mobile for clarity and larger tap target */
  }

  .lang-dropdown {
    width: 170px;
    top: calc(100% + 10px);
  }

  .lang-item {
    padding: 10px 14px; /* Larger tap targets for mobile menu items */
    font-size: 15px;
  }
}

/* ============================================
   MOBILE FLOATING PLAY STORE CTA
   Visible only on mobile (≤700px), fixed to
   the bottom of the viewport above the fold.
   ============================================ */

@keyframes fabSlideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes fabAttention {
  0%   { transform: translateX(-50%) translateY(0)  scale(1);    box-shadow: 0 8px 28px rgba(223,111,60,0.45), 0 2px 8px rgba(0,0,0,0.12); }
  20%  { transform: translateX(-50%) translateY(-9px) scale(1.07); box-shadow: 0 18px 36px rgba(223,111,60,0.55), 0 4px 12px rgba(0,0,0,0.14); }
  40%  { transform: translateX(-50%) translateY(0)  scale(1);    box-shadow: 0 8px 28px rgba(223,111,60,0.45), 0 2px 8px rgba(0,0,0,0.12); }
  60%  { transform: translateX(-50%) translateY(-5px) scale(1.04); box-shadow: 0 14px 30px rgba(223,111,60,0.50), 0 3px 10px rgba(0,0,0,0.12); }
  80%  { transform: translateX(-50%) translateY(0)  scale(1);    box-shadow: 0 8px 28px rgba(223,111,60,0.45), 0 2px 8px rgba(0,0,0,0.12); }
  100% { transform: translateX(-50%) translateY(0)  scale(1);    box-shadow: 0 8px 28px rgba(223,111,60,0.45), 0 2px 8px rgba(0,0,0,0.12); }
}

.mobile-play-fab {
  display: none; /* Hidden by default – shown only in mobile media query */
}

@media (max-width: 700px) {
  .mobile-play-fab {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow:
      0 8px 28px rgba(223, 111, 60, 0.45),
      0 2px 8px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation:
      fabSlideUp  0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both,
      fabAttention 0.8s ease-in-out               1.0s 3 forwards;
    /* Prevent tap highlight on mobile */
    -webkit-tap-highlight-color: transparent;
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      background 0.18s ease;
  }

  .mobile-play-fab:active {
    transform: translateX(-50%) translateY(0) scale(0.96);
    box-shadow: 0 4px 16px rgba(223, 111, 60, 0.4);
    background: var(--primary-dark);
  }

  .mobile-play-fab__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
  }

  /* Push page bottom padding up so content isn't hidden behind the FAB */
  .page {
    padding-bottom: 96px;
  }
}

/* ============================================
   HELP & TUTORIALS PAGE STYLES
   ============================================ */

.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto 48px;
}

.search-icon-inside {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 15px 24px 15px 52px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(223, 111, 60, 0.12);
}

.search-input::placeholder {
  color: #94a3b8;
}

.tutorial-section {
  margin-top: 64px;
}

.tutorial-section-title {
  font-size: 26px;
  color: var(--primary-dark);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  text-align: left;
}

.tutorial-section-desc {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
  text-align: left;
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.tutorial-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tutorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #fed7aa 0%, #ffe6cc 100%);
  overflow: hidden;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Subtle morning sunset gradient over thumbnail */
.video-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(254, 215, 170, 0.25), rgba(47, 31, 29, 0.08));
  pointer-events: none;
}

.play-button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(223, 111, 60, 0.22);
  z-index: 2;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease;
}

.video-placeholder:hover .play-button {
  transform: scale(1.1);
  background: #ffffff;
}

.play-button svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
  margin-left: 3px;
}

.coming-soon-text {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  z-index: 2;
}

.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.video-player.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.video-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.tutorial-info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.tutorial-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
  line-height: 1;
}

.badge.duration {
  background: rgba(100, 116, 139, 0.08);
  color: var(--muted);
}

.badge.new {
  background: rgba(223, 111, 60, 0.12);
  color: var(--primary);
  border: 1px solid rgba(223, 111, 60, 0.15);
}

.tutorial-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 14px;
}

.tutorial-shows-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  margin: 0 0 6px;
  opacity: 0.95;
}

.tutorial-shows {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: var(--muted);
}

.tutorial-shows li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 4px;
}

.tutorial-shows li:last-child {
  margin-bottom: 0;
}

/* FAQ SECTION */

.faq-section {
  margin-top: 80px;
  border-top: 1px solid rgba(251, 146, 60, 0.15);
  padding-top: 64px;
}

.faq-grid {
  max-width: 800px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(251, 146, 60, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  -webkit-tap-highlight-color: transparent;
}

.faq-icon {
  font-size: 14px;
  color: var(--primary);
  font-weight: bold;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.faq-item.active {
  border-color: rgba(251, 146, 60, 0.4);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* STILL NEED HELP SECTION */

.still-need-help {
  text-align: center;
  background: linear-gradient(135deg, rgba(254, 215, 170, 0.18) 0%, rgba(255, 237, 213, 0.18) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px 32px;
  margin: 80px auto 0;
  max-width: 760px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.02);
}

.still-need-help h3 {
  font-size: 24px;
  color: var(--primary-dark);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.still-need-help p {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* MOBILE RESPONSIVENESS OVERRIDES */

@media (max-width: 700px) {
  .search-wrapper {
    margin-bottom: 32px;
  }
  
  .tutorials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tutorial-section-title {
    font-size: 22px;
  }
  
  .faq-question {
    padding: 16px 20px;
    font-size: 16px;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
  
  .still-need-help {
    padding: 32px 20px;
    margin-top: 56px;
  }
}

/* ============================================
   UGC VIDEO TESTIMONIALS STYLES
   ============================================ */

.video-testimonials-section {
  max-width: 1040px;
  margin: 80px auto 0;
  text-align: center;
}

.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
  justify-content: center;
}

.video-testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.vertical-video-container {
  position: relative;
  width: 100%;
  max-width: 260px; /* limits width to look like a phone */
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #2f1f1d;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border: 4px solid #2f1f1d; /* Phone bezel style */
}

.vertical-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 31, 29, 0.15);
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.video-testimonial-card.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(223, 111, 60, 0.3);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-overlay:hover .video-play-btn {
  transform: scale(1.1);
}

.video-play-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
  margin-left: 3px;
}

.video-testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
  margin: 20px 0 12px;
  text-align: center;
  min-height: 52px; /* Keeps card heights more aligned */
}

.video-testimonial-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.video-testimonial-link:hover {
  color: var(--primary-dark);
}

@media (max-width: 700px) {
  .video-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 10px;
  }
  
  .vertical-video-container {
    max-width: 220px;
  }
}

/* ============================================
   YOUTUBE CHANNEL PROMOTION STYLES
   ============================================ */

.youtube-section {
  max-width: 1040px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.youtube-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  align-items: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.youtube-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

.youtube-banner-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
}

.youtube-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.youtube-card:hover .youtube-banner-img {
  transform: scale(1.02);
}

.youtube-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 0;
}

.youtube-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.youtube-badge svg {
  width: 16px;
  height: 16px;
}

.youtube-info h3 {
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.youtube-info p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}

.youtube-btn {
  background: #ef4444 !important;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25) !important;
}

.youtube-btn:hover {
  background: #dc2626 !important;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.35) !important;
}

@media (max-width: 768px) {
  .youtube-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  
  .youtube-info {
    padding: 0;
  }
  
  .youtube-info h3 {
    font-size: 22px;
  }
}

/* ============================================
   WAITLIST MODAL STYLES
   ============================================ */

.waitlist-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 31, 29, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.waitlist-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.waitlist-modal {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px 32px;
  width: 90%;
  max-width: 460px;
  box-shadow: var(--shadow);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.waitlist-modal-overlay.active .waitlist-modal {
  transform: translateY(0) scale(1);
}

.waitlist-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.waitlist-close:hover {
  background: rgba(223, 111, 60, 0.08);
  color: var(--primary);
}

.waitlist-modal h3 {
  font-size: 26px;
  margin: 12px 0 10px;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.waitlist-modal p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 24px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.waitlist-input {
  width: 100%;
  padding: 15px 24px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.waitlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(223, 111, 60, 0.12);
}

.waitlist-input::placeholder {
  color: #94a3b8;
}

.waitlist-submit {
  display: inline-block;
  width: 100%;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(223, 111, 60, 0.28);
  transition: background 0.18s ease, transform 0.1s ease;
}

.waitlist-submit:hover {
  background: var(--primary-dark);
}

.waitlist-submit:active {
  transform: scale(0.98);
}

.waitlist-feedback {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.waitlist-feedback.error {
  color: #ef4444;
  display: block;
}

.waitlist-feedback.success {
  color: #22c55e;
  display: block;
}

/* Prevent scrolling when modal is open */
body.modal-open {
  overflow: hidden;
}



