
:root {
  --bg: #070d18;
  --bg-2: #0d1728;
  --bg-3: #101d2d;
  --surface: rgba(15, 23, 42, 0.8);
  --surface-strong: rgba(12, 19, 32, 0.94);
  --panel: rgba(17, 25, 38, 0.82);
  --card: rgba(13, 20, 32, 0.88);
  --muted: #a7b7ce;
  --text: #edf5ff;
  --line: rgba(148, 163, 184, 0.14);
  --brand: #8b5cf6;
  --brand-2: #4f8cff;
  --brand-3: #2dd4bf;
  --brand-4: #f59e0b;
  --shadow: 0 28px 70px rgba(4, 8, 15, 0.5);
  --radius: 22px;
  --max-width: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1000px 600px at 10% 0%, rgba(139, 92, 246, 0.22), transparent 50%),
    radial-gradient(900px 500px at 100% 100%, rgba(79, 140, 255, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 13, 24, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1rem;
}

.logo svg {
  width: 28px;
  height: 28px;
  color: var(--brand);
  flex-shrink: 0;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-currency-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(148, 163, 184, 0.12);
}

.nav-currency-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-currency-select {
  min-width: 128px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  padding: 0.56rem 0.9rem;
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.site-nav a {
  color: rgba(237, 245, 255, 0.8);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.02);
  transition: all 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.12);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.55rem 0.45rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  display: block;
  position: relative;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.nav-toggle .hamburger::before { top: -7px; }
.nav-toggle .hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }

main {
  display: block;
}

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

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: #d7c8ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-stat {
  min-width: 130px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.05em;
  color: var(--text);
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.06em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.lead {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn:not(.btn-ghost) {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 18px 35px rgba(79, 140, 255, 0.28);
}

.btn-ghost {
  background: rgba(255,255,255,0.02);
  border-color: rgba(148, 163, 184, 0.16);
  color: var(--text);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.large-square {
  width: min(100%, 430px);
  height: 290px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(79, 140, 255, 0.18), rgba(45, 212, 191, 0.12));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.large-square::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.24), transparent 20%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(79, 140, 255, 0.08), rgba(45, 212, 191, 0.10));
}

.large-square lottie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

section {
  padding: 4rem 0;
}

.section-title {
  margin-bottom: 0.6rem;
}

.section-sub {
  max-width: 42rem;
  margin: 0 0 2rem;
  color: var(--muted);
}

.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;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

.card,
.project-card,
.about-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(9, 16, 27, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 20px 40px rgba(2, 6, 23, 0.18);
}

.card {
  padding: 1.55rem;
}

.card h3 {
  margin-bottom: 0.7rem;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(79, 140, 255, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.18);
  color: #d9c9ff;
}

.project-card {
  display: block;
  padding: 0.8rem;
  color: var(--text);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(148,163,184,0.22);
  box-shadow: 0 28px 60px rgba(5, 10, 20, 0.34);
}

.project-card .thumb {
  height: 150px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-card .thumb-portfolio {
  background-image: linear-gradient(135deg, rgba(14, 22, 46, 0.15), rgba(14, 22, 46, 0.1)),
    url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80');
}

.project-card .thumb-business {
  background-image: linear-gradient(135deg, rgba(14, 22, 46, 0.18), rgba(14, 22, 46, 0.08)),
    url('https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=1200&q=80');
}

.project-card .thumb-ecommerce {
  background-image: linear-gradient(135deg, rgba(14, 22, 46, 0.22), rgba(14, 22, 46, 0.08)),
    url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1200&q=80');
}

.project-card h4 {
  margin-bottom: 0.25rem;
}

.project-card p,
.card p,
.muted {
  color: var(--muted);
}

.accordion {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.accordion-item {
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 0;
  background: rgba(15, 23, 42, 0.5);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.accordion-button:hover,
.accordion-button:focus-visible {
  background: rgba(79, 140, 255, 0.08);
}

.accordion-button:focus-visible {
  outline: 2px solid rgba(79, 140, 255, 0.7);
  outline-offset: -2px;
}

.accordion-button::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  color: var(--brand-3);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.accordion-button[aria-expanded="true"]::after {
  content: "−";
  transform: rotate(180deg);
}

.accordion-panel {
  padding: 0 1.2rem 1.1rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.accordion-panel p {
  margin: 0;
  padding-top: 0.95rem;
  color: var(--muted);
}

.testimonial {
  padding-bottom: 5rem;
}

.contact-hero {
  padding: 3.5rem 0 1.5rem;
}

.contact-hero .grid {
  align-items: center;
}

.contact-info {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.contact-info strong {
  color: var(--text);
}

.contact-info a {
  color: #d9ccff;
}

.contact-form {
  background: rgba(10, 18, 32, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.32);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(154, 168, 184, 0.7);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
  background: rgba(15, 23, 42, 0.9);
}

.contact-form select {
  color: var(--text);
}

.contact-form textarea {
  grid-column: 1 / -1;
  min-height: 180px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-actions small {
  color: var(--muted);
}

.form-actions a {
  color: #d9ccff;
}

.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;
}

blockquote {
  margin: 0;
  padding: 0;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 1.5rem 0 2.5rem;
  background: rgba(4, 11, 21, 0.45);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1), transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-105%) scaleY(1.08);
  transform-origin: top center;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.96), rgba(79, 140, 255, 0.92) 48%, rgba(30, 41, 59, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
}

.page-transition::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 40%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 520ms ease;
}

.page-transition.show {
  opacity: 1;
  transform: translateY(0) scaleY(1);
}

.page-transition.show::before {
  transform: translateX(100%);
}

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

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

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

  .site-nav {
    position: fixed;
    inset: 68px 1rem auto 1rem;
    background: rgba(7, 17, 29, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    padding: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    text-align: center;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .project-card,
  .page-transition {
    transition: none;
  }
}

