/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --emerald: #059669;
  --emerald-dark: #047857;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --bg: #FAFAF8;
  --bg-warm: #F5F5F0;
  --dark: #0F172A;
  --slate: #334155;
  --slate-light: #64748B;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
  text-decoration: none;
}

.nav-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
  background: #D1FAE5;
  padding: 4px 10px;
  border-radius: 20px;
}

/* === SECTION TAGS === */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald);
  margin-bottom: 16px;
}

.section-tag-light { color: #6EE7B7; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--emerald-dark); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--slate-light);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* === HERO === */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #CBD5E1;
  margin-bottom: 28px;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.pill {
  font-size: 12px;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 6px;
}

.pill-sep { color: #475569; font-size: 14px; }

.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta .btn-ghost { color: #94A3B8; padding: 12px 16px; }
.hero-cta .btn-ghost:hover { color: var(--white); }

/* === HERO VISUAL === */
.hero-visual {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.platform-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  background: #0F172A;
  padding: 4px;
  border-radius: 10px;
}

.ptab {
  flex: 1;
  padding: 7px 8px;
  background: none;
  border: none;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s;
}

.ptab-active { background: #1E293B; color: var(--white); }
.ptab:hover:not(.ptab-active) { color: #CBD5E1; }

.output-window {
  background: var(--dark);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.output-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  margin-bottom: 12px;
}

.output-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #059669;
  margin-bottom: 4px;
}

.output-copy { margin-bottom: 12px; }

.output-text {
  font-size: 13px;
  line-height: 1.5;
  color: #E2E8F0;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}

.output-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #94A3B8;
}

.output-tags {
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: #64748B;
}

.output-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.meta-char {
  font-size: 11px;
  color: #475569;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}

.meta-ok { color: #10B981; font-size: 11px; font-weight: 600; }

/* === DEMO SECTION === */
.demo-section {
  padding: 100px 24px;
  background: var(--white);
}

.demo-header {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.demo-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.demo-sub { font-size: 16px; color: var(--slate-light); }

.demo-grid {
  max-width: 1000px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.demo-step {
  padding: 32px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: #E2E8F0;
  line-height: 1;
  margin-bottom: 20px;
}

.step-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-body p { font-size: 14px; color: var(--slate-light); line-height: 1.6; }

.demo-comparison {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.compare-col { }

.compare-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-light);
  margin-bottom: 10px;
}

.compare-label-green { color: var(--emerald); }

.compare-text {
  font-size: 14px;
  color: var(--slate);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

.compare-text-green {
  color: var(--dark);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.compare-sub {
  font-size: 11px;
  color: var(--slate-light);
  margin-top: 8px;
}

.compare-arrow { display: flex; align-items: center; justify-content: center; }

/* === PLATFORMS SECTION === */
.platforms-section {
  padding: 100px 24px;
  background: var(--bg-warm);
}

.platforms-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: center;
}

.platforms-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.platform-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.platform-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.platform-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.platform-limits { margin-bottom: 16px; }

.limit-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  gap: 8px;
}

.limit-row:last-child { border-bottom: none; }

.limit-label {
  font-size: 11px;
  color: var(--slate-light);
  font-weight: 500;
  flex-shrink: 0;
}

.limit-val {
  font-size: 11px;
  color: var(--slate);
  font-weight: 600;
  text-align: right;
}

.platform-note {
  font-size: 11px;
  color: var(--slate-light);
  line-height: 1.5;
  font-style: italic;
}

/* === MARKET SECTION === */
.market-section {
  background: var(--dark);
  color: var(--white);
  padding: 100px 24px;
}

.market-inner { max-width: 1100px; margin: 0 auto; }

.market-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 700px;
}

.market-body {
  font-size: 17px;
  line-height: 1.7;
  color: #94A3B8;
  max-width: 640px;
  margin-bottom: 64px;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat-item { }

.stat-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-desc { font-size: 14px; color: #64748B; line-height: 1.5; }

.stat-divider { border-right: 1px solid rgba(255,255,255,0.08); }

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

.comp-item { }

.comp-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 8px;
}

.comp-status {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.comp-missing { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.comp-has { background: rgba(5,150,105,0.15); color: #6EE7B7; }

/* === PRICING === */
.pricing-section {
  padding: 100px 24px;
  background: var(--white);
}

.pricing-header {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.pricing-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pricing-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pricing-card {
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--border);
  position: relative;
}

.pricing-free { background: var(--bg); }
.pricing-pro { background: var(--dark); color: var(--white); }

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.pc-header { margin-bottom: 28px; }

.pc-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: 12px;
}

.pricing-pro .pc-name { color: #6EE7B7; }

.pc-price {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.pc-period { font-size: 18px; font-weight: 500; opacity: 0.6; }

.pc-desc { font-size: 14px; color: var(--slate-light); }
.pricing-pro .pc-desc { color: #94A3B8; }

.pc-features { list-style: none; }

.pc-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--slate);
}

.pc-feat:last-child { border-bottom: none; }

.pricing-pro .pc-feat { border-bottom-color: rgba(255,255,255,0.06); color: #CBD5E1; }

.pc-feat::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--emerald);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.pricing-note {
  text-align: center;
  max-width: 500px;
  margin: 32px auto 0;
  font-size: 13px;
  color: var(--slate-light);
}

/* === CLOSING === */
.closing-section {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10B981 100%);
  padding: 100px 24px;
  text-align: center;
}

.closing-inner { max-width: 640px; margin: 0 auto; }

.closing-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.closing-body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
}

.btn-closing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--emerald-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-closing:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .competitor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-comparison { grid-template-columns: 1fr; gap: 16px; }
  .compare-arrow { transform: rotate(90deg); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .market-stats { grid-template-columns: 1fr; gap: 24px; }
  .stat-divider { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .competitor-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 20px 80px; }
  .platform-grid { grid-template-columns: 1fr; }
  .competitor-grid { grid-template-columns: 1fr; }
}