/* ----------------------------------
   Root tokens & resets
---------------------------------- */

:root {
  --primary: #5e17eb;
  --primary-soft: #6d28ff;
  --primary-dark: #25124e;
  --accent-blue: #2563eb;
  --bg-body: #050816;
  --bg-card: #0b1020;
  --bg-alt: #0f172a;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.55);
  --max-width: 1120px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 50%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Utility shell (page width) */
.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Links & images */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-blue));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}

.btn.secondary:hover {
  border-color: #e5e7eb;
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.55);
}

.btn.ghost:hover {
  border-color: #ffffff;
}

/* ----------------------------------
   Header & nav
---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: contain;
  background: radial-gradient(circle, #1f2933, #020617);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

/* Desktop nav */
.nav-main {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-main .nav-link {
  position: relative;
}

.nav-main .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
  transition: width var(--transition);
}

.nav-main .nav-link:hover::after,
.nav-link-active::after {
  width: 100%;
}

.nav-cta {
  display: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.7);
  font-size: 0.82rem;
  color: #e5e7eb;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: rgba(37, 99, 235, 0.18);
}

/* Mobile toggle */
.nav-toggle {
  width: 40px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}

/* Drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 40;
}

.nav-drawer.open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.75rem;
}

.nav-close {
  align-self: flex-end;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  padding: 0.2rem 0.7rem 0.3rem;
  color: #e5e7eb;
  cursor: pointer;
}

.nav-drawer-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 1.15rem;
}

.nav-drawer-social {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-drawer-social img {
  width: 28px;
  height: 28px;
}

/* ----------------------------------
   Hero
---------------------------------- */

.hero {
  position: relative;
  padding: 3.5rem 0 3.25rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(94, 23, 235, 0.75), transparent 55%),
    radial-gradient(circle at center right, rgba(37, 99, 235, 0.75), transparent 55%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin: 0.4rem 0 0.75rem;
}

.hero-sub {
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  color: #c4b5fd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-meta {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #a5b4fc;
}

.meta-value {
  font-size: 0.9rem;
}

/* Hero media cards */
.hero-media {
  display: grid;
  gap: 1rem;
  align-content: flex-start;
}

.hero-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero-card-alt {
  border-color: rgba(96, 165, 250, 0.6);
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero-card-body {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-stat {
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(94, 23, 235, 0.65),
    rgba(37, 99, 235, 0.8)
  );
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.hero-stat span {
  display: block;
  opacity: 0.9;
}

.hero-stat strong {
  display: block;
  margin-top: 0.3rem;
}

/* ----------------------------------
   Sections general
---------------------------------- */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 65%, #000 100%);
}

.section-accent {
  background: radial-gradient(circle at center, #1d1538 0, #020617 80%);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-head p {
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-head-center {
  text-align: center;
}

.section-head-center p {
  margin: 0.5rem auto 0;
}

/* ----------------------------------
   Services grid
---------------------------------- */

.services-grid {
  display: grid;
  gap: 1rem;
}

.service-item {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.service-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ----------------------------------
   Pricing
---------------------------------- */

.pricing-grid {
  display: grid;
  gap: 1.3rem;
  margin-top: 0.5rem;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem 1.35rem;
  border: 1px solid rgba(129, 140, 248, 0.5);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.pricing-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.pricing-tag {
  font-size: 0.8rem;
  color: #a5b4fc;
  margin-bottom: 0.6rem;
}

.pricing-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.pricing-card li + li {
  margin-top: 0.3rem;
}

.pricing-amount {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
}

.pricing-note {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ----------------------------------
   Business Cards section
---------------------------------- */

.cards-shell {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.cards-image {
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.85);
}

.cards-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.cards-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.cards-list {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----------------------------------
   About
---------------------------------- */

.about-shell {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.about-image {
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.8);
}

.about-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about-text p + p {
  margin-top: 0.6rem;
}

/* ----------------------------------
   Team (home)
---------------------------------- */

.team-grid {
  display: grid;
  gap: 1.2rem;
}

.team-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1.3rem;
  border: 1px solid rgba(129, 140, 248, 0.4);
  text-align: center;
}

.team-card.big {
  text-align: left;
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 0.8rem;
  border: 3px solid rgba(129, 140, 248, 0.9);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
}

.team-card.big .team-photo {
  margin-left: 0;
}

.team-card h3,
.team-card h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.team-role {
  font-size: 0.85rem;
  color: #a5b4fc;
  margin-bottom: 0.45rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.team-cta {
  margin-top: 1.5rem;
  text-align: center;
}

/* Team page */
.team-hero {
  text-align: center;
}

.team-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.team-hero p {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.team-page-grid {
  display: grid;
  gap: 1.3rem;
}

/* ----------------------------------
   Subscribe / Mailchimp
---------------------------------- */

.subscribe-box {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 20px;
  padding: 1.2rem 1.1rem 1.25rem;
  border: 1px solid rgba(129, 140, 248, 0.45);
  box-shadow: var(--shadow-soft);
}

.subscribe-label {
  font-size: 0.85rem;
}

.required-star {
  color: #f97373;
  margin-left: 4px;
}

.subscribe-row {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.subscribe-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

.subscribe-input::placeholder {
  color: #6b7280;
}

.subscribe-input:focus {
  outline: none;
  border-color: #a5b4fc;
}

/* ----------------------------------
   Footer
---------------------------------- */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: 2.5rem;
  padding-top: 1.6rem;
}

.footer-shell {
  display: grid;
  gap: 1.8rem;
}

.footer-col h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.footer-col a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-col a:hover {
  color: #e5e7eb;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-line img {
  width: 18px;
  height: 18px;
}

.footer-social-col .footer-social {
  margin-top: 0.4rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(1.1) saturate(1.2);
  transition: transform var(--transition), opacity var(--transition);
}

.footer-social a:hover img {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-bottom {
  margin-top: 1.1rem;
  padding: 0.9rem 1.5rem 1.7rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ----------------------------------
   Responsive
---------------------------------- */

@media (min-width: 720px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-shell,
  .about-shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .subscribe-row {
    flex-direction: row;
    align-items: center;
  }

  .subscribe-input {
    flex: 1;
  }

  .footer-shell {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .nav-main {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-shell {
    padding-inline: 1.5rem;
  }

  .hero {
    padding: 4.2rem 0 3.8rem;
  }

  .section {
    padding: 3.3rem 0;
  }
}
