/* ================================================================
   David Street — AI-SCB Template 1
   style-build-and-scale-your-business-with-ai.css
   ================================================================ */

/* ----------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Easy theming — change colors here)
   ---------------------------------------------------------------- */
:root {
  --color-bg:           #111111;       /* Page background */
  --color-bg-section:   #181818;       /* Alternate section background */
  --color-bg-card:      #1e1e1e;       /* Card/calculator background */
  --color-accent:       #39FF14;       /* Neon green accent */
  --color-accent-hover: #2ecc10;       /* Darker green on hover */
  --color-accent-blue:  #4a90d9;       /* Blue for merchant accounts */
  --color-text:         #ffffff;       /* Primary text */
  --color-text-muted:   #aaaaaa;       /* Muted/secondary text */
  --color-border:       #2a2a2a;       /* Subtle borders */
  --color-btn-text:     #111111;       /* Button text (dark on green) */

  --font-heading:       'Oswald', Impact, 'Arial Narrow', sans-serif;
  --font-body:          'Open Sans', Arial, sans-serif;

  --max-width:          860px;
  --section-padding:    60px 20px;
  --border-radius:      8px;
  --transition:         0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus {
  color: var(--color-accent-hover);
  outline: 2px dashed var(--color-accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----------------------------------------------------------------
   LAYOUT: CONTAINER & SECTIONS
   ---------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.section {
  padding: var(--section-padding);
}

.section:nth-child(even) {
  background-color: var(--color-bg-section);
}

/* ----------------------------------------------------------------
   SECTION 1: HERO
   ---------------------------------------------------------------- */
.hero-section {
  padding-top: 70px;
  padding-bottom: 50px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subheadline {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

/* ----------------------------------------------------------------
   SECTION LABELS (H2 above videos)
   ---------------------------------------------------------------- */
.section-label {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

/* ----------------------------------------------------------------
   VIDEO WRAPPER (Responsive 16:9 embed)
   ---------------------------------------------------------------- */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border: 2px dashed var(--color-accent);
  border-radius: var(--border-radius);
  background-color: #0a0a0a;
  margin-bottom: 20px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Placeholder shown when no video is embedded yet */
.video-wrapper::before {
  content: "▶  Video Embed Placeholder — Replace iframe src with your Loom or YouTube URL";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  pointer-events: none;
  width: 80%;
}

/* ----------------------------------------------------------------
   CTA SECTION
   ---------------------------------------------------------------- */
.cta-section {
  background-color: var(--color-bg);
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.cta-subtext {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  line-height: 1.4;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 36px auto;
  border-radius: 2px;
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-btn-text);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.45);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-accent-hover);
  color: var(--color-btn-text);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.65);
  outline: 2px dashed var(--color-accent);
  outline-offset: 3px;
}

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

/* ----------------------------------------------------------------
   CALCULATOR SECTION
   ---------------------------------------------------------------- */
.calculator-section {
  background-color: var(--color-bg-section);
}

.calculator-box {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 36px 28px;
  margin-top: 36px;
  text-align: left;
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.calc-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.calc-group {
  margin-bottom: 28px;
}

.calc-group-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background-color: var(--color-accent); }
.dot-blue  { background-color: var(--color-accent-blue); }

.calc-label {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 600;
}

.calc-val {
  color: var(--color-accent);
  font-weight: 700;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #333;
  outline: none;
  cursor: pointer;
  margin-bottom: 6px;
  transition: background var(--transition);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.5);
}

.calc-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: none;
}

.calc-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* Results Column */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-card {
  background-color: #252525;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 20px;
}

.result-card--highlight {
  border-color: rgba(57, 255, 20, 0.3);
  background-color: rgba(57, 255, 20, 0.05);
}

.result-card--annual {
  border-color: rgba(57, 255, 20, 0.2);
  background-color: rgba(57, 255, 20, 0.03);
}

.result-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.result-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.result-amount--annual {
  font-size: 1.8rem;
}

.result-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.breakdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.breakdown-row:last-of-type {
  border-bottom: none;
}

.breakdown-row--total {
  margin-top: 4px;
  font-weight: 700;
}

.breakdown-item {
  color: var(--color-text-muted);
}

.breakdown-value {
  color: var(--color-text);
  font-weight: 600;
}

.breakdown-value--green {
  color: var(--color-accent);
}

/* ----------------------------------------------------------------
   FOOTER SECTION
   ---------------------------------------------------------------- */
.footer-section {
  background-color: #0d0d0d;
  padding: 50px 20px 40px;
}

.contact-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 24px;
  margin-bottom: 32px;
}

.contact-link {
  color: var(--color-accent);
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 28px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover,
.footer-link:focus {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: #555;
}

/* ----------------------------------------------------------------
   ACCESSIBILITY: Skip to main content link
   ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-accent);
  color: var(--color-btn-text);
  padding: 10px 20px;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 6px 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ----------------------------------------------------------------
   RESPONSIVE: Mobile adjustments
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  .btn {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .calculator-box {
    padding: 24px 16px;
  }

  .result-amount {
    font-size: 1.8rem;
  }
}

/* ----------------------------------------------------------------
   PRINT STYLES: Basic print optimization
   ---------------------------------------------------------------- */
@media print {
  body {
    background: white;
    color: black;
  }

  .btn,
  .video-wrapper,
  .calculator-box {
    display: none;
  }
}
