@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary:        #7A9E7E;
  --primary-dark:   #5f8563;
  --secondary:      #4F7C82;
  --secondary-dark: #3a5f65;
  --accent:         #D4A373;
  --bg:             #F4F1EA;
  --bg-white:       #FFFFFF;
  --text:           #2E3A3A;
  --text-light:     #5a6e6e;
  --border:         #e0dbd0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  background: var(--bg-white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

/* ── HERO ── */
.hero-section {
  background: linear-gradient(150deg, var(--bg) 0%, rgba(79,124,130,0.06) 100%);
  padding: 5rem 2rem 4rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text { flex: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(122,158,126,0.12);
  color: var(--primary-dark);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(122,158,126,0.25);
  letter-spacing: 0.01em;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-text h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.25rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── PHONE MOCKUP ── */
.hero-visual { flex-shrink: 0; }

.phone-mockup {
  width: 240px;
  background: white;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(46,58,58,0.13), 0 0 0 6px rgba(46,58,58,0.06);
  overflow: hidden;
}

.phone-header {
  background: #075e54;
  color: white;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-avatar {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.phone-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.phone-info span {
  font-size: 0.7rem;
  opacity: 0.8;
}

.phone-chat {
  padding: 10px;
  background: #ece5dd;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 190px;
}

.bubble {
  background: white;
  border-radius: 2px 10px 10px 10px;
  padding: 7px 10px;
  font-size: 0.78rem;
  max-width: 88%;
  color: var(--text);
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.bubble.sent {
  background: #dcf8c6;
  border-radius: 10px 2px 10px 10px;
  align-self: flex-end;
}

.bubble-time {
  font-size: 0.65rem;
  color: #888;
  text-align: right;
  margin-top: 2px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--text);
  padding: 0.875rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-accent:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }

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

.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

/* ── FEATURES ── */
.features { background: white; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(46,58,58,0.08);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  background: rgba(122,158,126,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step { text-align: center; }

.step-number {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 1.1rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.step p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--secondary);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.82;
  margin-bottom: 2.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 240px;
  margin-top: 0.6rem;
  line-height: 1.65;
}

.footer-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.footer-links h4 {
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-fiscal {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  line-height: 2;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-fiscal strong { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover { color: var(--accent); }

/* ── LEGAL PAGES ── */
.legal-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-nav a:first-child {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.legal-nav a:first-child:hover { color: var(--primary); }

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.legal-page h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.legal-date {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-highlight {
  background: rgba(79,124,130,0.07);
  border-left: 3px solid var(--secondary);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  margin-bottom: 2rem;
}

.legal-highlight p { margin: 0; font-size: 0.95rem; line-height: 1.7; }

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 2.5rem;
  margin-bottom: 0.7rem;
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p {
  color: var(--text-light);
  margin-bottom: 0.9rem;
  line-height: 1.75;
  font-size: 0.95rem;
}

.legal-page ul,
.legal-page ol {
  color: var(--text-light);
  margin: 0.4rem 0 1rem 1.4rem;
  line-height: 1.75;
  font-size: 0.95rem;
}

.legal-page li { margin-bottom: 0.3rem; }

.legal-page a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover { color: var(--secondary-dark); }

.legal-footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 1.5rem 2rem;
}

.legal-footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
}

.legal-footer .footer-legal-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-footer .footer-legal-links a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem; }
  .nav-links { display: none; }

  .hero-inner {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }

  .footer-top { flex-direction: column; }

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

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