/* ============================================
   Austin's Tech Innovations — Space Theme
   Dark, deep, tech-service atmosphere
   Mobile-first, no dependencies
   ============================================ */

/* --- Inter Font (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Custom Properties --- */
:root {
  --space-bg: #07070d;
  --space-bg2: #0c0c1a;
  --space-bg3: #111128;
  --surface: #14142b;
  --surface-hover: #1a1a38;
  --border-glow: 0 0 6px rgba(99, 102, 241, 0.3);
  --accent-cyan: #22d3ee;
  --accent-purple: #818cf8;
  --accent-amber: #fbbf24;
  --text-primary: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #475569;
  --radius: 6px;
  --max-width: 960px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--space-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Atmospheric Background --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--space-bg);
}

/* Sunset horizon glow */
body::after {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60vh;
  z-index: -1;
  background:
    radial-gradient(ellipse 120% 50% at 50% 100%,
      rgba(251, 146, 60, 0.08) 0%,
      rgba(251, 191, 36, 0.04) 30%,
      transparent 70%);
  pointer-events: none;
}

/* Moonrise glow (cool side) */
.moonrise {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 70vh;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%,
      rgba(129, 140, 248, 0.08) 0%,
      rgba(99, 102, 241, 0.04) 35%,
      transparent 70%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-cyan); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-amber); text-decoration: underline; }

::selection { background: var(--accent-purple); color: #fff; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* --- Glow dividers --- */
.glow-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 2px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

/* --- Navigation --- */
.site-header {
  background: rgba(7, 7, 13, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.nav-brand {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-brand:hover { color: var(--accent-cyan); text-decoration: none; }

.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.08);
  text-decoration: none;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
  opacity: 0.3;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.hero-diff {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 1.75rem;
  line-height: 1.5;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  padding: 0.65rem 1.75rem;
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15), inset 0 0 20px rgba(34, 211, 238, 0.05);
  transition: all 0.2s;
}
.hero-phone:hover {
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
  color: var(--accent-cyan);
  text-decoration: none;
  transform: translateY(-2px);
}

.hero-phone::before {
  content: '→';
  font-size: 1rem;
  transition: transform 0.2s;
}
.hero-phone:hover::before { transform: translateX(3px); }

/* --- Service Sections (full-width, alternating) --- */
.service-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section:nth-child(odd) {
  background: rgba(20, 20, 43, 0.3);
}

.service-inner {
  max-width: 680px;
}

.service-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.service-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Section Defaults --- */
section { padding: 3rem 0; }

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #fff;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* --- CTA Block --- */
.cta-block {
  background: var(--surface);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.05);
}

.cta-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.cta-block p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.cta-block .cta-phone {
  color: var(--accent-amber);
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}
.btn:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-sm {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.btn-sm:hover {
  background: rgba(34, 211, 238, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  text-decoration: none;
}

/* --- Review Carousel --- */
.review-carousel {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.review-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-slide {
  min-width: 100%;
  padding: 0 0.5rem;
  text-align: center;
  box-sizing: border-box;
}

.review-stars {
  font-size: 1.5rem;
  color: var(--accent-amber);
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.review-author {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.review-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--accent-cyan);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.review-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}
.review-dot:hover {
  background: rgba(34, 211, 238, 0.3);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  padding: 2rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.8rem;
}
.footer-links a:hover { color: var(--accent-cyan); }

/* --- Prose (Privacy / Terms pages) --- */
.prose {
  max-width: 720px;
}

.about-prose {
  max-width: 620px;
}

/* --- How It Works steps --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}

@media (min-width: 600px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-purple);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step a {
  color: var(--accent-cyan);
}

/* --- Hours block --- */
.hours-block {
  background: var(--surface);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  max-width: 480px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.hours-day {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.hours-time {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.hours-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  padding-top: 1rem;
  margin-top: 0;
}

/* --- Service area tags --- */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.area-tag {
  background: var(--surface);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius);
  padding: 0.3rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

/* --- Pricing Page --- */
.pricing-notice {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.pricing-notice-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.pricing-notice p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row:nth-child(odd) {
  background: rgba(20, 20, 43, 0.3);
}

.pricing-service {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.pricing-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  white-space: nowrap;
  text-align: right;
  min-width: 80px;
}

.pricing-footnote {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}

.prose h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prose .meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.prose ul, .prose ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.prose strong {
  color: #fff;
}

.prose hr {
  border: none;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  margin: 2rem 0;
}

.prose em {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  padding: 1rem 1.25rem;
  z-index: 200;
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cookie-inner p {
  font-size: 0.8rem;
  line-height: 1.4;
  flex: 1 1 280px;
  color: var(--text-muted);
}
.cookie-inner a { color: var(--accent-cyan); }

.cookie-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.cookie-btn:hover { opacity: 0.9; }

/* --- Page header (sub-pages) --- */
.page-header {
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Responsive --- */
@media (min-width: 600px) {
  .hero { padding: 6rem 0 5rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero .tagline { font-size: 1.15rem; }
  .service-section { padding: 4rem 0; }
  .nav-brand { font-size: 1.1rem; }
}

@media (min-width: 860px) {
  .hero h1 { font-size: 3.2rem; }
  .hero { padding: 7rem 0 6rem; }
  .service-section { padding: 4.5rem 0; }
  section { padding: 4rem 0; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .page-header { padding: 4rem 0 3rem; }
  .page-header h1 { font-size: 2rem; }
}
