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

:root {
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --red: #dc2626;
  --bg: #0a0a0f;
  --surface: rgba(15, 15, 25, 0.85);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
}

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

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
  transition: background 0.2s;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-decoration: none;
  background: linear-gradient(90deg, #f8fafc 0%, #f8fafc 58%, var(--blue-bright) 58%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:hover,
nav a:focus {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  min-height: 44px;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-bright);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.btn-outline:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  color: var(--text);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/public/assets/parlios-site-background.jpg');
  background-size: 168% auto;
  background-position: center bottom;
  opacity: 0.74;
  filter: saturate(0.95) contrast(1.08);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(3, 6, 14, 0.74) 0%, rgba(3, 6, 14, 0.50) 19%, rgba(3, 6, 14, 0.10) 42%, transparent 64%),
    linear-gradient(90deg, rgba(3, 6, 14, 0.86) 0%, rgba(3, 6, 14, 0.58) 42%, rgba(3, 6, 14, 0.28) 72%, rgba(3, 6, 14, 0.56) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 8, 16, 0.91) 0%,
    rgba(7, 11, 24, 0.83) 44%,
    rgba(5, 8, 16, 0.90) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  max-width: 780px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.1);
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-microcopy {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.hero-microcopy span {
  color: #22c55e;
}

/* ── SECTIONS ── */
section {
  padding: 6rem 1.5rem;
}

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

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── CARDS ── */
.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.25);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-bright);
  font-size: 1.1rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PROBLEM SECTION ── */
.problem {
  background: rgba(5, 5, 12, 0.6);
}

/* ── OFFERS SECTION ── */
.offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.offer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
}

.status-available {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.status-soon {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: #eab308;
}

.status-demand {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
}

.status-coming {
  background: rgba(100, 116, 139, 0.08);
  border: 1px solid rgba(100, 116, 139, 0.15);
  color: var(--text-subtle);
}

.offer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.offer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.offer-cta {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ── METHOD ── */
.method-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  counter-reset: step;
}

.method-step {
  flex: 1;
  min-width: 200px;
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
}

.method-step:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.method-step:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.method-step + .method-step {
  border-left: none;
}

.step-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* ── CONTACT ── */
.contact-section {
  text-align: center;
}

.contact-section .section-title {
  margin: 0 auto 1rem;
  max-width: 640px;
}

.contact-section .section-desc {
  margin: 0 auto 2rem;
}

.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

details {
  border: 1px solid var(--surface-border);
  border-radius: 0;
  background: var(--surface);
}

details:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

details:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

details + details {
  border-top: none;
}

details summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.15s;
}

details summary:hover {
  color: var(--blue-bright);
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: '+';
  color: var(--blue-bright);
  font-size: 1.2rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] summary {
  color: var(--blue-bright);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--surface-border);
  padding-top: 1rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

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

.footer-copy {
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
  font-size: 0.8rem;
  color: var(--text-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ── LEGAL PAGE ── */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.legal-page .subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--surface-border);
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-section a {
  color: var(--blue-bright);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* ── DIVIDERS ── */
.section-divider {
  height: 1px;
  background: var(--surface-border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero-content {
    padding: 4rem 1.25rem 3rem;
  }

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

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .method-steps {
    flex-direction: column;
  }

  .method-step {
    border-radius: 0;
    border-left: 1px solid var(--surface-border);
  }

  .method-step:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .method-step:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .method-step + .method-step {
    border-left: 1px solid var(--surface-border);
    border-top: none;
  }

  .footer-links {
    align-items: flex-start;
  }

  .contact-ctas {
    flex-direction: column;
    align-items: center;
  }

  .contact-ctas .btn {
    width: 100%;
    max-width: 360px;
  }
}

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

/* ── FOCUS STATES ── */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── HERO TOOLS BAR ── */
.hero-tools-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  align-items: center;
}

.tool-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot-color, var(--blue-bright));
  margin-right: -0.5rem;
}

/* ── TOOLS GRID ── */
.tools-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.tool-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

.tool-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.25rem;
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.tool-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tool-domain {
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
}

.tool-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.tool-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tool-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
}

.tool-cta {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ── STATUS BADGES ── */
.status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  width: fit-content;
}

.status-live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── BRAND SECTION ── */
.brand-section {
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.brand-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.brand-visual {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-wave {
  position: absolute;
  width: 50%;
  height: 100%;
  border-radius: 50% 50% 0 0;
  opacity: 0.12;
}

.brand-wave-left {
  left: 0;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  clip-path: polygon(0 100%, 0 30%, 100% 0, 100% 100%);
  border-radius: 40% 60% 0 0 / 80% 60% 0 0;
  transform: skewY(-3deg);
}

.brand-wave-right {
  right: 0;
  background: linear-gradient(225deg, #dc2626, #ef4444);
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
  border-radius: 60% 40% 0 0 / 60% 80% 0 0;
  transform: skewY(3deg);
}

.brand-center {
  position: relative;
  z-index: 1;
  text-align: center;
}

.brand-wordmark {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.brand-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 700px;
}

.brand-stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── RESPONSIVE FOR NEW SECTIONS ── */
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .brand-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-wave-left,
  .brand-wave-right {
    opacity: 0.08;
  }

  .brand-wordmark {
    font-size: 1.8rem;
  }

  .hero-tools-bar {
    gap: 0.6rem;
    font-size: 0.75rem;
  }
}

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

  .brand-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
