:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #0EA5E9;
  --brand-dark: #0284C7;
  --brand-light: #e0f2fe;
  --card: #ffffff;
  --line: #e2e8f0;
}

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

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

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.btn-ghost {
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 60px;
}

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

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.lead {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Sections */
.section {
  padding: 80px 0;
}

h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 48px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Portfolio Preview */
.portfolio-preview {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--brand-light) 100%);
  border-radius: 24px;
  padding: 64px;
  margin: 40px auto;
}

.preview-content h2 {
  margin-bottom: 16px;
}

.preview-content p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}

.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.preview-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

/* CTA */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: var(--brand);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
}

.cta-box h2 {
  color: white;
  margin-bottom: 12px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.cta-box .btn-primary {
  background: white;
  color: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-box .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-brand .brand {
  font-size: 1.25rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer small {
  color: var(--muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .actions {
    justify-content: center;
  }

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

  .portfolio-preview {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 32px;
  }

  .feature-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 32px;
  }
}

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

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  nav {
    gap: 16px;
  }

  nav a:not(.btn) {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .section {
    padding: 48px 0;
  }
}
