/* =============================================
   SIMPLIFICANDO — Design System
   ============================================= */

:root {
  /* Colors */
  --teal:        #0f766e;
  --teal-dark:   #0d6660;
  --teal-light:  #ccfbf1;
  --teal-subtle: #f0fdf9;
  --amber:       #b45309;
  --amber-light: #fef3c7;
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #dbeafe;
  --blue-subtle: #eff6ff;

  /* Neutrals */
  --ink:         #0f172a;
  --ink-muted:   #475569;
  --ink-subtle:  #94a3b8;
  --border:      #e2e8f0;
  --border-soft: #f1f5f9;
  --surface:     #ffffff;
  --bg:          #f8fafc;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 20px 48px rgba(0,0,0,0.10), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.14);

  /* Radii */
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-pill: 999px;

  /* Spacing */
  --section-gap: 96px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }

a { color: inherit; }

/* =============================================
   LAYOUT
   ============================================= */

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
}

.logo svg {
  border-radius: 7px;
}

.header-nav {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}

.header-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

.header-nav a:hover { color: var(--ink); }

.header-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  color: var(--ink-muted);
}

.btn-header:hover { color: var(--ink); background: var(--border-soft); }

.btn-header--primary {
  background: var(--teal);
  color: #fff;
}

.btn-header--primary:hover {
  background: var(--teal-dark);
  color: #fff;
}

.btn-header.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  padding: 100px 0 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-blob--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(15,118,110,0.12) 0%, transparent 70%);
}

.hero-blob--2 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--teal-subtle);
  border: 1px solid var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  max-width: 580px;
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15,118,110,0.3), 0 4px 12px rgba(15,118,110,0.2);
  transition: background 0.15s, transform 0.12s var(--ease), box-shadow 0.15s;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15,118,110,0.35), 0 8px 20px rgba(15,118,110,0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.12s var(--ease);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--surface);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: background 0.15s, border-color 0.15s, transform 0.12s var(--ease);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-1px);
}

.btn-large {
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

.btn-primary.disabled,
.btn-secondary.disabled,
.btn-outline.disabled {
  opacity: 0.4;
  pointer-events: none;
  transform: none;
}

/* =============================================
   TRUST BAR
   ============================================= */

.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 32px;
  text-align: center;
}

.trust-item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.trust-item span {
  font-size: 12px;
  color: var(--ink-subtle);
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* =============================================
   SECTION COMMON
   ============================================= */

.section-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-desc {
  max-width: 520px;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* =============================================
   APPS SECTION
   ============================================= */

.apps {
  padding: var(--section-gap) 0;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.app-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.app-card-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
}

.app-icon--budget {
  background: var(--teal-light);
  color: var(--teal);
}

.app-icon--fitness {
  background: var(--blue-light);
  color: var(--blue);
}

.app-card-meta {
  flex: 1;
  min-width: 0;
}

.app-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-subtle);
  margin-bottom: 4px;
}

.app-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Status indicator */
.app-status {
  margin-left: auto;
  flex-shrink: 0;
}

.status-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
}

.status--online .status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

.app-desc {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Feature list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.4;
}

.check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* App button */
.btn-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.12s var(--ease), box-shadow 0.15s;
  margin-top: auto;
  width: 100%;
}

.btn-app:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-app--budget {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15,118,110,0.25);
}

.btn-app--fitness {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.btn-app.disabled {
  opacity: 0.35;
  pointer-events: none;
  transform: none;
}

/* =============================================
   HOW IT WORKS
   ============================================= */

.how {
  padding: var(--section-gap) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
  flex: 1;
  min-width: 200px;
}

.how-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.how-step h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.how-step p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.how-arrow {
  color: var(--ink-subtle);
  flex-shrink: 0;
}

/* =============================================
   BENEFITS
   ============================================= */

.benefits {
  padding: var(--section-gap) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
}

.benefit-icon--teal {
  background: var(--teal-light);
  color: var(--teal);
}

.benefit-icon--amber {
  background: var(--amber-light);
  color: var(--amber);
}

.benefit-icon--blue {
  background: var(--blue-light);
  color: var(--blue);
}

.benefit h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.benefit p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
  padding: 0 0 var(--section-gap);
}

.cta-box {
  background: linear-gradient(135deg, var(--teal) 0%, #0369a1 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-xl);
}

.cta-box h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.cta-box p {
  max-width: 440px;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo--footer {
  font-size: 15px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}

.footer-nav a:hover { color: var(--ink); }

.footer-nav a.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.footer-copy {
  color: var(--ink-subtle);
  font-size: 13px;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .hero { padding: 72px 0 60px; }

  .header-nav { display: none; }

  .header-ctas .btn-header:not(.btn-header--primary) { display: none; }

  .trust-inner {
    gap: 16px;
  }

  .trust-item { padding: 0 16px; }

  .trust-divider { display: none; }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .how-arrow { display: none; }

  .how-grid { flex-direction: column; align-items: flex-start; }

  .how-step { max-width: 100%; }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }

  h1 { font-size: 36px; }

  .hero-desc { font-size: 16px; }

  .app-card { padding: 24px; }

  .trust-inner { flex-direction: column; gap: 12px; }
}
