:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-soft: #111727;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.08);
  --accent-strong: #6366f1;
  --accent-secondary: #22c55e;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.6);
  --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.4);
  --container-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 40%, #000 90%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

/* Offset for anchor scrolling with sticky header */
section[id],
footer[id] {
  scroll-margin-top: 92px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  will-change: opacity, transform, filter;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal.reveal-delay-3 {
  transition-delay: 230ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 30% 0, #a855f7, #4f46e5 45%, #0ea5e9 100%);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4), 0 18px 40px rgba(56, 189, 248, 0.4);
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
}

.logo-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(to right, #38bdf8, #4f46e5);
  transition: width 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.btn::after {
  content: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 2.5rem;
  gap: 0.4rem;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 3.5rem 0 3.2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 0 0 1.6rem;
  color: var(--text-muted);
  max-width: 32rem;
  font-size: 0.98rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: #a5b4fc;
  margin: 0 0 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), #22c55e);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.5);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.7);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--text);
  background: rgba(15, 23, 42, 0.9);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.5);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent-strong);
  background: rgba(79, 70, 229, 0.1);
}

.btn-small {
  padding: 0.55rem 1.8rem;
  font-size: 0.88rem;
}

.main-nav .btn {
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease,
    color 0.22s ease;
}

.main-nav .btn-primary.btn-small {
  padding-inline: 1.25rem;
  min-width: 5.5rem;
}

.btn-full {
  width: 100%;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.15), transparent 55%);
  backdrop-filter: blur(22px);
}

.meta-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 0.15rem;
}

.meta-value {
  font-size: 0.9rem;
}

.highlight {
  color: #a5b4fc;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 1.2rem;
  border-radius: 1.8rem;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.3), rgba(17, 24, 39, 0.98) 40%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-photo-placeholder {
  height: 190px;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.65));
}

.hero-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
}

.hero-list li::before {
  content: "•";
  color: #22c55e;
  margin-right: 0.4rem;
}

.section {
  padding: 3.4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.3), rgba(15, 23, 42, 0.95) 45%, #020617 100%);
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 0.7rem;
  letter-spacing: -0.03em;
}

.section-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.cards-grid {
  display: grid;
  gap: 1.6rem;
}

.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: var(--shadow-subtle);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.card-text {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.card-list li {
  position: relative;
  padding-left: 1.1rem;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #14b8a6);
}

.card-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.3rem;
}

.feature-list h3 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.95);
  margin: 0 0 0.25rem;
}

.stat-value {
  margin: 0 0 0.1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.stat-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card .price {
  margin: 0.1rem 0 0.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #e5e7eb;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card-highlight {
  border-color: rgba(79, 70, 229, 0.8);
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.4), rgba(15, 23, 42, 0.98));
  box-shadow: 0 18px 50px rgba(79, 70, 229, 0.6);
}

.pricing-card .badge {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(129, 140, 248, 0.8);
  color: #c7d2fe;
}

.pricing-note {
  margin: 1.2rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.about-side .about-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.26), rgba(15, 23, 42, 0.98) 50%);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-subtle);
}

.about-card h3 {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.1rem 1.05rem 1rem;
  box-shadow: var(--shadow-subtle);
}

.gallery-header h3 {
  margin: 0 0 0.15rem;
  font-size: 0.96rem;
}

.gallery-tag {
  margin: 0;
  font-size: 0.78rem;
  color: #a5b4fc;
}

.gallery-images {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery-images figure {
  margin: 0;
}

.gallery-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.95rem;
  border: 1px solid rgba(30, 64, 175, 0.7);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.85));
}

.gallery-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-image.is-before {
  border-style: dashed;
  border-color: rgba(239, 68, 68, 0.8);
}

.gallery-image.is-after {
  border-color: rgba(34, 197, 94, 0.9);
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.02);
}

.gallery-images figcaption {
  margin-top: 0.25rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.gallery-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.7rem 0.9rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-weight: 500;
  color: rgba(148, 163, 184, 0.9);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0.55rem 0 0.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.section-contact {
  padding-bottom: 3.6rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-meta {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form-card {
  border-radius: 1.4rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
  padding: 1.4rem 1.35rem 1.3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.8rem;
  color: rgba(209, 213, 219, 0.95);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.8rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  padding: 0.6rem 0.75rem;
  font-size: 0.86rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(79, 70, 229, 0.9);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.8);
  background: rgba(15, 23, 42, 0.98);
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.contact-hint {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}


.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617 65%);
  padding: 1.8rem 0 1.6rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: flex-start;
}

.footer-logo .logo-mark {
  width: 1.9rem;
  height: 1.9rem;
}

.footer-text {
  margin: 0.6rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-links {
  align-self: center;
  justify-self: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #6b7280;
}

.footer-legal {
  text-align: right;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.4rem;
  }

  .cards-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    justify-self: flex-start;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.65rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 1rem;
    top: 3.1rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.4rem 0.75rem 0.7rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    transform-origin: top right;
    transform: scaleY(0.8);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  }

  .nav-links a {
    padding: 0.45rem 0.45rem;
    border-radius: 0.6rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.2rem;
  }

  .main-nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .main-nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }

  .main-nav.open .nav-toggle span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    display: none;
  }

  .hero-card {
    max-width: 100%;
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .container {
    padding-inline: 1.1rem;
  }

  .site-footer {
    padding-bottom: 1.1rem;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
