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

:root {
  --bg: #05070b;
  --bg-elevated: rgba(10, 12, 20, 0.96);
  --bg-alt: #0d1018;
  --accent: #ff2d4d;
  --accent-soft: rgba(255, 45, 77, 0.15);
  --accent-gradient: linear-gradient(135deg, #ff2d4d, #ff6b81);
  --text-primary: #f8fafc;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-xl: 1.5rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.6);
  --transition-fast: 180ms ease-out;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #000 100%);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.85),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-gradient);
  transition: width var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-primary);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.accent {
  background-image: var(--accent-gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn.primary {
  background-image: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 14px 35px rgba(248, 113, 113, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(248, 113, 113, 0.55);
}

.btn.ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(248, 250, 252, 0.5);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-badges span {
  font-size: 0.78rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.16), transparent 55%);
  color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.card-stack {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.25), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(248, 113, 113, 0.4);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-layer {
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.45);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.card-layer h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.card-layer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.layer-1 {
  transform: translateY(0);
}

.layer-2 {
  margin-top: 0.9rem;
  transform: translateX(12px);
}

.layer-3 {
  margin-top: 0.9rem;
  transform: translateX(24px);
}

.card-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(248, 113, 113, 0.28), transparent 55%);
  opacity: 0.9;
}

/* Status pill */
.status-pill {
  position: absolute;
  right: 0.5rem;
  bottom: -0.5rem;
  transform: translateY(-50%);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.35);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at top right, #111827 0, #020617 60%);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.94),
    rgba(15, 23, 42, 0.98)
  );
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-card ul {
  margin: 0;
  padding-left: 1.05rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.feature-card li + li {
  margin-top: 0.1rem;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill-list span {
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1.1rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.15), rgba(15, 23, 42, 0.96));
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.7);
}

.stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA block */
.cta-block {
  border-radius: var(--radius-xl);
  padding: 1.8rem 2rem;
  background: linear-gradient(120deg, rgba(248, 113, 113, 0.12), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(248, 113, 113, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.cta-block h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.cta-block p {
  margin: 0;
  color: var(--text-muted);
}

/* Page hero */
.page-hero {
  padding: 2.2rem 0 1.2rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
}

/* About page */
.about-panel {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.meta-list li + li {
  margin-top: 0.35rem;
}

.meta-list span {
  color: var(--text-muted);
  margin-right: 0.35rem;
}

/* Contact form */
.contact-block p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.contact-form {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

input:focus,
textarea:focus {
  border-color: rgba(248, 113, 113, 0.8);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.5);
  background: rgba(15, 23, 42, 1);
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}

/* Legal */
.legal h2 {
  margin-top: 1.7rem;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

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

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

.legal li + li {
  margin-top: 0.2rem;
}

.legal-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), #020617);
  padding-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr;
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 1);
  padding: 0.9rem 1.5rem 1.3rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    position: absolute;
    inset: auto 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.5rem 1.2rem;
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3rem;
  }

  .cta-block {
    padding: 1.4rem 1.2rem;
  }

  .container {
    padding: 0 1.2rem;
  }
}
