/* CSS Variables for theming */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #111827;
  --bg-card: #1e293b;
  --bg-input: #0f172a;
  --border-color: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: rgba(249, 250, 251, 0.7);
  --text-muted: rgba(156, 163, 175, 1);
  --accent-color: #3eb489;
  --navbar-bg: #0f172a;
}

[data-theme="light"] {
  --bg-primary: #f5efe3;
  --bg-secondary: #f5efe3;
  --bg-card: #fdfaf5;
  --bg-input: #ffffff;
  --border-color: #d4c9b0;
  --text-primary: #1a1a1a;
  --text-secondary: rgba(0, 0, 0, 0.7);
  --text-muted: rgba(0, 0, 0, 0.5);
  --accent-color: #064e3b;
  --navbar-bg: #f5efe3;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[data-theme="light"] body {
  background: var(--bg-primary);
}

/* Navigation */
.navbar {
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 9, 0.96),
    rgba(5, 5, 9, 0.78)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: none;
  border-bottom: 1px solid var(--border-color);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

[data-theme="light"] .navbar {
  background: linear-gradient(
    to bottom,
    rgba(237, 229, 213, 0.98),
    rgba(237, 229, 213, 0.92)
  );
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Theme Toggle */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background 0.2s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: block;
}

[data-theme="light"] .theme-icon-sun {
  display: block;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-brand-text {
  font-weight: 600;
}

.nav-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 24px;
  transition: background 0.2s;
}

.nav-user-profile:hover {
  background: var(--bg-secondary);
}

.nav-user-name {
  font-size: 14px;
  font-weight: 500;
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hamburger menu button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.hamburger-open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--accent-color) 82%, white);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.4);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
}

.btn-large {
  padding: 20px 60px;
  font-size: 20px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-icon {
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
}

.btn-icon:hover {
  background: var(--bg-secondary);
}

/* Hero Section - Fullscreen */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Placeholder gradient when no image is set */
  background-color: #1a2f1a;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.65) 30%,
    rgba(0, 0, 0, 0.68) 60%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.hero-content-centered {
  position: relative;
  z-index: 10;
  max-width: 860px;
  padding: 80px 20px;
}

.hero-headline {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--accent-color);
}

.hero-tagline {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn-accent {
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  color: #ffffff;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #52c49a, #4aaee8);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(62, 180, 137, 0.45);
}

.btn-outline-light {
  background: transparent;
  color: white;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-auth {
  margin-top: 40px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--text-primary);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.user-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid white;
}

.user-info {
  text-align: left;
}

.welcome-text {
  font-size: 14px;
  opacity: 0.8;
}

.user-name {
  font-size: 24px;
  font-weight: 600;
}

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

/* Legacy hero styles (kept for compatibility) */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-note {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 12px;
}

.hero-actions .btn-primary {
  background: white;
  color: #667eea;
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* About Section */
.about-section {
  padding: 80px 20px;
  background: var(--bg-primary);
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-accent-bar {
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin-bottom: 32px;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 32px;
  line-height: 1.2;
  width: fit-content;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-text-tos {
  margin-top: 40px;
}

.inline-link {
  color: var(--accent-color);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.inline-link:hover {
  opacity: 0.75;
}

/* Get DingDuff Section */
.get-dingduff-section {
  padding: 80px 20px;
  background: var(--bg-secondary);
}

.get-dingduff-container {
  max-width: 1100px;
  margin: 0 auto;
}

.get-dingduff-title {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  line-height: 1.2;
  width: fit-content;
}

.get-dingduff-intro {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 64px;
  line-height: 1.7;
}

.get-dingduff-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.get-dingduff-block:last-child {
  margin-bottom: 0;
}

.get-dingduff-block-reverse .get-dingduff-image {
  order: -1;
}

.get-dingduff-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.get-dingduff-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.get-dingduff-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: 12px;
}

.get-dingduff-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.step-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* Steps 1–3 overview */
.get-dingduff-steps {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 72px;
}

.get-dingduff-step-card {
  flex: 1;
  border-top: 2px solid var(--accent-color);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 14px;
}

.get-dingduff-step-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.get-dingduff-step-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  flex: 1;
}

.get-dingduff-btn {
  margin-top: 20px;
  display: inline-block;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .get-dingduff-steps {
    flex-direction: column;
    gap: 32px;
  }

  .get-dingduff-step-card {
    border-top: none;
    border-left: 2px solid var(--accent-color);
    padding-top: 0;
    padding-left: 24px;
  }
}

/* Step 2 detailed sub-steps */
.get-dingduff-step2 {
  border-left: 3px solid var(--accent-color);
  padding-left: 32px;
  margin-bottom: 80px;
}

.get-dingduff-step2 > h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.step2-intro {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.substep-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.substep-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.substep-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.substep-number--spacer {
  visibility: hidden;
}

.substep-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0;
  padding-top: 4px;
}

.get-dingduff-substep-block {
  margin-bottom: 40px;
}

.get-dingduff-substep-block .get-dingduff-text {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.get-dingduff-substep-block .get-dingduff-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0;
}

.get-dingduff-substep-block .get-dingduff-text--stacked {
  flex-direction: column;
  gap: 1.25rem;
}

.substep-pair {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.substep-pair p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0;
}

.get-dingduff-substep-block .get-dingduff-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--border-color);
}

.get-dingduff-result {
  margin-top: 40px;
}

.get-dingduff-result > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.get-dingduff-result-image {
  max-width: 700px;
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* Step 3 top spacing */
.get-dingduff-step3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .get-dingduff-block,
  .get-dingduff-block-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }

  .get-dingduff-step2 {
    padding-left: 20px;
  }
}

/* Hero Video Section */
.hero-video-section {
  padding: 180px 20px 60px;
  background: var(--bg-primary);
}

.hero-video-container {
  max-width: 940px;
  margin: 5.5rem auto 0;
}

.hero-video-link {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
}

.hero-video-link a {
  color: var(--text-secondary);
  text-decoration: none;
}

.hero-video-link a:hover {
  color: var(--accent-primary);
}

/* Who Is DingDuff For Section */
.who-section {
  padding: 80px 20px;
  background: var(--bg-primary);
}

/* How it Works Section */
.how-it-works {
  padding: 80px 20px;
  background: var(--bg-secondary);
}

.how-it-works-container {
  max-width: 900px;
  margin: 0 auto;
}

.how-it-works-title {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 32px;
  width: fit-content;
}

.how-it-works-subtitle {
  font-size: 28px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 20px;
  margin-top: 8px;
}

.how-it-works-subtitle-note {
  font-size: 20px;
  font-weight: 400;
  color: #8ed4b5;
  margin-left: 8px;
}

[data-theme="light"] .how-it-works-subtitle-note {
  color: #6aa98a;
}

.how-it-works-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.how-it-works-link {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.how-it-works-screenshot {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  min-height: 200px;
}

.how-it-works-screenshot img {
  width: 100%;
  display: block;
}

.how-it-works-screenshot--crop-bottom {
  min-height: 0;
  aspect-ratio: 1830 / 248;
  overflow: hidden;
}

/* Step 3 body copy — lives inside .get-dingduff-step2, so it already picks
   up the left vertical accent line and left padding from that wrapper. */
.get-dingduff-step2 .get-dingduff-step-copy {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0 0 32px;
  max-width: 720px;
}

.get-dingduff-step2 .get-dingduff-step-copy:last-child {
  margin-bottom: 0;
}

/* Top-align variant of .get-dingduff-block — used when the left column is
   much shorter than the right column (e.g. the 5-item list beside the
   4-screenshot flow in Step 3) so the text doesn't float in the middle. */
.get-dingduff-block.get-dingduff-block--top-align {
  align-items: start;
}

.get-dingduff-step2 .get-dingduff-step-subheading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 14px;
  line-height: 1.3;
}

.get-dingduff-step2 .get-dingduff-step-list {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: step-counter;
}

.get-dingduff-step2 .get-dingduff-step-list li {
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  padding-left: 0;
}

.get-dingduff-step2 .get-dingduff-step-list li::before {
  content: counter(step-counter);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 4px;
}

[data-theme="light"] .get-dingduff-step2 .get-dingduff-step-list li::before {
  background: linear-gradient(130deg, #064e3b 0%, #4a8f72 50%, #8ab5a0 100%);
}

/* Vertical screenshot flow used in Step 3. Sits in the right column of a
   .get-dingduff-block grid, so each image automatically matches the size of
   Step 2's screenshots. Down arrows between images make it read as a flow. */
.get-dingduff-image-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}

.get-dingduff-image-flow img {
  width: 100%;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--border-color);
}

.get-dingduff-image-flow .get-dingduff-flow-arrow {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-color);
  text-align: center;
  user-select: none;
  margin: 0.2rem 0;
}

.how-it-works-screenshot--crop-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.skill-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.skill-download-link:hover {
  background: linear-gradient(135deg, #52c49a, #4aaee8);
  box-shadow: 0 4px 16px rgba(62, 180, 137, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

[data-theme="light"] .skill-download-link {
  background: linear-gradient(130deg, #064e3b 0%, #4a8f72 50%, #8ab5a0 100%);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}

[data-theme="light"] .skill-download-link:hover {
  background: linear-gradient(135deg, #52c49a, #4aaee8);
  box-shadow: 0 4px 16px rgba(62, 180, 137, 0.45);
}

.how-it-works-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .how-it-works-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-it-works-screenshot {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.how-it-works-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
  background: transparent;
}

.how-it-works-video iframe,
.how-it-works-video video {
  width: 100%;
  height: 100%;
  display: block;
}

/* Full Width Image Section */
.full-width-image {
  width: 100%;
  height: 400px;
  position: relative;
}

.full-width-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: bottom;
  filter: grayscale(100%);
}

/* Opportunity Section */
.opportunity-section {
  padding: 80px 20px;
  background: var(--bg-primary);
}

.opportunity-container {
  max-width: 900px;
  margin: 0 auto;
}

.opportunity-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  line-height: 1.2;
}

/* Accordion */
.accordion {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-card);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--bg-secondary);
}

.accordion-icon {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-card);
  transition: max-height 0.3s ease-out;
}

.accordion-open .accordion-content {
  max-height: 300px;
}

.accordion-open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content ul {
  padding: 0 24px 24px 48px;
  list-style: disc;
  color: var(--text-secondary);
}

.accordion-content li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Skills Section */
.skills-section {
  padding: 80px 20px;
  background: var(--bg-primary);
  text-align: center;
}

.skills-container {
  max-width: 800px;
  margin: 0 auto;
}

.applications-accent-bar {
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 0 auto 32px;
}

.skills-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.skills-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.skills-image {
  margin-top: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.skills-image img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* Preferences Section */
.preferences-section {
  padding: 80px 20px;
  background: var(--bg-secondary);
}

.preferences-container {
  max-width: 900px;
  margin: 0 auto;
}

.preferences-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 40px;
  line-height: 1.2;
}

.preferences-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.preferences-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.preferences-image {
  width: 100%;
}

.preferences-image img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .preferences-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

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

.video-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 60px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.video-title {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
}

.video-play-btn {
  color: #3eb489;
  cursor: pointer;
  transition: transform 0.2s;
}

.video-play-btn:hover {
  transform: scale(1.1);
}

/* Team Section */
.team-section {
  padding: 80px 20px;
  background: var(--bg-primary);
}

.team-container {
  max-width: 900px;
  margin: 0 auto;
}

.team-section .applications-accent-bar {
  margin: 0 0 32px;
}

.team-title {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
  width: fit-content;
}

.team-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 48px;
  text-align: left;
}

/* Team Accordion */
.team-accordion {
  text-align: left;
}

.team-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.team-accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--accent-color);
  transition: background 0.2s;
}

.team-accordion-header:hover {
  background: var(--bg-secondary);
}

.team-accordion-icon {
  font-size: 24px;
  color: var(--text-muted);
}

.team-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.team-accordion-open .team-accordion-content {
  max-height: 500px;
}

.team-accordion-content p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.team-accordion-content p:first-child {
  padding-top: 0;
}

/* Contact Form Section */
.contact-section {
  padding: 80px 20px;
  background: var(--bg-secondary);
  text-align: center;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.contact-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.contact-form {
  text-align: left;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-form .form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  background: var(--bg-input);
  color: var(--text-primary);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.contact-form .form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.15);
}

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

.contact-form .form-textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
}

/* Features Section */
.features {
  padding: 80px 20px;
  background: var(--bg-primary);
}

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

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

/* Integration Section */
.integration {
  padding: 80px 20px;
  background: var(--bg-secondary);
  text-align: center;
}

.integration-container {
  max-width: 800px;
  margin: 0 auto;
}

.integration h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.integration > p {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 300;
}

.integration-logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.integration-item {
  background: var(--bg-card);
  padding: 24px 32px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.integration-name {
  font-weight: 600;
  color: var(--text-primary);
}

/* Profile Page */
.profile-section {
  padding: 40px 20px;
  flex: 1;
  background: var(--bg-primary);
}

.profile-container {
  max-width: 800px;
  margin: 0 auto;
}

.loading-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.not-logged-in {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.not-logged-in h2 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.not-logged-in p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
}

.profile-info h1 {
  font-size: 28px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.profile-email {
  color: var(--text-secondary);
  font-size: 16px;
}

.profile-details {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.profile-details h2 {
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.detail-item label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-item span {
  font-size: 16px;
  color: var(--text-primary);
}

/* Token Section */
.token-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.token-section h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.token-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.token-box {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.token-box label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.token-input-group {
  display: flex;
  gap: 8px;
}

.token-input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: "SF Mono", Monaco, "Courier New", monospace;
  font-size: 14px;
  background: var(--bg-card);
  color: var(--text-primary);
}

.copy-feedback {
  color: #48bb78;
  font-size: 14px;
  margin-top: 8px;
}

.config-example {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--border-color);
}

.config-example h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.config-example p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
}

.config-example code {
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent-color);
  font-family: "SF Mono", Monaco, "Courier New", monospace;
}

.code-block {
  background: #2d3748;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
  font-family: "SF Mono", Monaco, "Courier New", monospace;
  font-size: 13px;
  margin-bottom: 16px;
  white-space: pre;
}

.profile-actions {
  text-align: center;
}

.error {
  color: #e53e3e;
}

/* Profile Avatar Container */
.profile-avatar-container {
  position: relative;
  display: inline-block;
}

.avatar-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--bg-card);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-primary);
}

.avatar-edit-btn:hover {
  background: var(--accent-color);
  color: var(--bg-primary);
}

.avatar-edit-btn svg {
  display: block;
}

/* Profile Edit Section */
.profile-edit-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.profile-edit-section h2 {
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.profile-form {
  max-width: 500px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: var(--bg-input);
  color: var(--text-primary);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

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

.picture-input-group {
  display: flex;
  gap: 8px;
}

.picture-input-group .form-input {
  flex: 1;
}

.btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-upload:hover {
  background: var(--border-color);
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.save-feedback {
  font-size: 14px;
  font-weight: 500;
}

.save-feedback-success {
  color: #48bb78;
}

.save-feedback-error {
  color: #e53e3e;
}

.save-feedback-info {
  color: #4299e1;
}

/* Security Section */
.profile-security-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.profile-security-section h2 {
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.security-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.security-item:last-child {
  border-bottom: none;
}

.security-info h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.security-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.security-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 8px;
}

.badge-success {
  background: #c6f6d5;
  color: #276749;
}

.badge-warning {
  background: #feebc8;
  color: #c05621;
}

.badge-princess {
  background: #e9d5ff;
  color: #6b21a8;
}

/* API Keys Section */
.profile-api-keys-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.profile-api-keys-section h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.tier-display {
  margin-bottom: 20px;
}

.tier-description {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.api-key-form-container h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.api-key-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.api-key-date {
  color: var(--text-muted);
  font-size: 13px;
}

.btn-sm {
  padding: 4px 12px;
  font-size: 13px;
}

/* Footer */
.footer {
  background: var(--bg-primary);
  color: var(--text-muted);
  padding: 24px 20px;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer p {
  font-size: 14px;
}

.footer-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1050px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.3s,
      opacity 0.3s,
      visibility 0.3s;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.nav-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
  }

  .nav-links .nav-link:last-of-type {
    border-bottom: none;
  }

  .nav-user-profile {
    padding: 16px 0;
    justify-content: center;
  }

  #auth-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 16px;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .user-welcome {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* Light mode general overrides */

[data-theme="light"] .code-block {
  background: #2c2416;
  color: #f5efe3;
}

[data-theme="light"] .footer {
  background: var(--bg-primary);
  border-top-color: var(--border-color);
}

/* Light mode overrides for hardcoded greens */
[data-theme="light"] .btn-primary {
  background: var(--accent-color);
  color: #ffffff;
}

[data-theme="light"] .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color) 82%, white);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.3);
}

[data-theme="light"] .btn-accent {
  background: linear-gradient(130deg, #064e3b 0%, #4a8f72 50%, #8ab5a0 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}

[data-theme="light"] .btn-accent:hover {
  background: linear-gradient(135deg, #52c49a, #4aaee8);
  box-shadow: 0 4px 16px rgba(62, 180, 137, 0.45);
}

[data-theme="light"] .about-accent-bar,
[data-theme="light"] .applications-accent-bar {
  background: var(--accent-color);
}

[data-theme="light"] .video-play-btn {
  color: var(--accent-color);
}

[data-theme="light"] .substep-number {
  background: linear-gradient(130deg, #064e3b 0%, #4a8f72 50%, #8ab5a0 100%);
  color: #ffffff;
}

[data-theme="light"] .get-dingduff-step-card {
  border-top-color: var(--accent-color);
}

[data-theme="light"] .get-dingduff-step2 {
  border-left-color: var(--accent-color);
}

/* ── New design elements ─────────────────────────────────── */

/* Hero kicker eyebrow label */
.hero-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Gradient text on hero headline */
.hero-gradient-text {
  background: linear-gradient(135deg, #2d9cdb, #3eb489);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .hero-gradient-text {
  background: linear-gradient(130deg, #064e3b 0%, #4a8f72 50%, #8ab5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .about-title,
[data-theme="light"] .get-dingduff-title,
[data-theme="light"] .how-it-works-title,
[data-theme="light"] .team-title {
  background: linear-gradient(130deg, #064e3b 0%, #4a8f72 50%, #8ab5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Section kicker label (small all-caps above h2) */
.section-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

/* Content cards (new dark-navy style from design) */
.content-card {
  border-radius: 1rem;
  padding: 1.6rem 1.8rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .content-card {
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Pill tags (used inside cards) */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.pill-tag {
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  color: var(--text-muted);
}

/* Divider line with fade */
.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border-color),
    transparent
  );
  margin: 0;
}

/* ── Hero Split Layout ───────────────────────────────────── */
.hero-split {
  background: transparent;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.hero-split::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(62, 180, 137, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .hero-split::before {
  background: none;
}

.hero-split .hero-split-inner {
  position: relative;
  z-index: 1;
}

.hero-split-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 9rem 1.5rem 3rem;
  display: flex;
  justify-content: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
  margin: 0 auto;
}

/* Override centered headline sizing for split layout */
.hero-split .hero-headline {
  font-size: clamp(2rem, 3vw + 0.8rem, 3.1rem);
  line-height: 1.12;
  margin-bottom: 1rem;
  text-align: left;
  color: var(--text-primary);
}

.hero-subtitle-text {
  color: var(--text-primary);
  font-size: 1.05rem;
  max-width: 39rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.4rem;
}

.hero-badges--in-card {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.hero-badge {
  font-size: 0.65rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.8);
  background: rgba(62, 180, 137, 0.08);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-action-row .btn-accent {
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.btn-hero-ghost {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(17, 24, 39, 0.9);
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: inherit;
}

.btn-hero-ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
}

.hero-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 30rem;
  line-height: 1.6;
}

.hero-disclaimer a {
  color: var(--accent-color);
  text-decoration: none;
}

.hero-disclaimer a:hover {
  text-decoration: underline;
}

/* Hero demo card */
.hero-visual {
  position: relative;
}

.hero-orbit {
  display: none;
}

.hero-card {
  position: relative;
  margin-left: auto;
  border-radius: 1.4rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background:
    radial-gradient(circle at 0 0, rgba(62, 180, 137, 0.07), transparent 60%),
    radial-gradient(circle at 100% 0, rgba(34, 197, 94, 0.04), transparent 65%),
    rgba(15, 23, 42, 0.55);
  padding: 1.4rem 1.5rem 1.2rem;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.9),
    0 22px 60px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

/* Wide variant: used in the video section, displayed above the video.
   Wider than tall; the Currently-available list wraps into 2 columns. */
.hero-card.hero-card--wide {
  max-width: 500px;
  width: calc(100% - 3rem);
  margin: 0 auto 8rem;
  box-shadow: none;
  overflow: hidden;
  zoom: 1.35;
}

[data-theme="light"] .hero-card.hero-card--wide {
  box-shadow: none;
}

.hero-card--wide .hero-card-body--single {
  grid-template-columns: 1fr;
}

.hero-card-sidebar-columns {
  display: flex;
  gap: 0.75rem;
}

.hero-card-sidebar-columns .hero-card-sidebar-list {
  flex: 1;
}

.hero-card-sidebar-subitem {
  padding-left: 1rem;
}

@media (max-width: 640px) {
  .hero-card-sidebar-columns {
    flex-direction: column;
  }

  .hero-card--wide .hero-card-sidebar-item {
    flex-wrap: wrap;
  }

  .hero-card--wide .hero-card-sidebar-item span,
  .hero-card--wide .hero-card-sidebar-item small {
    min-width: 0;
    word-wrap: break-word;
  }

  .hero-card--wide {
    width: calc(100% - 1.5rem);
  }

  .hero-card--wide .hero-card-body {
    padding: 0.6rem;
  }

  .hero-card--wide .hero-card-sidebar-list {
    padding: 0.4rem 0.5rem;
  }
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero-card-title {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-card-dots {
  display: flex;
  gap: 0.25rem;
}

.hero-card-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(55, 65, 81, 0.9);
}

.hero-card-dots span:first-child {
  background: #22c55e;
}

.hero-card-body {
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(17, 24, 39, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.9);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.9rem;
}

.hero-card-body--single {
  grid-template-columns: 1fr;
}

.hero-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.hero-card-query-box {
  border-radius: 0.6rem;
  border: 1px solid rgba(75, 85, 99, 0.9);
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.9);
  line-height: 1.5;
}

.hero-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.55rem;
}

.hero-card-pill {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.hero-card-sidebar-list {
  border-radius: 0.6rem;
  border: 1px solid rgba(75, 85, 99, 0.9);
  padding: 0.6rem 0.7rem;
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.75rem;
  color: var(--text-primary);
  width: 100%;
  box-sizing: border-box;
}

.hero-card-sidebar-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.42rem;
}

.hero-card-sidebar-item:last-child {
  margin-bottom: 0;
}

.hero-card-sidebar-item small {
  color: var(--text-muted);
  font-size: 0.68rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-card-highlight {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
}

a.hero-card-highlight:hover {
  text-decoration: underline;
}

.hero-card-available-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.4rem 0;
}

.hero-card-available-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-card-available-group-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(62, 180, 137, 0.2);
  margin-bottom: 0.1rem;
}

.hero-card-available-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.hero-card-available-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(62, 180, 137, 0.6);
  margin-top: 0.45em;
}

.hero-card-footer {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-card-footer strong {
  color: var(--accent-color);
  font-weight: 500;
}

.hero-card-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(62, 180, 137, 0.14);
  border: 1px solid rgba(62, 180, 137, 0.4);
  color: var(--accent-color);
  font-size: 0.72rem;
  white-space: nowrap;
}

/* Light mode adjustments for hero */
[data-theme="light"] .hero-badge {
  background: rgba(62, 180, 137, 0.08);
  border-color: var(--border-color);
  color: var(--text-secondary);
}

[data-theme="light"] .hero-card {
  background: linear-gradient(135deg, #064e3b, #2a9d7c);
  border-color: rgba(6, 78, 59, 0.5);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.28),
    0 40px 80px rgba(6, 78, 59, 0.18);
}

/* outer text: white on dark green card */
[data-theme="light"] .hero-card-title,
[data-theme="light"] .hero-card-footer {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .hero-card-footer strong {
  color: #ffffff;
}

[data-theme="light"] .hero-card-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* inner body: cream */
[data-theme="light"] .hero-card-body {
  background: rgba(245, 239, 227, 0.92);
  border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .hero-card-query-box,
[data-theme="light"] .hero-card-sidebar-list {
  background: rgba(245, 239, 227, 0.92);
  border-color: rgba(212, 201, 176, 0.5);
  color: #1a3530;
}

[data-theme="light"] .hero-card-sidebar-item span {
  color: #1a3530;
}

[data-theme="light"] .hero-card-sidebar-item small {
  color: #4a7a6a;
}

[data-theme="light"] .hero-card-label {
  color: rgba(20, 50, 40, 0.65);
}

[data-theme="light"] .hero-card-pill {
  border-color: rgba(42, 157, 124, 0.35);
  color: #1a5c45;
}

[data-theme="light"] .hero-card-sidebar-item .hero-card-highlight {
  color: #064e3b;
  font-weight: 600;
}

[data-theme="light"] .hero-card-dots span {
  background: rgba(20, 50, 40, 0.25);
}

[data-theme="light"] .hero-card-dots span:first-child {
  background: #22c55e;
}

/* dots */
[data-theme="light"] .hero-card-dots span {
  background: rgba(20, 50, 40, 0.25);
}

[data-theme="light"] .hero-card-dots span:first-child {
  background: #22c55e;
}

[data-theme="light"] .hero-orbit {
  border-color: var(--border-color);
}

[data-theme="light"] .btn-hero-ghost {
  background: #fff;
  border-color: var(--border-color);
  color: var(--text-secondary);
}

[data-theme="light"] .btn-hero-ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Hero responsive */
@media (max-width: 1050px) {
  .hero-split-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 8rem;
    gap: 2rem;
  }

  .hero-orbit {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-card-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-action-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-split-inner {
    padding-top: 2rem;
  }

  .hero-split .hero-headline {
    font-size: 40px;
  }

  .about-title,
  .get-dingduff-title,
  .how-it-works-title,
  .team-title {
    font-size: 28px;
    text-wrap: balance;
  }
}
