:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --ink: #0a0e17;
  --text: #1c2333;
  --text-muted: #5b6472;
  --border: #e5e9ef;
  --accent: #1d3fd6;
  --accent-dark: #14209e;
  --accent-bright: #4f5bff;
  --gold: #c8891f;
  --gold-light: #ffd97a;
  --gold-deep: #e2a530;
  --dark-bg: #0b1220;
  --dark-bg-alt: #131b2c;
  --radius: 12px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* Header / nav */
header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.logo-mark { flex-shrink: 0; display: block; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--accent); text-decoration: none; }
nav.main-nav a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }
  nav.main-nav li { border-top: 1px solid var(--border); }
  nav.main-nav a { display: block; padding: 12px 0; }
  .nav-wrap { flex-wrap: wrap; }
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* Hero */
.hero {
  position: relative;
  padding: 104px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background:
    radial-gradient(closest-side, rgba(29, 63, 214, 0.14), transparent),
    radial-gradient(closest-side at 70% 40%, rgba(255, 217, 122, 0.22), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.hero h1 .accent-word {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-bright) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-bright));
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 63, 214, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(29, 63, 214, 0.36);
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-light), var(--gold-deep));
  color: #2b1c02;
  box-shadow: 0 8px 20px rgba(226, 165, 48, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(226, 165, 48, 0.4);
  text-decoration: none;
}

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
section.dark {
  background: var(--dark-bg);
  color: #eef1f8;
}
section.dark .section-title { color: #fff; }
section.dark .section-lead { color: #a9b2c6; }
section.dark .card {
  background: var(--dark-bg-alt);
  border-color: #232e45;
}
section.dark .card p { color: #a9b2c6; }
section.dark .eyebrow { color: var(--gold-light); }
section.dark .eyebrow::before { background: var(--gold-light); }

h2.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0 0 12px;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}
.center { text-align: center; }

/* Cards / grids */
.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 14, 23, 0.08);
}
.card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--accent), var(--accent-bright));
  margin-bottom: 16px;
}
.card h3 { margin-top: 0; font-size: 1.15rem; color: var(--ink); }
.card p { color: var(--text-muted); margin-bottom: 0; }

/* Pricing */
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pricing-card:hover { transform: translateY(-3px); }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(29, 63, 214, 0.16);
  position: relative;
}
.pricing-card .tag {
  display: inline-block;
  background: linear-gradient(120deg, var(--gold-light), var(--gold-deep));
  color: #2b1c02;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pricing-card h3 { margin: 0 0 8px; font-size: 1.3rem; color: var(--ink); }
.price {
  font-size: 2.3rem;
  font-weight: 800;
  margin: 8px 0 24px;
  color: var(--ink);
}
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  flex-grow: 1;
}
.pricing-card li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.pricing-card li:first-child { border-top: none; }
.pricing-card li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Portfolio */
.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 14, 23, 0.08);
}
.portfolio-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.portfolio-body { padding: 22px; }
.portfolio-body h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--ink); }
.portfolio-body p { color: var(--text-muted); margin: 0; font-size: 0.92rem; }

.tier-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.demo-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.demo-dots { display: flex; gap: 6px; flex-shrink: 0; }
.demo-dot { width: 9px; height: 9px; border-radius: 50%; background: #d0d5dd; }
.demo-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.notice {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
  margin-top: 8px;
}

/* Contact */
.contact-block {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.contact-item {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 12px 0;
  color: var(--ink);
}
.contact-item:hover { color: var(--accent); text-decoration: none; }
.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 32px;
}
.contact-label:first-child { margin-top: 0; }

/* Footer */
footer.site-footer {
  background: var(--dark-bg);
  color: #8e97ab;
  padding: 36px 0;
  text-align: center;
  font-size: 0.9rem;
}
footer.site-footer a { color: #c3cad9; }

/* Steps (process) */
.steps {
  counter-reset: step;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.step { text-align: left; }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-bright));
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.step p { color: var(--text-muted); margin: 0; font-size: 0.92rem; }
