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

:root {
  --cf-orange: #F48120;
  --cf-orange-light: #FBAD41;
  --bg: #fafaf9;
  --text-primary: #000000;
  --text-secondary: #52525c;
  --text-muted: #6a7282;
  --border-color: #000000;
  --card-bg: #ffffff;
  --card-hover: #fafafa;
  --success: #22c55e;
  --font-sans: 'AvenirNext', 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'AvenirNext', 'Avenir Next', Georgia, serif;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg: #0a0e14;
  --text-primary: #e6edf3;
  --text-secondary: #b8c0cc;
  --text-muted: #8b949e;
  --border-color: rgba(255, 255, 255, 0.12);
  --card-bg: #1a1f28;
  --card-hover: #22282f;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

html.searching {
  scroll-snap-type: none;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Canvas - only visible in marketing sections */
#backgroundCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.show-dots #backgroundCanvas {
  opacity: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

/* Blueprint-style header edge with grid pattern */
.header::before,
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 4px;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 4px,
      rgba(0, 0, 0, 0.06) 4px,
      rgba(0, 0, 0, 0.06) 5px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.04) 1px,
      rgba(0, 0, 0, 0.04) 2px
    );
  pointer-events: none;
}

.header::before {
  left: 0;
  width: 80px;
}

.header::after {
  right: 0;
  width: 80px;
}

.header-inner {
  max-width: calc(1130px + 64px);
  height: 80px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 66px;
  height: 30px;
  color: var(--cf-orange);
  transition: color 0.2s;
}

.logo:hover .logo-icon {
  color: var(--text-primary);
}

/* Header search outer frame - solid orange border */
.header-search-frame {
  position: relative;
  display: none;
  flex: 0.8;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid #ff500a;
  background: rgba(255, 80, 10, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: visible;
}

/* Header search inner - dashed orange border */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  height: 40px;
  border: 1.75px dashed rgba(255, 80, 10, 0.3);
  border-radius: 4px;
  background: #fff;
  outline: none;
  box-shadow: 0px 4px 172px rgba(255, 80, 10, 0.1), 0px 0px 32px rgba(0,0,0,0.02), 0px 2px 12px rgba(0,0,0,0.03);
}

/* Corner squares on outer frame */
.header-search-frame .corner-tl,
.header-search-frame .corner-tr,
.header-search-frame .corner-bl,
.header-search-frame .corner-br {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 80, 10, 0.5);
  border-radius: 2px;
  background: #fffbf5;
  z-index: 3;
}

.header-search-frame .corner-tl { top: -4px; left: -4px; }
.header-search-frame .corner-tr { top: -4px; right: -4px; }
.header-search-frame .corner-bl { bottom: -4px; left: -4px; }
.header-search-frame .corner-br { bottom: -4px; right: -4px; }

body.searching .header-search-frame,
.header-search-frame.header-search-visible {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-search:focus-within {
  border-color: rgba(255, 80, 10, 0.5);
  background: #fff;
}

.header-search-prompt {
  display: flex;
  align-items: center;
  color: var(--cf-orange);
  margin-right: 10px;
}

.header-search-prompt svg {
  width: 18px;
  height: 18px;
}

.header-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  caret-color: var(--cf-orange);
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='32' viewBox='0 0 16 32'%3E%3Cline x1='8' y1='2' x2='8' y2='30' stroke='%23000' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='4' y1='2' x2='12' y2='2' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='4' y1='30' x2='12' y2='30' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 8 16, text;
}

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

.header-search-cursor {
  display: none;
}

@keyframes headerCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.header-search-clear {
  display: none;
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(0,0,0,0.1);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-search-clear:hover {
  background: rgba(0,0,0,0.2);
  color: var(--text-primary);
}

.header-search-frame.has-value .header-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--cf-orange);
}

.nav-btn {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: white;
  background: var(--text-primary);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: #333;
}

/* Main scroll container */
.main-scroll {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  padding-top: 80px;
  overflow: hidden;
  scroll-snap-align: start;
}

/* Blueprint grid lines for hero section */
.hero-section::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 32px;
  right: 32px;
  bottom: 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  pointer-events: none;
  z-index: 0;
}

/* Page edge decorative lines with grid pattern */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 6px;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 4px,
      rgba(0, 0, 0, 0.06) 4px,
      rgba(0, 0, 0, 0.06) 5px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.04) 2px,
      rgba(0, 0, 0, 0.04) 3px
    );
  pointer-events: none;
  z-index: 50;
}

body::before {
  left: 8px;
}

body::after {
  right: 8px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: calc(1130px + 64px);
  padding: 0 32px;
  padding-bottom: 80px;
  margin: 0 auto;
  width: 100%;
}

.hero-title-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.25vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.title-line {
  display: block;
}


/* Outer frame - solid orange border */
.title-search-frame {
  position: relative;
  border: 1px solid #ff500a;
  background: rgba(255, 80, 10, 0.05);
  padding: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
  overflow: visible;
}

/* Inner input - dashed orange border */
.title-line-input {
  position: relative;
  display: flex;
  align-items: center;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='32' viewBox='0 0 16 32'%3E%3Cline x1='8' y1='2' x2='8' y2='30' stroke='%23000' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='4' y1='2' x2='12' y2='2' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='4' y1='30' x2='12' y2='30' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 8 16, text;
  padding: 16px 28px;
  width: 100%;
  height: 75px;
  border: 1.75px dashed rgba(255, 80, 10, 0.3);
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow: visible;
  outline: none;
  box-shadow: 0px 4px 172px rgba(255, 80, 10, 0.1), 0px 0px 32px rgba(0,0,0,0.02), 0px 2px 12px rgba(0,0,0,0.03);
}

/* Corner squares on outer frame */
.title-search-frame .corner-tl,
.title-search-frame .corner-tr,
.title-search-frame .corner-bl,
.title-search-frame .corner-br {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 80, 10, 0.5);
  border-radius: 3px;
  background: #fffbf5;
  z-index: 3;
}

.title-search-frame .corner-tl { top: -7px; left: -7px; }
.title-search-frame .corner-tr { top: -7px; right: -7px; }
.title-search-frame .corner-bl { bottom: -7px; left: -7px; }
.title-search-frame .corner-br { bottom: -7px; right: -7px; }

/* Blueprint-style L marks - 4 corners around title+search */
.hero-title-wrapper::before,
.hero-title-wrapper::after,
.title-search-frame::before,
.title-search-frame::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 80, 10, 0.4);
  pointer-events: none;
}

/* Top-left: above "Look" - 4px gap */
.hero-title-wrapper::before {
  top: -4px;
  left: -4px;
  transform: translate(-100%, -100%);
  border-right: none;
  border-bottom: none;
}

/* Top-right: above "domain" - 4px gap */
.hero-title-wrapper::after {
  top: -4px;
  right: -4px;
  transform: translate(100%, -100%);
  border-left: none;
  border-bottom: none;
}

/* Bottom-left: below search bar - 4px gap */
.title-search-frame::before {
  bottom: -4px;
  left: -4px;
  transform: translate(-100%, 100%);
  border-right: none;
  border-top: none;
  z-index: 2;
}

/* Bottom-right: below search bar - 4px gap */
.title-search-frame::after {
  bottom: -4px;
  right: -4px;
  transform: translate(100%, 100%);
  border-left: none;
  border-top: none;
  z-index: 2;
}

.title-prompt {
  display: flex;
  align-items: center;
  color: var(--cf-orange);
  margin-right: 0.5em;
}

.title-prompt svg {
  width: 32px;
  height: 32px;
}

.title-typed {
  color: var(--text-primary);
  white-space: pre;
  font-weight: 400;
}

.title-typed.typing-placeholder {
  color: #9ca3af;
}

.title-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--cf-orange);
  margin-left: 2px;
  animation: titleCursorBlink 1s ease-in-out infinite;
  vertical-align: baseline;
  border-radius: 1px;
}

@keyframes titleCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-title-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: none;
  background: transparent;
  pointer-events: none;
}



body.searching .hero-section,
body.searching .features-section,
body.searching .why-section,
body.searching .pricing-section,
body.searching .ecosystem-section,
body.searching .footer-section {
  display: none;
}

/* Results Section */
.results-section {
  display: none;
  min-height: 100vh;
  padding: 120px 32px 80px;
  position: relative;
  background: 
    /* Subtle diagonal grid lines */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 80px,
      rgba(0, 0, 0, 0.015) 80px,
      rgba(0, 0, 0, 0.015) 81px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 80px,
      rgba(0, 0, 0, 0.015) 80px,
      rgba(0, 0, 0, 0.015) 81px
    ),
    /* Horizontal measurement lines */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 200px,
      rgba(251, 173, 130, 0.08) 200px,
      rgba(251, 173, 130, 0.08) 201px
    ),
    /* Vertical measurement lines */
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 300px,
      rgba(251, 173, 130, 0.06) 300px,
      rgba(251, 173, 130, 0.06) 301px
    );
}

/* Blueprint corner marks for results section */
.results-section::before,
.results-section::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(251, 173, 130, 0.3);
  pointer-events: none;
  z-index: 0;
}

.results-section::before {
  top: 100px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.results-section::after {
  top: 100px;
  right: 20px;
  border-left: none;
  border-bottom: none;
}

body.searching .results-section {
  display: block;
}

.results-container {
  max-width: 1130px;
  margin: 0 auto;
}

.results-group {
  margin-bottom: 48px;
}

.results-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

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

/* Domain card */
.domain-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.domain-card:hover {
  border-color: var(--cf-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.domain-card.featured {
  border-color: var(--cf-orange);
  border-width: 2px;
  background: linear-gradient(135deg, rgba(244, 129, 32, 0.05) 0%, transparent 100%);
}

.domain-name {
  font-size: 16px;
  font-weight: 500;
  word-break: break-all;
  color: var(--text-primary);
}

.domain-tld {
  color: var(--cf-orange);
}

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

.domain-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.domain-status {
  font-size: 11px;
  padding: 3px 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.domain-status.available {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.domain-status.premium {
  background: rgba(244, 129, 32, 0.1);
  color: var(--cf-orange);
}

.domain-status.taken {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
}

/* Marketing sections - shared dotted line background */
.features-section,
.why-section,
.pricing-section,
.ecosystem-section {
  position: relative;
  overflow: hidden;
}


/* Features Section */
.features-section {
  min-height: 100vh;
  padding: 120px 32px;
  background: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  scroll-snap-align: start;
}

.section-inner {
  max-width: 1130px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-title-serif {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.85px;
  color: #2e1c11;
}

.section-link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.section-link:hover {
  color: var(--cf-orange);
}

.features-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid #e6dcd3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1);
}

.features-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-right: 1px solid #e6dcd3;
}

.features-col:last-child {
  border-right: none;
}

.features-col-icon {
  width: 40px;
  height: 40px;
}

.features-col-icon svg {
  width: 100%;
  height: 100%;
}

/* Toolbox hover - lid opens orange */
.toolbox-lid {
  transition: transform 0.3s ease, fill 0.3s ease;
  transform-origin: 5px 14px;
}

.features-col:hover .toolbox-lid {
  transform: translateY(-3px) rotate(-8deg);
  fill: #F48120;
}

/* Rocket hover - flame ignites */
.rocket-flame {
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: center center;
}

.features-col:hover .rocket-flame {
  opacity: 0.8;
  transform: scaleY(1.2);
}

.icon-rocket svg {
  transition: filter 0.3s ease;
}

.features-col:hover .icon-rocket svg {
  filter: drop-shadow(0 3px 4px rgba(244, 129, 32, 0.25));
}

/* Shield hover - fortify with orange shadow */
.shield-fill {
  transition: opacity 0.3s ease, fill 0.3s ease;
}

.icon-shield svg {
  transition: filter 0.3s ease;
}

.features-col:hover .icon-shield svg {
  filter: drop-shadow(2px 2px 1px #F48120);
}

.features-col:hover .shield-fill {
  opacity: 0.3;
  fill: #F48120;
}

.features-col-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.44px;
  color: #4a3b32;
}

/* Why Section */
.why-section {
  min-height: 100vh;
  padding: 120px 32px;
  background: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  scroll-snap-align: start;
}

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

.why-content {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0px 2px 12px rgba(0,0,0,0.03), 0px 0px 32px rgba(0,0,0,0.02);
}

.why-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.85px;
  color: #2e1c11;
  margin-bottom: 24px;
}

.why-title em {
  color: var(--cf-orange);
  font-style: italic;
}

.why-desc {
  font-family: var(--font-sans);
  font-size: 20px;
  color: #8c7b70;
  line-height: 1.6;
  letter-spacing: -0.45px;
  margin-bottom: 32px;
}

.why-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-orange);
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid var(--cf-orange);
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.why-cta:hover {
  background: var(--cf-orange);
  color: #fff;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  box-shadow: 0px 2px 12px rgba(0,0,0,0.03), 0px 0px 32px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.stat-item:hover {
  box-shadow: 0px 8px 32px rgba(0,0,0,0.08), 0px 2px 12px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--cf-orange);
  line-height: 1.1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Pricing Section */
.pricing-section {
  min-height: 100vh;
  padding: 100px 32px;
  background: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  scroll-snap-align: start;
}

.pricing-section-header {
  text-align: center;
  max-width: 600px;
}

.pricing-section-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.85px;
  color: #2e1c11;
  margin-bottom: 16px;
}

.pricing-section-desc {
  font-family: var(--font-sans);
  font-size: 20px;
  color: #8c7b70;
  line-height: 1.6;
  letter-spacing: -0.45px;
}

.pricing-bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  max-width: 1000px;
  width: 100%;
}

.pricing-bento-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  box-shadow: 0px 2px 12px rgba(0,0,0,0.03), 0px 0px 32px rgba(0,0,0,0.02);
}

.pricing-bento-card:hover {
  box-shadow: 0px 8px 32px rgba(0,0,0,0.08), 0px 2px 12px rgba(0,0,0,0.04);
}

/* Pricing Box (bar chart card) */
.pricing-box {
  padding: 32px;
}

.pricing-box-header {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e4e4e7;
}

.pricing-box-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pricing-box-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e4e4e7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pricing-bars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.price-bar-item {
  position: relative;
}

.price-bar-item.competitor {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.price-bar-item.competitor:hover {
  opacity: 1;
}

.price-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}

.price-bar-label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.price-bar-label.muted {
  font-weight: 400;
  color: #71717b;
}

.price-bar-item.cloudflare:hover .price-bar-label {
  color: var(--cf-orange);
}

.price-bar-value {
  font-family: 'SF Mono', 'Monaco', monospace;
  font-size: 16px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.price-bar-value.green {
  background: #e6f7eb;
  color: #00a63e;
}

.price-bar-value.red {
  color: #fb2c36;
}

.price-bar-track {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.price-bar-track.muted {
  background: #f4f4f5;
}

.price-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  transition: width 1s ease-out;
}

.price-bar-fill.orange {
  background: linear-gradient(to right, #F48120, #fda45d);
}

.price-bar-fill.gray {
  background: #d4d4d8;
}

.price-bar-item.animated .price-bar-fill {
  width: var(--target-width);
}

/* TLD Card */
.tld-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: rgba(250, 250, 250, 0.5);
}

.tld-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 24px 6px;
  max-width: 340px;
}

.tld-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #52525c;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.1), 0px 1px 2px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.tld-pill:hover {
  border-color: var(--cf-orange);
  color: var(--cf-orange);
  transform: translateY(-1px);
}

.tld-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.tld-count-number {
  font-size: 48px;
  font-weight: 300;
  color: #d4d4d8;
  line-height: 1;
}

.tld-count-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-orange);
}

/* Ecosystem Section */
.ecosystem-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 32px;
  background: rgba(255,255,255,0.6);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Card wrapper - positioning parent for lines */
.ecosystem-card-wrap {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  overflow: visible;
}

/* Dashed background lines - positioned relative to card */
.eco-line {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.eco-line-left {
  top: -9999px;
  bottom: -9999px;
  left: 0;
  width: 0;
  border-left: 2px dashed #e6dcd3;
}

.eco-line-right {
  top: -9999px;
  bottom: -9999px;
  right: 0;
  width: 0;
  border-left: 2px dashed #e6dcd3;
}

.eco-line-top {
  left: -9999px;
  right: -9999px;
  top: 0;
  height: 0;
  border-top: 2px dashed #e6dcd3;
}

.eco-line-bottom {
  left: -9999px;
  right: -9999px;
  bottom: 0;
  height: 0;
  border-top: 2px dashed #e6dcd3;
}

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

.ecosystem-title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.85px;
  color: #2e1c11;
  margin-bottom: 24px;
}

.ecosystem-desc {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.6;
  color: #8c7b70;
  max-width: 712px;
  margin: 0 auto;
  letter-spacing: -0.45px;
}

.ecosystem-card-outline {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border: 2px solid #e6dcd3;
  background: #fff;
  pointer-events: none;
  z-index: 1;
}

.ecosystem-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6dcd3;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1);
  overflow: visible;
  z-index: 2;
}

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

.ecosystem-col {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-right: 1px solid #e6dcd3;
}

.ecosystem-col-top {
  min-height: 110px;
  margin-bottom: 24px;
}

.ecosystem-col:last-child {
  border-right: none;
}

.ecosystem-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ecosystem-col-header h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: #2e1c11;
  letter-spacing: -0.45px;
}

.ecosystem-col-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.625;
  color: #8c7b70;
  letter-spacing: -0.15px;
  margin-bottom: 0;
}

.ecosystem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ecosystem-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #faf7f5;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #4a3b32;
  letter-spacing: -0.14px;
}

.ecosystem-list li svg,
.ecosystem-list li .ecosystem-item-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.ecosystem-header-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.ecosystem-btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ecosystem-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: #faf7f5;
  border-top: 1px solid #e6dcd3;
}

.ecosystem-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #e6dcd3;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: #4a3b32;
  text-decoration: none;
  letter-spacing: -0.31px;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.1), 0px 1px 2px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.ecosystem-btn:hover {
  background: #f5f0eb;
  border-color: #d4c9be;
}

.ecosystem-btn svg {
  flex-shrink: 0;
}

/* Footer Section */
.footer-section {
  display: none;
}

#footerCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1130px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.footer-brand {
  grid-column: 1;
}

.footer-logo {
  width: 48px;
  height: auto;
  color: var(--text-primary);
  margin-bottom: 24px;
  transition: color 0.2s;
}

.footer-logo:hover {
  color: var(--cf-orange);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
}

.footer-tagline em {
  color: #f63;
  font-style: italic;
}

.footer-links {
  grid-column: 2 / 4;
  display: flex;
  gap: 80px;
  justify-content: flex-end;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Loading animation */
.loading {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  grid-column: 1 / -1;
}

.loading-dot {
  width: 6px;
  height: 6px;
  background: var(--cf-orange);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
.loading-dot:nth-child(3) { animation-delay: 0; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-card {
    grid-template-columns: 1fr;
  }

  .features-col {
    border-right: none;
    border-bottom: 1px solid #e6dcd3;
  }

  .features-col:last-child {
    border-bottom: none;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .ecosystem-columns {
    grid-template-columns: 1fr;
  }
  
  .ecosystem-col {
    border-right: none;
    border-bottom: 1px solid #e6dcd3;
  }
  
  .ecosystem-col:last-child {
    border-bottom: none;
  }
  
  .ecosystem-card-outline {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-column: 1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 16px;
  }
  
  .hero-section,
  .results-section,
  .features-section,
  .why-section,
  .ecosystem-section,
  .footer-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .ecosystem-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .ecosystem-title {
    font-size: 32px;
  }
  
  .ecosystem-desc {
    font-size: 16px;
  }
  
  .ecosystem-col {
    padding: 24px;
  }
  
  .ecosystem-card-outline {
    display: none;
  }
  
  .eco-line {
    display: none;
  }
  
  .ecosystem-footer {
    flex-direction: column;
    gap: 12px;
  }
  
  .ecosystem-btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 12px 20px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .header-inner {
    padding: 0 16px;
    height: 56px;
    gap: 12px;
  }
  
  .header-nav {
    gap: 12px;
    flex-shrink: 0;
  }
  
  .nav-link {
    font-size: 12px;
    padding: 8px 12px;
    white-space: nowrap;
  }
  
  .nav-btn {
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  
  .logo {
    flex-shrink: 0;
  }
  
  .logo-icon {
    width: 44px;
    height: 22px;
  }
  
  /* Hide logo and auth when scrolled past hero on mobile */
  body.header-scrolled-mobile .logo,
  body.header-scrolled-mobile .header-nav,
  body.searching .logo,
  body.searching .header-nav {
    display: none !important;
  }
  
  body.header-scrolled-mobile .header-search-frame,
  body.searching .header-search-frame {
    display: block !important;
    flex: 1 !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  
  body.header-scrolled-mobile .header-inner,
  body.searching .header-inner {
    justify-content: center;
    padding: 0 16px;
  }
  
  /* Hero section mobile */
  .hero-section {
    padding-top: 80px;
    min-height: 100vh;
    padding-bottom: 40px;
  }
  
  .hero-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 4px;
  }
  
  .title-cursor {
    width: 2px;
    height: 1em;
  }
  
  .title-search-frame {
    padding: 6px;
  }
  
  .title-line-input {
    width: 100%;
    padding: 12px 16px;
    height: 56px;
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .title-prompt svg {
    width: 20px;
    height: 20px;
  }
  
  /* Corner squares smaller on mobile */
  .title-search-frame .corner-tl,
  .title-search-frame .corner-tr,
  .title-search-frame .corner-bl,
  .title-search-frame .corner-br {
    width: 10px;
    height: 10px;
    border-radius: 2px;
  }
  
  .title-search-frame .corner-tl { top: -5px; left: -5px; }
  .title-search-frame .corner-tr { top: -5px; right: -5px; }
  .title-search-frame .corner-bl { bottom: -5px; left: -5px; }
  .title-search-frame .corner-br { bottom: -5px; right: -5px; }
  
  /* L marks smaller on mobile */
  .hero-title-wrapper::before,
  .hero-title-wrapper::after,
  .title-search-frame::before,
  .title-search-frame::after {
    width: 12px;
    height: 12px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
  
  /* Pricing section mobile */
  .pricing-section {
    padding: 60px 16px;
    min-height: 100vh;
    gap: 32px;
  }
  
  .pricing-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-box {
    padding: 24px 20px;
  }
  
  .pricing-section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  
  .pricing-section-desc {
    font-size: 14px;
  }
  
  .tld-card {
    padding: 32px 20px;
  }
  
  /* Why section mobile */
  .why-section {
    padding: 60px 16px;
    min-height: 100vh;
  }
  
  .why-content h2 {
    font-size: clamp(28px, 7vw, 40px);
  }
  
  .why-content p {
    font-size: 14px;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .stat-label {
    font-size: 13px;
  }
  
  /* Features section mobile */
  .features-section {
    padding: 60px 16px;
    min-height: 100vh;
  }
  
  .features-header h2 {
    font-size: clamp(28px, 7vw, 40px);
  }
  
  .features-col {
    padding: 24px 20px;
  }
  
  .features-col-title {
    font-size: 16px;
  }
  
  /* Footer mobile */
  .footer-section {
    padding: 60px 16px 40px;
    min-height: 100vh;
  }
  
  .footer-brand h3 {
    font-size: clamp(24px, 6vw, 32px);
  }
  
  /* Theme toggle mobile */
  .theme-toggle {
    bottom: 70px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  
  .theme-icon {
    width: 18px;
    height: 18px;
  }
  
  /* Header search mobile */
  .header-search-frame {
    padding: 3px;
  }
  
  .header-search {
    padding: 8px 12px;
    height: 36px;
    font-size: 14px;
  }
  
  .header-search-frame .corner-tl,
  .header-search-frame .corner-tr,
  .header-search-frame .corner-bl,
  .header-search-frame .corner-br {
    width: 6px;
    height: 6px;
  }
  
  .header-search-frame .corner-tl { top: -3px; left: -3px; }
  .header-search-frame .corner-tr { top: -3px; right: -3px; }
  .header-search-frame .corner-bl { bottom: -3px; left: -3px; }
  .header-search-frame .corner-br { bottom: -3px; right: -3px; }
}

/* Small mobile screens (480px and below) */
@media (max-width: 480px) {
  .header-inner {
    padding: 0 10px;
    height: 52px;
    gap: 6px;
  }
  
  .logo-icon {
    width: 36px;
    height: 18px;
  }
  
  .header-nav {
    gap: 6px;
  }
  
  .nav-link {
    font-size: 11px;
    padding: 7px 10px;
  }
  
  .nav-btn {
    padding: 7px 12px;
    font-size: 11px;
  }
  
  .hero-title {
    font-size: 22px;
  }
  
  .title-line-input {
    padding: 10px 12px;
    height: 48px;
    font-size: 14px;
  }
}

/* Very small screens (375px and below - iPhone SE, Galaxy Z Fold, etc.) */
@media (max-width: 375px) {
  .header-inner {
    padding: 0 8px;
    height: 48px;
    gap: 4px;
  }
  
  .logo-icon {
    width: 32px;
    height: 16px;
  }
  
  .header-nav {
    gap: 4px;
  }
  
  .nav-link {
    font-size: 10px;
    padding: 6px 8px;
  }
  
  .nav-btn {
    padding: 6px 10px;
    font-size: 10px;
  }
  
  .hero-title {
    font-size: 20px;
  }
  
  .title-line-input {
    padding: 8px 10px;
    height: 44px;
    font-size: 13px;
  }
  
  .title-prompt svg {
    width: 16px;
    height: 16px;
  }
  
  .pricing-title {
    font-size: 22px;
  }
  
  .why-content h2 {
    font-size: 26px;
  }
  
  .features-header h2 {
    font-size: 26px;
  }
  
  /* Header search on extra small screens */
  .header-search-frame {
    padding: 2px;
  }
  
  .header-search {
    padding: 6px 10px;
    height: 32px;
    font-size: 12px;
  }
}

/* Extremely small screens (Galaxy Z Fold 5, etc. - 344px) */
@media (max-width: 360px) {
  .header-inner {
    padding: 0 6px;
    height: 44px;
    gap: 3px;
  }
  
  .logo-icon {
    width: 28px;
    height: 14px;
  }
  
  .header-nav {
    gap: 3px;
  }
  
  .nav-link {
    font-size: 9px;
    padding: 5px 6px;
  }
  
  .nav-btn {
    padding: 5px 8px;
    font-size: 9px;
  }
}

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--card-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.theme-icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.theme-icon.moon {
  color: #1a1a2e;
}

.theme-icon.sun {
  display: none;
  color: #ffd700;
}

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

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

[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Dark Mode Specific Styles */
[data-theme="dark"] .header {
  background: rgba(10, 14, 20, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .logo-icon {
  color: #ffffff;
}

[data-theme="dark"] .nav-btn {
  background: #ffffff !important;
  color: #000000 !important;
  border: none;
}

[data-theme="dark"] .nav-btn:hover {
  background: #f0f0f0 !important;
}

[data-theme="dark"] .title-search-frame {
  border-color: rgba(255, 80, 10, 0.6);
  background: rgba(255, 80, 10, 0.05);
}

[data-theme="dark"] .title-line-input {
  background: #0a0a0f;
  border-color: rgba(255, 80, 10, 0.4);
}

[data-theme="dark"] .title-typed,
[data-theme="dark"] .title-typed.typing-placeholder {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .title-search-frame .corner-tl,
[data-theme="dark"] .title-search-frame .corner-tr,
[data-theme="dark"] .title-search-frame .corner-bl,
[data-theme="dark"] .title-search-frame .corner-br {
  background: var(--bg);
  border-color: rgba(255, 80, 10, 0.4);
}

[data-theme="dark"] .header-search-frame {
  border-color: rgba(255, 80, 10, 0.6);
  background: rgba(255, 80, 10, 0.05);
}

[data-theme="dark"] .header-search {
  background: rgba(20, 34, 56, 0.9);
  border-color: rgba(255, 80, 10, 0.4);
}

[data-theme="dark"] .header-search-frame .corner-tl,
[data-theme="dark"] .header-search-frame .corner-tr,
[data-theme="dark"] .header-search-frame .corner-bl,
[data-theme="dark"] .header-search-frame .corner-br {
  background: var(--bg);
  border-color: rgba(255, 80, 10, 0.4);
}

[data-theme="dark"] .hero-title-wrapper::before,
[data-theme="dark"] .hero-title-wrapper::after,
[data-theme="dark"] .title-search-frame::before,
[data-theme="dark"] .title-search-frame::after {
  border-color: rgba(255, 80, 10, 0.5);
}

[data-theme="dark"] .domain-card {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .domain-card:hover {
  background: var(--card-hover);
  border-color: rgba(251, 173, 130, 0.3);
}

[data-theme="dark"] .nav-btn {
  background: var(--cf-orange);
  color: #fff;
}

[data-theme="dark"] .results-section {
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 80px,
      rgba(255, 255, 255, 0.02) 80px,
      rgba(255, 255, 255, 0.02) 81px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 80px,
      rgba(255, 255, 255, 0.02) 80px,
      rgba(255, 255, 255, 0.02) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 200px,
      rgba(100, 149, 237, 0.06) 200px,
      rgba(100, 149, 237, 0.06) 201px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 300px,
      rgba(147, 112, 219, 0.04) 300px,
      rgba(147, 112, 219, 0.04) 301px
    );
}

[data-theme="dark"] .results-section::before,
[data-theme="dark"] .results-section::after {
  border-color: rgba(100, 149, 237, 0.3);
}

[data-theme="dark"] body::before,
[data-theme="dark"] body::after {
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 4px,
      rgba(100, 149, 237, 0.08) 4px,
      rgba(100, 149, 237, 0.08) 5px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(147, 112, 219, 0.06) 2px,
      rgba(147, 112, 219, 0.06) 3px
    );
}

[data-theme="dark"] .hero-section::before {
  border-color: rgba(100, 149, 237, 0.08);
}

/* Dark mode hero section - dark navy with pink-purple gradient at bottom */
[data-theme="dark"] .hero-section {
  background: linear-gradient(
    180deg,
    #0a0e14 0%,
    #0c1018 30%,
    #0e1420 50%,
    #12182a 70%,
    #1a1a35 85%,
    #251a38 100%
  );
}

/* Dark mode marketing sections - with background interaction */
[data-theme="dark"] .features-section,
[data-theme="dark"] .why-section,
[data-theme="dark"] .pricing-section,
[data-theme="dark"] .ecosystem-section {
  background: transparent;
}

[data-theme="dark"] .features-card {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .features-col {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .features-col-title {
  color: var(--text-primary);
}

[data-theme="dark"] .features-col-icon svg path {
  fill: var(--text-primary);
}

[data-theme="dark"] .features-col-icon svg rect,
[data-theme="dark"] .features-col-icon svg line {
  stroke: var(--text-primary);
}

[data-theme="dark"] .toolbox-lid {
  fill: #6b7280;
}

[data-theme="dark"] .rocket-flame {
  fill: #F48120;
}

[data-theme="dark"] .why-title {
  color: var(--text-primary);
}

[data-theme="dark"] .why-desc {
  color: var(--text-muted);
}

[data-theme="dark"] .why-content {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-item {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .pricing-section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .pricing-section-desc {
  color: var(--text-muted);
}

[data-theme="dark"] .price-bar-value.green {
  background: rgba(0, 166, 62, 0.15);
}

/* Dark mode pricing section */
[data-theme="dark"] .pricing-bento-card {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .pricing-box-header,
[data-theme="dark"] .pricing-box-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .price-bar-track {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .price-bar-track.muted {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .price-bar-fill.gray {
  background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .tld-pill {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .tld-count-number {
  color: rgba(255, 255, 255, 0.15);
}


[data-theme="dark"] .why-stat-number {
  color: var(--cf-orange);
}

[data-theme="dark"] .ecosystem-section {
  background: transparent;
}


[data-theme="dark"] .eco-line {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ecosystem-card-outline {
  background: var(--bg);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .ecosystem-title {
  color: var(--text-primary);
}

[data-theme="dark"] .ecosystem-desc {
  color: var(--text-muted);
}

[data-theme="dark"] .ecosystem-card {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ecosystem-col {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ecosystem-col-header h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .ecosystem-col-desc {
  color: var(--text-muted);
}

[data-theme="dark"] .ecosystem-list li {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

[data-theme="dark"] .ecosystem-list li svg {
  color: var(--text-muted);
}

[data-theme="dark"] .ecosystem-item-icon {
  filter: invert(0.7);
}

[data-theme="dark"] .ecosystem-btn-icon {
  filter: invert(0.8);
}

[data-theme="dark"] .ecosystem-col-title {
  color: var(--text-primary);
}

[data-theme="dark"] .ecosystem-item-label {
  color: var(--text-secondary);
}

[data-theme="dark"] .ecosystem-footer {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .ecosystem-btn {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  box-shadow: none;
}

[data-theme="dark"] .ecosystem-btn:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .footer-section {
  background: #000000;
}

[data-theme="dark"] #footerCanvas {
  opacity: 0.3;
}

/* Dark mode background canvas - visible in marketing sections */
[data-theme="dark"] #backgroundCanvas {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1 !important;
}

[data-theme="dark"] .header-search-input {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='32' viewBox='0 0 16 32'%3E%3Cline x1='8' y1='2' x2='8' y2='30' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='4' y1='2' x2='12' y2='2' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='4' y1='30' x2='12' y2='30' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 8 16, text;
}

[data-theme="dark"] .title-line-input {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='32' viewBox='0 0 16 32'%3E%3Cline x1='8' y1='2' x2='8' y2='30' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='4' y1='2' x2='12' y2='2' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='4' y1='30' x2='12' y2='30' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 8 16, text;
}

[data-theme="dark"] .hero-title {
  color: #ffffff;
}

[data-theme="dark"] .title-prompt {
  color: var(--cf-orange);
}
