:root {
  --base: #24273a;
  --mantle: #1e2030;
  --crust: #181926;
  --surface: #363a4f;
  --text: #cad3f5;
  --green: #a6da95;
  --red: #ed8796;
  --yellow: #eed49f;
  --subtext: #a5adcb;
  --mauve: #c6a0f6;
  --pink: #f5bde6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--mantle);
  line-height: 1.6;
}

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

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

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2rem 0;
}

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

.site-header {
  background: var(--crust);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-bold {
  font-weight: 700;
}

.brand-thin {
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a,
.footer-links a {
  color: var(--subtext);
  font-size: 0.95rem;
}

.nav-link:hover,
.footer-links a:hover {
  text-decoration: underline;
  color: var(--text);
}

.nav-btn {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.95rem;
}

.nav-btn-primary {
  background: var(--mauve);
  border-color: transparent;
  color: var(--crust);
}

.pricing-table-wrap {
  overflow-x: auto;
  margin: 0 -1rem;
  padding: 1rem 0 0;
}

.pricing-table {
  width: min(100%, 1100px);
  border-collapse: separate;
  border-spacing: 0;
  min-width: 780px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.pricing-table th,
.pricing-table td {
  padding: 1.2rem 1rem;
  text-align: center;
  color: var(--subtext);
}

.pricing-table thead th {
  background: linear-gradient(180deg, rgba(198, 160, 246, 0.2), rgba(255, 255, 255, 0.04));
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.pricing-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table .best {
  color: var(--text);
}

.pricing-table .best-col {
  background: rgba(198, 160, 246, 0.12);
}

.pricing-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table tfoot th,
.pricing-table tfoot td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table tfoot td {
  padding-top: 1.4rem;
}

.pricing-table .btn {
  width: 100%;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--green);
  background: rgba(166, 218, 149, 0.16);
}

.status--no {
  color: var(--subtext);
  background: rgba(255, 255, 255, 0.08);
}

.status--optional {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--yellow);
  background: rgba(238, 212, 159, 0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.hero-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(198, 160, 246, 0.14);
  color: var(--mauve);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
}

.hero-text {
  margin-bottom: 1.5rem;
  color: var(--subtext);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary {
  background: var(--mauve);
  color: var(--crust);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-panel {
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-title {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-weight: 700;
}

.panel-list {
  display: grid;
  gap: 0.75rem;
}

.panel-item strong {
  display: block;
  color: var(--yellow);
  margin-bottom: 0.25rem;
}

.panel-item span {
  color: var(--subtext);
}

.features-section {
  padding: 2rem 0;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--mantle);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading p {
  margin: 0 0 0.6rem;
  color: var(--subtext);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.feature-grid,
.pricing-grid,
.project-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card,
.price-card,
.project-card,
.testimonial-card {
  padding: 1.4rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-legend {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--subtext);
}

.service-legend h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.service-legend p {
  margin: 0;
  line-height: 1.7;
}

.feature-card {
  display: grid;
  gap: 1rem;
  padding: 2rem 1.7rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
  color: var(--text);
  text-align: left;
}

.feature-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1.5rem;
  background: rgba(98, 103, 197, 0.18);
  border: 1px solid rgba(98, 103, 197, 0.28);
  color: var(--mauve);
  font-size: 2rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: var(--subtext);
  line-height: 1.8;
  font-size: 0.96rem;
}

.feature-card>*:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 540px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.price-card.featured {
  transform: translateY(-6px);
  border-color: rgba(198, 160, 246, 0.8);
  background: linear-gradient(180deg, rgba(198, 160, 246, 0.12), rgba(24, 25, 38, 0.95));
}

.price-card-head {
  display: grid;
  gap: 0.65rem;
}

.price-card-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-note {
  margin: 0;
  color: var(--subtext);
  line-height: 1.6;
}

.price {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--yellow);
  margin: 0;
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--subtext);
  font-size: 0.96rem;
}

.price-features li i {
  display: inline-flex;
  width: 1.25rem;
  justify-content: center;
  color: var(--mauve);
}

.price-details {
  display: grid;
  gap: 0.7rem;
  color: var(--subtext);
  font-size: 0.94rem;
}

.price-details span {
  display: inline-flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--mauve);
  color: var(--crust);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.06em;
}

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

.project-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 160, 246, 0.5);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.project-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card-media img {
  transform: scale(1.03);
}

.project-card-content {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem;
}

.project-card-content h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
}

.project-card-content span {
  color: var(--subtext);
  font-size: 0.95rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
  color: var(--text);
}

.testimonial-stars {
  display: flex;
  gap: 0.35rem;
}

.testimonial-stars i {
  color: #ffd166;
  font-size: 0.95rem;
}

.testimonial-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--subtext);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  color: var(--subtext);
  font-size: 0.95rem;
}

.footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--subtext);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.text-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle i {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav .nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav .header-actions {
  display: flex;
  align-items: center;
}

@media (max-width: 1000px) {
  .container {
    width: min(100%, calc(100% - 2rem));
  }

  .header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    margin-top: 0.75rem;
    border-radius: 0 0 1rem 1rem;
    background: rgba(28, 31, 48, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    border-radius: 30px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
    opacity: 1;
    max-height: 35rem;
    text-align: center;
  }

  .site-nav .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .site-nav .nav-links a {
    width: 100%;
    padding: 0.90rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 0.95rem;
    text-decoration: none;
  }

  .site-nav .header-actions {
    width: 100%;
  }

  .site-nav .header-actions .nav-btn {
    width: 100%;
  }

  .header-actions .nav-btn {
    padding: 0.9rem 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-grid,
  .feature-grid,
  .pricing-grid,
  .project-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel,
  .price-card,
  .project-card,
  .testimonial-card,
  .feature-card {
    min-height: auto;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section-heading,
  .footer-content {
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .pricing-table {
    width: 100%;
    min-width: auto;
  }

  .pricing-table-wrap {
    margin: 0;
    padding: 1rem 0;
  }

  .price-card.featured {
    transform: none;
  }

  .feature-grid,
  .pricing-grid,
  .project-grid,
  .testimonial-grid {
    gap: 1rem;
  }

  .header-row,
  .hero-grid,
  .feature-grid,
  .pricing-grid,
  .project-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-panel {
    margin-top: 1.25rem;
  }
}
