:root {
  /* Neo Brutalism */
  --bg-color: #ffffff;
  --card-bg: #ffffff;
  --text-primary: #101010;
  --text-secondary: #505050;
  --border: #000000;
  --shadow-color: #000000;

  --neo-primary: #00d4ff;
  --neo-secondary: #c4b5fd;
  --neo-accent: #facc15;
  --neo-success: #34d399;
  --neo-danger: #f87171;

  --border-width: 2px;
  --shadow-offset: 4px;
  --radius: 8px;
}

/* Dark Theme */
body.dark-mode {
  --bg-color: #000000;
  --card-bg: #121212;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;

  --border: #333333;
  --shadow-color: #333333;

  --neo-primary: #00d4ff;
  --neo-secondary: #4c1d95;
  --neo-accent: #fbbf24;
  --neo-success: #10b981;
  --neo-danger: #ef4444;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  transition:
    color 0.35s ease;

  /* Grid Background */
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
  background-attachment: fixed;
}

/* Light mode overrides */
body:not(.dark-mode) {
  background-image:
    linear-gradient(#e5e5e5 1px, transparent 1px),
    linear-gradient(90deg, #e5e5e5 1px, transparent 1px);
}

/* Dark mode overrides */
body.dark-mode {
  background-image:
    linear-gradient(#222 1px, transparent 1px),
    linear-gradient(90deg, #222 1px, transparent 1px);
}

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

.full-page {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  background: var(--bg-color);
  border-left: var(--border-width) solid var(--border);
  border-right: var(--border-width) solid var(--border);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px;
  border-bottom: var(--border-width) solid var(--border);
}

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

.logo {
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.logo-img {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--neo-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 14px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-divider {
  color: var(--border);
}

.landing-main {
  padding: 40px;
  flex: 1;
}

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

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 0 20px;
}

.page-title {
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -3px;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.page-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

/* Buttons */
.primary-btn {
  background: var(--neo-primary);
  color: #000000;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 4px 4px 0 0 var(--shadow-color);
  transition: all 0.2s;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}

.primary-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--shadow-color);
  background: var(--neo-success);
}

.primary-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 0 var(--shadow-color);
}

/* Chart Preview Container (Decorative) */
.chart-preview {
  background: var(--card-bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 6px 6px 0 0 var(--shadow-color);
  margin: 0 auto 60px;
  max-width: 700px;
}

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

.chart-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.bar-chart {
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.bar-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  transition: transform 0.2s;
}

.bar-column:hover {
  transform: translateY(-5px);
}

.chart-bar {
  width: 100%;
  background: var(--neo-primary);
  border: var(--border-width) solid var(--border);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  min-height: 4px;
  position: relative;
  /* Adding subtle animation */
  animation: growBar 1s cubic-bezier(0.1, 0.9, 0.2, 1) backwards;
}

@keyframes growBar {
  from {
    height: 0 !important;
  }
}

.bar-column:nth-child(3n + 1) .chart-bar {
  background: var(--neo-primary);
  animation-delay: 0.1s;
}
.bar-column:nth-child(3n + 2) .chart-bar {
  background: var(--neo-secondary);
  animation-delay: 0.2s;
}
.bar-column:nth-child(3n + 3) .chart-bar {
  background: var(--neo-accent);
  animation-delay: 0.3s;
}

.bar-column.selected .chart-bar {
  background: var(--neo-danger) !important;
  box-shadow: 0 0 10px var(--neo-danger);
  z-index: 10;
  animation-delay: 0.4s;
}

/* Features Section */
.features-section {
  padding-top: 100px;
  border-top: 2px dashed var(--border);
}

.section-heading {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

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

.stat-card {
  background: var(--card-bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 4px 4px 0 0 var(--shadow-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--shadow-color);
}

.card-icon {
  font-size: 32px;
  background: var(--bg-color);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-width) solid var(--border);
  border-radius: 50%;
  box-shadow: 2px 2px 0 0 var(--shadow-color);
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 8px;
}

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

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

footer {
  padding: 40px 24px;
  text-align: center;
  border-top: var(--border-width) solid var(--border);
  background: var(--bg-color);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-credits {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.6;
}

.highlight {
  color: #000;
  background: var(--neo-accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  border: 1px solid #000;
}

/* Animations & Interactions */
::selection {
  background-color: var(--neo-success);
  color: #000000;
}

/* Detailed Features */
.detailed-features {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 120px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.feature-visual {
  flex: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.neo-box {
  background: var(--card-bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 0 var(--shadow-color);
}

/* Feature specific visuals */
.word-pill {
  display: inline-flex;
  padding: 8px 16px;
  border: var(--border-width) solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 2px 2px 0 0 var(--shadow-color);
  margin: 8px;
}

.demo-buttons {
  display: flex;
  gap: 16px;
}

.demo-btn {
  padding: 12px 24px;
  font-weight: 800;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  text-transform: uppercase;
  box-shadow: 4px 4px 0 0 var(--shadow-color);
  cursor: default;
}

.demo-btn.danger {
  background: var(--neo-danger);
  color: #000;
}

.demo-btn.success {
  background: var(--neo-success);
  color: #000;
}

.blocked-preview {
  background: var(--neo-danger);
  border-color: #000;
}

.blocked-text {
  font-size: 42px;
  font-weight: 900;
  color: #000;
  letter-spacing: -2px;
}

.dark-preview {
  background: #121212;
  border-color: #333;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #000;
  border: 2px solid #333;
  border-radius: var(--radius);
  width: 100%;
}

.domain-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}

.favicon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.bg-blue {
  background: #3b82f6;
}
.bg-red {
  background: #ef4444;
}

.time-val {
  background: #333;
  color: #fff;
  font-weight: 800;
  padding: 4px 10px;
  border: 1px solid #111;
  border-radius: 4px;
}

/* How It Works Section */
.how-it-works-section {
  padding-top: 120px;
  border-top: 2px dashed var(--border);
  margin-top: 120px;
}

.steps-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}

.step-card {
  flex: 1;
  background: var(--card-bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  position: relative;
  box-shadow: 6px 6px 0 0 var(--shadow-color);
  text-align: center;
  z-index: 2;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--neo-accent);
  color: #000;
  border: var(--border-width) solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 3px 3px 0 0 var(--shadow-color);
}

.step-card:nth-child(1) .step-number {
  background: var(--neo-primary);
}
.step-card:nth-child(3) .step-number {
  background: var(--neo-accent);
}
.step-card:nth-child(5) .step-number {
  background: var(--neo-success);
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-connector {
  flex: 0 0 40px;
  height: 4px;
  background: var(--border);
  align-self: center;
  position: relative;
  z-index: 1;
}

/* FAQ Section */
.faq-section {
  padding-top: 120px;
  border-top: 2px dashed var(--border);
  margin-top: 120px;
  margin-bottom: 120px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 0 var(--shadow-color);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq-icon {
  font-size: 24px;
  font-weight: 900;
  transition: transform 0.3s;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  background: var(--bg-color);
  border-top: 0 solid var(--border);
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  padding: 0 20px 20px 20px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  border-top-width: var(--border-width);
}

.faq-item.active .faq-answer-inner p {
  padding-top: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
  .breakdown-grid {
    grid-template-columns: 1fr;
  }
  .page-title {
    font-size: 48px;
  }
  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 24px;
  }
  .steps-container {
    flex-direction: column;
  }
  .step-connector {
    width: 4px;
    height: 40px;
    flex: none;
  }
}

/* Documentation Pages (Privacy Policy etc) */
.doc-container {
  max-width: 800px;
  padding-bottom: 80px;
}

.doc-header {
  text-align: center;
  margin-bottom: 40px;
}

.doc-header .page-subtitle {
  margin-bottom: 0;
  font-weight: 700;
}

.doc-content {
  padding: 40px;
}

.doc-content h2 {
  font-size: 28px;
  font-weight: 900;
  margin: 40px 0 20px 0;
  color: var(--text-primary);
  border-bottom: 4px solid var(--neo-primary);
  display: inline-block;
  padding-right: 16px;
}

.doc-content h2:first-child {
  margin-top: 0;
}

.doc-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 24px 0 12px 0;
  color: var(--text-primary);
}

.doc-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 500;
}

.doc-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.doc-content li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
  font-weight: 500;
}

.doc-content li strong {
  color: var(--text-primary);
  font-weight: 800;
}

.doc-content code {
  background: #000;
  color: var(--neo-accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}
/* Switch Toggle - Neo Style (Dark Mode) */
.theme-toggle-container {
  margin-right: 16px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--card-bg);
  border: 2px solid var(--border);
  transition: 0.35s ease;
  box-shadow: 2px 2px 0 0 var(--shadow-color);
  border-radius: 6px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  border-radius: 2px;
  background-color: var(--text-primary);
  border: 1px solid transparent;
  transition: 0.35s ease;
}
.switch input:checked + .slider {
  background-color: var(--neo-success);
}
.switch input:checked + .slider:before {
  transform: translateX(22px);
  background-color: #ffffff;
  border-color: #000;
}
