﻿:root {
  color-scheme: dark;
  --bg: #080205;
  --bg-alt: #180408;
  --text: #f9f5f1;
  --muted: #d8d0ce;
  --accent: #ff1e1e;
  --accent-2: #ffffff;
  --accent-3: #a10000;
  --surface: rgba(255,255,255,0.08);
  --surface-strong: rgba(255,255,255,0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text);
    /* 4K Spider-Man background should be saved as /public/images/spiderman-4k.jpg
      If it's missing, the SVG `upside_man.svg` will be used as fallback so you see immediate art. */
    background-image: url('/images/spiderman-4k.jpg'), url('/images/upside_man.svg'), radial-gradient(circle at 14% 15%, rgba(255, 30, 30, 0.18), transparent 18%), radial-gradient(circle at 88% 18%, rgba(255,255,255,0.12), transparent 16%), linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    background-size: cover, contain, auto, auto, auto;
    background-position: center center, left bottom, 14% 15%, 88% 18%, center center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: fixed, fixed, scroll, scroll, scroll;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 22% 22%, rgba(255, 30, 30, 0.18), transparent 18%),
    radial-gradient(circle at 76% 24%, rgba(255,255,255,0.12), transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(255, 30, 30, 0.09), transparent 22%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.04), transparent 22%),
    radial-gradient(circle at 20% 75%, rgba(255, 30, 30, 0.08), transparent 18%);
  pointer-events: none;
}

/* Decorative upside-down figure placed in the left-down diagonal */
body::after {
  content: '';
  position: fixed;
  left: -6vw;
  top: 6vh;
  width: 50vw;
  height: 95vh;
  background-image: url('/images/upside_man.svg');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  transform: rotate(-12deg);
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
}

.hero,
.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 2.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255, 54, 54, 0.14), transparent 20%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.08), transparent 18%),
    radial-gradient(circle at 50% 90%, rgba(255, 54, 54, 0.08), transparent 20%);
  pointer-events: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}

.brand {
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: lowercase;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.brand::before {
  content: '';
  position: absolute;
  top: -1.75rem;
  left: 50%;
  width: 2px;
  height: 1.9rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0));
  transform: translateX(-50%);
}

.brand::after {
  content: '';
  position: absolute;
  top: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  background-image: url('/images/brand_spider.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.brand span {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav-pill {
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  transition: all 0.25s ease;
}

.nav-pill:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.16);
}

.nav-pill-primary {
  background: linear-gradient(135deg, var(--accent), #a10000);
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 30, 30, 0.25);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy h1 {
  text-shadow: 0 22px 45px rgba(0,0,0,0.18);
}

.hero-panel {
  padding: 2rem;
  border-radius: 34px;
  background: rgba(10, 8, 10, 0.95);
  border: 1px solid rgba(255, 30, 30, 0.2);
  box-shadow: 0 44px 130px rgba(0,0,0,0.45);
}

.hero-panel p {
  color: rgba(225, 232, 255, 0.8);
}

.panel-badge {
  display: inline-flex;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 30, 30, 0.28), rgba(255, 255, 255, 0.05));
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.panel-feature-grid div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  color: #e5e7ff;
  font-size: 0.95rem;
}

.hero-panel .text-link {
  display: inline-flex;
  margin-top: 1rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  line-height: 1.05;
  max-width: 660px;
}

.lead {
  margin-top: 1.6rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #c01818);
  box-shadow: 0 24px 65px rgba(255, 54, 54, 0.25);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2.2rem;
}

.hero-benefits span {
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #d9e3ff;
  font-size: 0.95rem;
}

.why-section {
  padding-top: 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.why-card {
  padding: 1.8rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.why-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.why-card h3 {
  margin-bottom: 0.85rem;
}

.why-card p {
  color: var(--muted);
  line-height: 1.85;
}

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

.comparison-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(18, 21, 48, 0.95);
  border: 1px solid rgba(255, 30, 30, 0.24);
}

.comparison-card h4 {
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

.comparison-card p {
  color: var(--muted);
  line-height: 1.75;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.service-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 30, 30, 0.16);
  color: white;
  font-size: 1.15rem;
}

.service-card h3 {
  margin: 0;
}

.panel-tag {
  display: inline-flex;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 30, 30, 0.16);
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.hero-panel h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.hero-panel p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.panel-badge {
  display: inline-flex;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 30, 30, 0.28), rgba(255, 255, 255, 0.08));
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.panel-feature-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.4rem;
}

.panel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.service-pill {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.service-pill:hover,
.service-pill:focus {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255, 30, 30, 0.28);
  transform: translateY(-1px);
}

.hero-service-pills {
  display: none;
}

.service-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
  padding: 1rem 1rem 0.8rem;
  border-radius: 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.service-quick-pill {
  border: 1px solid rgba(255, 30, 30, 0.25);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.service-quick-pill:hover,
.service-quick-pill:focus {
  background: rgba(255, 30, 30, 0.14);
  border-color: rgba(255, 30, 30, 0.38);
  transform: translateY(-1px);
}

.panel-feature-grid div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  color: #f3ebe9;
  font-size: 0.95rem;
}

.text-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.text-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.section {
  padding: 3rem 0;
}

.section-heading {
  margin-bottom: 1.8rem;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  margin: 0 auto;
  max-width: 780px;
}

.section-copy {
  color: var(--muted);
  max-width: 780px;
  margin: 1rem auto 0;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.about-card {
  padding: 1.7rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}

.about-card h3 {
  margin-bottom: 0.9rem;
}

.about-card p {
  color: var(--muted);
  line-height: 1.8;
}

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

.service-card {
  padding: 1.8rem;
  border-radius: 24px;
  background: rgba(15, 10, 12, 0.95);
  border: 1px solid rgba(255, 54, 54, 0.2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 54, 54, 0.08);
  border-color: rgba(255, 54, 54, 0.35);
}

.service-card p {
  min-height: 110px;
}

.service-card h3 {
  margin-bottom: 0.9rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.75;
  min-height: 90px;
}

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

.price-badge {
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 30, 30, 0.24), rgba(255, 255, 255, 0.1));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.contact-section {
  padding-bottom: 4.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 32px 90px rgba(0,0,0,0.18);
  max-width: 760px;
  margin: 0 auto;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  padding: 1rem 1.1rem;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 30, 30, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 30, 30, 0.15);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.form-status {
  min-height: 1.4rem;
  color: #dbeafe;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,14,34,0.9);
}

.modal-panel {
  position: relative;
  width: min(720px, calc(100% - 2rem));
  padding: 2rem;
  border-radius: 30px;
  background: rgba(3,12,32,0.98);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 45px 110px rgba(0,0,0,0.4);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-label {
  display: inline-flex;
  color: #ffffff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
}

.modal-panel h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.modal-panel p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modal-features {
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}

.modal-features li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
}

.modal-features li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.2rem;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.modal-price {
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 30, 30, 0.18);
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .services-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    flex-direction: column;
  }

  .hero-panel,
  .contact-form,
  .modal-panel {
    padding: 1.5rem;
  }
}
