/* ============================================================
   LP Kiro Enterprise — Campanha AWS 3 meses
   Design system herdado das LPs Try>_ (Plus Jakarta Sans)
   ============================================================ */

:root {
  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --secondary: #38BDF8;
  --cta: #F97316;
  --cta-dark: #EA580C;
  --bg: #F0F9FF;
  --bg-dark: #0C1A2E;
  --bg-darker: #081423;
  --text: #0C4A6E;
  --text-muted: #475569;
  --text-light: #E2E8F0;
  --white: #ffffff;
  --border: #E2E8F0;
  --border-dark: rgba(255,255,255,0.12);
  --aws-orange: #FF9900;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(12,74,110,0.10);
  --shadow-lg: 0 20px 60px rgba(12,74,110,0.18);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a { text-decoration: none; color: inherit; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--cta); color: var(--white);
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
}
.btn-primary:hover { background: var(--cta-dark); box-shadow: 0 10px 30px rgba(249,115,22,0.4); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--text-muted);
  font-weight: 600; font-size: .95rem;
  padding: 14px 22px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--white);
  font-weight: 600; font-size: 1rem;
  padding: 16px 30px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.4); cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg-darker); color: var(--text-light);
  text-align: center; font-size: .82rem; font-weight: 600;
  letter-spacing: .02em; padding: 9px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.topbar-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cta); box-shadow: 0 0 0 0 rgba(249,115,22,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

/* ---------- Navbar ---------- */
.navbar {
  background: var(--bg-dark); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border-dark);
}
.nav-container {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 30px; }
.nav-cta {
  background: var(--cta); color: var(--white);
  font-weight: 700; font-size: .9rem;
  padding: 10px 20px; border-radius: var(--radius-sm);
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--cta-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: var(--white);
  padding: 70px 0 80px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero-brand {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.hero-brand-try { height: 40px; }
.hero-brand-x { color: var(--text-light); font-size: 1.4rem; font-weight: 300; opacity: .6; }
.hero-brand-aws { height: 40px; }

.hero-title {
  font-size: 2.6rem; font-weight: 800; line-height: 1.12;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.08rem; color: var(--text-light); opacity: .9;
  margin-bottom: 26px; max-width: 560px;
}
.hero-bullets { list-style: none; margin-bottom: 30px; }
.hero-bullets li {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem; font-weight: 500; color: var(--white);
  padding: 7px 0;
}
.hero-bullets .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(56,189,248,0.18); position: relative;
}
.hero-bullets .check::after {
  content: ""; position: absolute; left: 7px; top: 4px;
  width: 6px; height: 11px; border: solid var(--secondary);
  border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.hero-cta { margin-top: 4px; }

/* ---------- Form faseado ---------- */
.form-wrap { position: relative; z-index: 1; }
.form-card {
  background: var(--white); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 32px 30px 24px;
}
.form-header { margin-bottom: 22px; }
.form-header h2 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-header p { font-size: .92rem; color: var(--text-muted); }
.form-progress { display: flex; gap: 8px; margin-top: 18px; }
.form-progress .dot {
  flex: 1; height: 5px; border-radius: 3px; background: var(--border);
  transition: background .3s ease;
}
.form-progress .dot.active { background: var(--primary); }

.form-step { display: none; animation: fadeStep .3s ease; }
.form-step.active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: .9rem; font-weight: 600; color: var(--text);
  margin-bottom: 7px;
}
.field-hint { display: block; font-weight: 400; color: var(--text-muted); margin: -2px 0 10px; font-size: .82rem; }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.field input.invalid, .field select.invalid { border-color: #EF4444; }
.field small {
  display: block; margin-top: 7px; font-size: .8rem; color: var(--text-muted); line-height: 1.45;
}

/* radio cards */
.radio-cards { display: flex; flex-direction: column; gap: 10px; }
.radio-cards.radio-inline { flex-direction: row; }
.radio-cards.radio-inline .radio-card { flex: 1; }
.radio-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; font-size: .95rem; font-weight: 500; color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.radio-card:hover { border-color: var(--secondary); }
.radio-card input { accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.radio-card:has(input:checked) { border-color: var(--primary); background: rgba(14,165,233,0.06); }

/* checkbox */
.checkbox-row {
  display: flex !important; align-items: center; gap: 10px;
  margin-top: 14px; font-size: .9rem !important; font-weight: 500 !important;
  color: var(--text-muted) !important; cursor: pointer;
}
.checkbox-row input { accent-color: var(--primary); width: 18px; height: 18px; }

.form-nav { display: flex; gap: 12px; margin-top: 20px; }
.form-nav .btn-prev { flex: 0 0 auto; }
.form-nav .btn-next, .form-nav .btn-submit { flex: 1; }

/* success */
.form-success { display: none; text-align: center; padding: 10px 4px; }
.form-success.active { display: block; animation: fadeStep .4s ease; }
.success-check {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(14,165,233,0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.form-success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.form-success > p { font-size: .95rem; color: var(--text-muted); margin-bottom: 20px; }
.success-steps { list-style: none; text-align: left; margin-bottom: 22px; }
.success-steps li {
  font-size: .9rem; color: var(--text-muted); padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.success-steps li:last-child { border-bottom: none; }
.success-steps strong { color: var(--text); }
.form-success .btn-ghost { margin-top: 10px; }

/* help link, fixo */
.form-help {
  text-align: center; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .88rem; color: var(--text-muted);
}
.form-help a { color: var(--primary); font-weight: 600; margin-left: 6px; }
.form-help a:hover { text-decoration: underline; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary);
  background: rgba(14,165,233,0.1); padding: 6px 14px; border-radius: 30px;
  margin-bottom: 16px;
}
.section-title { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); margin-top: 14px; }

/* ---------- Proof cards ---------- */
.section-proof { padding: 80px 0; background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proof-number {
  font-size: 2.2rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.proof-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.proof-card p { font-size: .92rem; color: var(--text-muted); }

/* ---------- Features ---------- */
.section-features { padding: 80px 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--text-muted); }

/* ---------- Surfaces (IDE / CLI / Crew) ---------- */
.section-surfaces { padding: 80px 0; background: var(--white); }
.surfaces-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.surface-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.surface-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.surface-card-featured {
  position: relative;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}
.surface-fav {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  color: var(--white); background: var(--cta);
  padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}
.surface-badge {
  display: inline-block; align-self: flex-start;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: var(--white); background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.surface-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.surface-card > p { font-size: .92rem; color: var(--text-muted); margin-bottom: 16px; }
.surface-list { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--border); padding-top: 14px; }
.surface-list li { font-size: .86rem; color: var(--text-muted); position: relative; padding-left: 20px; margin-bottom: 8px; }
.surface-list li:last-child { margin-bottom: 0; }
.surface-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--primary);
}

/* ---------- Program ---------- */
.section-program { padding: 80px 0; background: var(--white); }
.program-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.program-text .section-title { margin-bottom: 18px; }
.program-text p { font-size: 1rem; color: var(--text-muted); margin-bottom: 14px; }
.program-audience { color: var(--text) !important; }
.program-seal { grid-column: 1 / -1; margin-bottom: 8px; }
.program-seal img { display: inline-block; height: 100px; width: auto; }
.program-steps { display: flex; flex-direction: column; gap: 30px; }
.program-step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px;
}
.program-step .step-number {
  flex-shrink: 0; font-size: 1.1rem; font-weight: 800; color: var(--white);
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
}
.program-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.program-step p { font-size: .92rem; color: var(--text-muted); }

/* ---------- Partners ---------- */
.section-partners { padding: 70px 0; background: var(--bg-dark); color: var(--white); text-align: center; }
.section-partners .section-tag { background: rgba(56,189,248,0.14); color: var(--secondary); }
.section-partners .section-title { color: var(--white); margin-bottom: 36px; }
.partners-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px;
}
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  min-height: 70px; padding: 16px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark);
}
.partner-logo-white { background: var(--white); }

/* ---------- CTA final ---------- */
.section-cta-final {
  padding: 90px 0; text-align: center;
  background: linear-gradient(160deg, var(--bg-darker), var(--bg-dark));
  color: var(--white);
}
.cta-final-inner { max-width: 720px; margin: 0 auto; }
.section-cta-final h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-cta-final > .container > .cta-final-inner > p { font-size: 1.08rem; color: var(--text-light); opacity: .9; margin-bottom: 10px; }
.cta-scarcity {
  font-size: .9rem !important; color: var(--text-light) !important; opacity: .7 !important;
  max-width: 560px; margin: 0 auto 28px !important;
}
.cta-final-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-darker); color: var(--text-light); padding: 48px 0 28px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--border-dark);
}
.footer-brand { max-width: 360px; }
.footer-brand img { margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; opacity: .75; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; opacity: .85; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; color: var(--secondary); }
.footer-bottom { padding-top: 22px; font-size: .82rem; opacity: .6; text-align: center; }

/* ---------- Scroll reveal ---------- */
.proof-card, .feature-card, .program-step { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.proof-card.revealed, .feature-card.revealed, .program-step.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 2.1rem; }
  .program-inner { grid-template-columns: 1fr; gap: 36px; }
  .proof-grid, .features-grid, .surfaces-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 56px; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.6rem; }
  .proof-grid, .features-grid, .surfaces-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px 20px; }
  .radio-cards.radio-inline { flex-direction: column; }
  .cta-final-actions { flex-direction: column; }
  .cta-final-actions .btn-primary, .cta-final-actions .btn-outline-light { width: 100%; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .proof-card, .feature-card, .program-step { opacity: 1; transform: none; }
}
