/* ===== Guarda — styles ===== */

:root {
  --bg: #0a0c12;
  --bg-alt: #0e1119;
  --surface: #131722;
  --surface-2: #181d2b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef1f7;
  --text-dim: #9aa3b5;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --gradient: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --radius: 16px;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

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;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(124, 92, 255, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }

.btn-small { padding: 9px 18px; font-size: 0.9rem; background: rgba(255,255,255,0.06); border: 1px solid var(--border); }
.btn-small:hover { background: rgba(255,255,255,0.1); }

.btn-block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 12, 18, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--gradient);
  display: inline-block;
}

.nav { display: flex; gap: 30px; }
.nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 170px 0 110px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.25), rgba(34, 211, 238, 0.08), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.hero-copy .lead {
  color: var(--text-dim);
  font-size: 1.12rem;
  margin: 22px 0 32px;
  max-width: 480px;
}

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

.hero-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* App mockup */
.hero-mockup { position: relative; }

.window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.window-title {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.window-body { display: flex; min-height: 340px; }

.mock-sidebar {
  width: 84px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--border);
}

.mock-thumb {
  height: 44px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.mock-thumb.active { border-color: var(--accent); background: rgba(124, 92, 255, 0.15); }

.mock-canvas {
  flex: 1;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  font-weight: 600;
}

.mock-h1 {
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(90deg, #e6e9f2, #c3c9da);
  width: 80%;
}
.mock-h1.short { width: 55%; }

.mock-p {
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  width: 90%;
  margin-top: 6px;
}
.mock-p.short { width: 65%; }

.mock-chart {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 110px;
  padding-top: 16px;
}
.mock-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: var(--gradient);
  opacity: 0.9;
}

.floating-card {
  position: absolute;
  background: rgba(24, 29, 43, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  animation: float 5s ease-in-out infinite;
}

.card-templates { top: 8%; right: -24px; }
.card-templates strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card-templates span { font-size: 0.8rem; color: var(--text-dim); }

.card-fonts {
  bottom: 6%; left: -30px;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  animation-delay: 2.5s;
}
.card-fonts .aa {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card-fonts span:last-child { font-size: 0.85rem; color: var(--text-dim); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Trust strip ===== */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }

.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.strip-item { text-align: center; }
.strip-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.strip-item span { font-size: 0.88rem; color: var(--text-dim); }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--text-dim); margin-top: 14px; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 20px 45px rgba(124, 92, 255, 0.12);
}

.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-2);
  margin-bottom: 18px;
  font-weight: 600;
}

.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 0.94rem; }

.feature-icon svg { width: 22px; height: 22px; }

/* ===== Templates ===== */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tpl {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tpl:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); }

.tpl-slide {
  aspect-ratio: 16 / 10;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.tpl-kicker { font-size: 0.6rem; letter-spacing: 0.22em; font-weight: 600; opacity: 0.85; }
.tpl-line { height: 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.85); }
.tpl-line.w70 { width: 70%; }
.tpl-line.w45 { width: 45%; opacity: 0.7; }

.tpl-1 .tpl-slide { background: linear-gradient(135deg, #6d28d9, #db2777); }
.tpl-2 .tpl-slide { background: linear-gradient(135deg, #0f766e, #22d3ee); }
.tpl-3 .tpl-slide { background: linear-gradient(135deg, #b45309, #f59e0b); }
.tpl-4 .tpl-slide { background: linear-gradient(135deg, #1d4ed8, #7c5cff); }
.tpl-5 .tpl-slide { background: linear-gradient(135deg, #334155, #94a3b8); }
.tpl-6 .tpl-slide { background: linear-gradient(135deg, #111827, #4b5563); }

.tpl h3 { padding: 18px 22px 2px; }
.tpl p { padding: 0 22px 20px; color: var(--text-dim); font-size: 0.9rem; }

/* ===== Pricing ===== */
.pricing-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 22px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(124, 92, 255, 0.12);
}
.pricing-card .btn-block { grid-column: 1 / -1; }

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--accent-2);
  margin-bottom: 18px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1;
}
.pricing-amount .currency {
  font-size: 2rem;
  vertical-align: super;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-sub { margin-top: 14px; color: var(--text-dim); font-size: 0.9rem; }

.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pricing-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-dim);
  font-size: 0.95rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2322d3ee" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') no-repeat left center / 16px 16px;
}

/* ===== Lead form ===== */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.form-copy p { color: var(--text-dim); margin-top: 16px; }

.steps {
  list-style: none;
  margin: 30px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.steps li { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 0.98rem; }
.steps li span {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.4);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.privacy-note { font-size: 0.85rem; }
.privacy-note a { color: var(--accent-2); text-decoration: underline; }

.lead-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2);
}
.field input::placeholder { color: #5a6378; }
.field input.invalid { border-color: #ef4444; }

.field small { display: block; margin-top: 7px; color: var(--text-dim); font-size: 0.8rem; }

.form-status { font-size: 0.92rem; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #f87171; }

#submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 760px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent-2);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.95rem; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 40px;
}

.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; max-width: 260px; }

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.94rem;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ===== Legal pages ===== */
.legal { padding: 140px 0 90px; max-width: 760px; }
.legal h1 { margin-bottom: 10px; }
.legal .updated { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-dim); font-size: 0.97rem; }
.legal ul { padding-left: 22px; margin-top: 10px; }
.legal a { color: var(--accent-2); text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .features-grid, .templates-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card { grid-template-columns: 1fr; padding: 36px 30px; }
  .form-wrap { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 130px 0 80px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .templates-grid { grid-template-columns: 1fr; }
  .floating-card { display: none; }
  .window { transform: none; }
  .section { padding: 70px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
