:root {
  --bg: #0f0f14;
  --bg-2: #17171e;
  --bg-card: #1e1e27;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --text: #e8e6e1;
  --text-dim: #8a8a99;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(15,15,20,0.85);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-cta {
  background: var(--accent);
  color: #0f0f14;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }

/* HERO */
.hero {
  padding: 80px 24px 100px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-accent {
  color: var(--accent);
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 420px;
}

/* CONVERTER MOCK */
.hero-visual { display: flex; align-items: center; }
.converter-mock {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.mock-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.mock-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
  font-family: var(--font-body);
  margin-bottom: 16px;
  white-space: pre-wrap;
}
.mock-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.mock-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid;
  cursor: default;
}
.mock-btn-md { background: var(--accent-dim); color: var(--accent); border-color: rgba(245,158,11,0.3); }
.mock-btn-html { background: rgba(99,179,237,0.1); color: #63b3ed; border-color: rgba(99,179,237,0.25); }
.mock-btn-li { background: rgba(96,165,250,0.1); color: #93c5fd; border-color: rgba(96,165,250,0.25); }
.mock-output-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.mock-output {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-family: 'Courier New', monospace;
}

/* CONVERTER DEMO */
.converter-demo {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.converter-inner { max-width: 1100px; margin: 0 auto; }
.converter-header { text-align: center; margin-bottom: 60px; }
.converter-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 12px;
}
.converter-sub { font-size: 1rem; color: var(--text-dim); }
.converter-flow {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  justify-content: center;
}
.flow-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
}
.flow-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
}
.flow-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.flow-step p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 18px;
  color: var(--text-dim);
  opacity: 0.5;
}

/* FEATURES */
.features { padding: 80px 24px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 48px;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.55; }

/* PRICING */
.pricing { padding: 80px 24px; }
.pricing-inner { max-width: 900px; margin: 0 auto; }
.pricing-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 48px;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}
.pricing-card-pro {
  border-color: rgba(245,158,11,0.35);
  background: linear-gradient(160deg, rgba(245,158,11,0.06) 0%, var(--bg-card) 100%);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0f0f14;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.pricing-period { font-size: 1rem; font-weight: 400; color: var(--text-dim); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.pricing-cta {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-body);
}
.pricing-cta-pro {
  background: var(--accent);
  color: #0f0f14;
  font-weight: 600;
  border-color: var(--accent);
}
.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* CLOSING */
.closing {
  padding: 80px 24px 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #0c0c12 100%);
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.footer-copy { font-size: 0.82rem; color: var(--text-dim); }

/* MOBILE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .converter-flow { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); padding: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 50px 16px 70px; }
  .pricing-card { padding: 24px; }
  .feature-card { padding: 20px; }
}