:root {
  --bg: #eef1f7;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: #e6e9f2;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.1);
  --accent: #5b4cff; /* purple */
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 22px 48px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav a {
  font-weight: 600;
  font-size: 14px;
  color: #3b3f4a;
  opacity: 0.9;
  position: relative;
  padding: 8px 0;
}

.nav a:hover {
  opacity: 1;
}

.nav a.is-active {
  color: var(--text);
  opacity: 1;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(91, 76, 255, 0.55);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  color: #3b3f4a;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--accent);
  border-color: rgba(91, 76, 255, 0.35);
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 56px 56px 48px;
}

/* Views (pages) */
.view {
  display: none;
  animation: fadeUp 220ms ease-out;
}

.view.is-visible {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 26px;
}

.headline {
  margin: 0 0 18px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.accent-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.accent-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(91, 76, 255, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.accent {
  color: var(--accent);
  font-size: 28px;
}

.subtext {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.subtext strong {
  color: #111827;
  font-weight: 700;
}

.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
}

.cta input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  outline: none;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.cta input::placeholder {
  color: #9aa3b2;
}

.cta input:focus {
  border-color: rgba(91, 76, 255, 0.45);
  box-shadow: 0 10px 22px rgba(91, 76, 255, 0.1);
}

.cta button {
  height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(91, 76, 255, 0.45);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(91, 76, 255, 0.25);
}

.cta button:hover {
  filter: brightness(1.03);
}

/* Portrait */
.hero-right {
  display: flex;
  justify-content: flex-end;
}

.photo-wrap {
  position: relative;
  width: 420px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: #fafbff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.photo-wrap img {
  width: 78%;
  height: 78%;
  object-fit: cover;
  border-radius: 18px;
  filter: contrast(1.02);
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 20% 25%,
      rgba(91, 76, 255, 0.35) 0 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(148, 163, 184, 0.55) 0 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 83% 72%,
      rgba(148, 163, 184, 0.55) 0 3px,
      transparent 4px
    ),
    linear-gradient(
      115deg,
      transparent 0 48%,
      rgba(91, 76, 255, 0.75) 49% 51%,
      transparent 52%
    ),
    linear-gradient(
      25deg,
      transparent 0 48%,
      rgba(148, 163, 184, 0.75) 49% 51%,
      transparent 52%
    ),
    linear-gradient(
      165deg,
      transparent 0 48%,
      rgba(91, 76, 255, 0.75) 49% 51%,
      transparent 52%
    );
  background-size:
    220px 220px,
    260px 260px,
    300px 300px,
    180px 180px,
    240px 240px,
    280px 280px;
  background-position:
    0 0,
    40px 10px,
    -30px 50px,
    30px 30px,
    110px 90px,
    170px 20px;
  opacity: 0.55;
}

/* Inner pages */
.page-head h2 {
  margin: 0 0 8px;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.page-head p {
  margin: 0 0 28px;
  color: #64748b;
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.panel h3 {
  margin: 0 0 8px;
}
.panel p {
  margin: 0 0 12px;
  color: #475569;
  line-height: 1.6;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fbfcff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card,
.service-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.work-card h3,
.service-card h3 {
  margin: 0 0 8px;
}
.work-card p,
.service-card p {
  margin: 0 0 10px;
  color: #475569;
  line-height: 1.6;
}
.meta {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

/* Contact form */
.contact-form {
  max-width: 720px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #334155;
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(91, 76, 255, 0.45);
  box-shadow: 0 10px 22px rgba(91, 76, 255, 0.1);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.primary-btn {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(91, 76, 255, 0.45);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(91, 76, 255, 0.25);
}

.primary-btn:hover {
  filter: brightness(1.03);
}

/* Responsive */
@media (max-width: 980px) {
  .card {
    padding: 38px 28px;
  }
  .headline {
    font-size: 52px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-right {
    justify-content: center;
  }
  .photo-wrap {
    width: 520px;
  }
  .nav {
    gap: 26px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .headline {
    font-size: 42px;
  }
  .cta {
    flex-direction: column;
    align-items: stretch;
  }
  .cta button {
    width: 100%;
  }
  .row {
    grid-template-columns: 1fr;
  }
}
