:root {
  --ink: #14141f;
  --ink-light: #2c2c40;
  --accent: #5b5bf0;
  --accent-light: #8686ff;
  --bg: #f6f6fb;
  --text: #1c1c28;
  --max-width: 1100px;
  --brand-gradient: linear-gradient(120deg, #6b4bf0 0%, #3b82f6 30%, #22c55e 55%, #eab308 78%, #f97316 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 0;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Scroll reveal (progressive enhancement, only active once JS adds .reveal) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */
header {
  background: rgba(20, 20, 31, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: white;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: block;
}

.logo span {
  color: var(--accent-light);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  opacity: 0.8;
  padding: 8px 14px;
  border-radius: 20px;
  transition: opacity 0.15s, background 0.15s;
}

nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  background: var(--brand-gradient);
  color: white !important;
  padding: 8px 18px;
  border-radius: 24px;
  font-weight: bold !important;
  opacity: 1 !important;
}

.nav-cta:hover {
  background: var(--brand-gradient);
  filter: brightness(1.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  text-align: center;
  padding: 130px 20px 100px;
  background: radial-gradient(circle at 30% 20%, #e4e4ff 0%, var(--bg) 60%);
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  background: white;
  border: 1px solid #e2e2f5;
  box-shadow: 0 4px 14px rgba(20, 20, 31, 0.06);
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.hero h1 {
  font-size: 3rem;
  max-width: 760px;
  margin: 0 auto 18px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto 30px;
  color: var(--ink-light);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--brand-gradient);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(91, 91, 240, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(91, 91, 240, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 2px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: white;
  filter: none;
  box-shadow: none;
}

/* Sections */
section {
  padding: 88px 0;
}

.section-alt {
  background: white;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-header p {
  color: var(--ink-light);
}

/* Services */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card {
  background: white;
  padding: 32px 26px;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(20, 20, 31, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(20, 20, 31, 0.12);
}

.card .icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(107, 75, 240, 0.12), rgba(249, 115, 22, 0.12));
}

/* Pricing */
.price-card {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.price-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 6px 0 10px;
}

.price-card .check-list {
  flex-grow: 1;
  margin: 16px 0 20px;
}

.price-card .btn {
  align-self: flex-start;
}

/* Work / portfolio */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.work-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(20, 20, 31, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(20, 20, 31, 0.14);
}

.work-thumb-frame {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: white;
}

.work-thumb-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 400%;
  border: 0;
  transform: scale(0.25);
  transform-origin: 0 0;
  pointer-events: none;
}

.brand-panel {
  height: 280px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #e4e4ff 0%, #f6f6fb 70%);
}

.brand-mark {
  width: 120px;
  height: 120px;
}

.work-body {
  padding: 22px 24px;
}

.work-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}

.work-body .link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.work-body .link:hover {
  text-decoration: underline;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.check-list li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Contact */
.contact-section {
  background: var(--ink);
  color: white;
}

.contact-section h2 {
  color: white;
}

.contact-section .section-header p {
  color: #c7c7db;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 26px;
  border-radius: 18px;
  max-width: 560px;
  margin: 0 auto;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
textarea {
  padding: 12px;
  border: 1px solid #43435c;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: white;
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-status {
  font-weight: 600;
  min-height: 1.4em;
  color: white;
}

.form-status.success {
  color: var(--accent-light);
}

.form-status.error {
  color: #ff9a8d;
}

/* Footer */
footer {
  background: #0d0d15;
  color: white;
  padding: 40px 0 24px;
  text-align: center;
}

footer .fine-print {
  margin-top: 20px;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .grid-3,
  .grid-4,
  .work-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
  }

  nav ul li {
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    margin-top: 6px;
    display: inline-block;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .hero {
    padding: 70px 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
