:root {
  color-scheme: dark;
  --bg: #09131b;
  --surface: #101f27;
  --surface-soft: #13232f;
  --text: #ebf2f5;
  --muted: #9db0ba;
  --primary: #1dd6c1;
  --accent: #ff9b6b;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 26px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button,
select,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 19, 27, 0.95);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__main {
  color: var(--primary);
}

.brand__accent {
  color: var(--accent);
}

.nav-links {
  display: none;
  gap: 1.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.btn--primary {
  background: var(--primary);
  color: #061115;
}

.btn--primary:hover {
  background: #18b6a8;
}

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

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--full {
  width: 100%;
}

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

.hero__grid {
  display: grid;
  gap: 2.5rem;
}

.hero__content {
  max-width: 54rem;
}

.eyebrow,
.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-header__eyebrow--accent {
  color: var(--accent);
}

.hero h1,
.section-header h2 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero p,
.section-header p,
.card p,
.step-card p,
.contact-panel p,
.panel-card__description {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__stats {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #f9fcfe;
}

.stat-card span {
  margin-top: 0.35rem;
  display: block;
  color: var(--muted);
}

.hero__panel {
  justify-self: end;
}

.panel-card {
  width: min(100%, 24rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
}

.panel-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(29, 214, 193, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.panel-card__header p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #edf6f7;
}

.panel-card__title {
  margin-top: 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f7fbfc;
}

.panel-card__description {
  margin-top: 0.65rem;
}

.panel-card__bars {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.bar {
  width: 100%;
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--primary);
}

.bar--sm {
  width: 70%;
}

.panel-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.panel-card__badges span {
  background: rgba(255, 255, 255, 0.06);
  color: #d3e2e7;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
}

.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: #0b161f;
}

.section-header {
  max-width: 42rem;
}

.section-header h2 {
  font-size: clamp(2.4rem, 3vw, 3rem);
}

.section-header p {
  margin-top: 1rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.cards--services {
  grid-template-columns: 1fr;
}

.cards--portfolio {
  grid-template-columns: 1fr;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.filter-btn {
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(29, 214, 193, 0.1);
}

.projects-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.project-media {
  position: relative;
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 31, 39, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.project-card:hover .project-img-overlay {
  opacity: 1;
}

.project-img-overlay--warm {
  background: rgba(237, 136, 90, 0.75);
}

.project-content {
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.project-media .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(29, 214, 193, 0.84);
  border-color: rgba(29, 214, 193, 0.9);
  color: #fff;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d3e2e7;
  font-size: 0.82rem;
}

.tag--orange {
  background: rgba(237, 136, 90, 0.14);
  color: var(--accent);
  border-color: rgba(237, 136, 90, 0.25);
}

.project-content h3 {
  font-size: 1.35rem;
  margin: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.no-results {
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.portfolio-footer {
  margin-top: 2rem;
}

.glass-warm {
  background: rgba(237, 136, 90, 0.12);
}

.shadow-glow {
  box-shadow: 0 0 0 1px rgba(29,214,193,0.10), 0 10px 40px rgba(29,214,193,0.10);
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
}

.portfolio-card__label {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.portfolio-card h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.portfolio-card p {
  margin-top: 0.85rem;
  color: var(--muted);
}

.portfolio-footer {
  margin-top: 2rem;
}

.theme-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.theme-tab {
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.theme-tab:hover,
.theme-tab.active {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(29, 214, 193, 0.1);
}

.theme-inside {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.theme-preview {
  display: grid;
  gap: 1rem;
}

.theme-viewer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 1.5rem;
  min-height: 500px;
  display: grid;
  gap: 1rem;
}

.theme-viewer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.theme-viewer__header h3 {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
}

.theme-viewer iframe {
  width: 100%;
  min-height: 360px;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #081116;
}

.theme-viewer__note {
  color: var(--muted);
  font-size: 0.95rem;
}

.theme-card {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
  gap: 1rem;
}

.theme-card:not(.theme-card--active) {
  opacity: 0.65;
}

.theme-card--active {
  opacity: 1;
}

.theme-card__label {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(29, 214, 193, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.theme-card h3 {
  margin-top: 1rem;
  font-size: 1.7rem;
}

.theme-card p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 55rem;
}

.theme-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}

.theme-card__meta span {
  color: var(--muted);
  font-size: 0.95rem;
}

.theme-card--3d {
  background: linear-gradient(180deg, rgba(29, 214, 193, 0.06), var(--surface));
}

.theme-card--particles {
  background: linear-gradient(180deg, rgba(255, 155, 107, 0.08), var(--surface));
}

.theme-card--vaporwave {
  background: linear-gradient(180deg, rgba(255, 107, 233, 0.08), var(--surface));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 2rem;
}

.card__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(29, 214, 193, 0.12);
  color: var(--primary);
  font-size: 1.4rem;
}

.card h3 {
  margin-top: 1.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.cards--pricing {
  grid-template-columns: 1fr;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
}

.price-card--highlight {
  border-color: rgba(255, 155, 107, 0.24);
}

.price-card__label {
  display: inline-flex;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 155, 107, 0.14);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
}

.price-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.price-card ul {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.price-card li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  line-height: 1.2;
}

.pricing-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards--process {
  grid-template-columns: 1fr;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 2rem;
}

.step-card__number {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 700;
}

.step-card h3 {
  margin-top: 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.step-card p {
  margin-top: 1rem;
}

.section--highlight {
  background: rgba(29, 214, 193, 0.06);
}

.highlight-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-panel,
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
}

.contact-panel h2,
.contact-form-card h3 {
  margin-top: 1rem;
  font-size: 2rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 1.25rem 1.35rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-card strong {
  display: block;
  margin-top: 0.65rem;
  font-size: 1.1rem;
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: #0d1b24;
  color: var(--text);
  padding: 1rem 1.2rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #11222d;
}

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

.form-feedback {
  min-height: 2.4rem;
  font-size: 0.95rem;
  color: var(--text);
}

.form-feedback--success {
  color: var(--primary);
}

.form-feedback--error {
  color: var(--accent);
}

.footer {
  padding: 2rem 0 3rem;
}

.footer__inner {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.9fr);
    align-items: center;
  }

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

  .cards--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .highlight-block {
    padding: 2.5rem;
  }

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

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

@media (max-width: 720px) {
  .hero h1,
  .section-header h2 {
    font-size: 2.4rem;
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }
}
