/*
Theme Name: HabitApp Landing Page
Author: HabitApp
Description: Tema minimalista y a medida para el lanzamiento de HabitApp.
Version: 1.0
*/

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

:root {
    --blue: #0592EC;
    --blue-dark: #047ACB;
    --navy: #173A5E;
    --amber: #F2A93B;
    --amber-bg: #FFF6E9;
    --amber-text: #8A5A00;
    --bg-tint: #F4F9FE;
    --gray: #4A6178;
    --muted: #8CA3B8;
    --border: #E3EEF7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #22303C;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px; max-width: 1180px; margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 70px; }
.nav-logo span { font-weight: 700; font-size: 19px; color: var(--navy); }
.nav-badge { background: var(--blue); color: #fff; font-weight: 600; font-size: 12px; letter-spacing: 1.5px; padding: 7px 16px; border-radius: 999px; }

.hero { position: relative; overflow: hidden; padding: 40px 0 70px; background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-tint) 100%); }
.cloud-shape { position: absolute; top: -120px; right: -160px; width: 640px; height: 640px; z-index: 0; opacity: 0.5; pointer-events: none; }
.cloud-shape .c { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #DCEEFC, #EAF4FC 70%); }
.cloud-shape .c1 { width: 380px; height: 380px; top: 120px; left: 60px; }
.cloud-shape .c2 { width: 260px; height: 260px; top: 40px; left: 260px; }
.cloud-shape .c3 { width: 220px; height: 220px; top: 210px; left: 340px; }

.hero-inner { position: relative; z-index: 1; display: flex; gap: 56px; align-items: center; padding-top: 28px; }
.hero-copy { flex: 1.1; min-width: 0; }
.form-card { flex: 0.9; min-width: 340px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #FFFFFF; border: 1.5px solid var(--border); color: var(--blue); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-bg); }
.hero h1 { font-size: 46px; line-height: 1.18; font-weight: 700; color: var(--navy); margin: 0 0 18px 0; }
.hero h1 span { color: var(--blue); }
.hero p.lead { font-size: 18px; color: var(--gray); line-height: 1.6; max-width: 480px; margin: 0 0 28px 0; }
.hero-bars { display: flex; align-items: flex-end; gap: 8px; }
.hero-bars .b { width: 10px; border-radius: 5px; background: var(--blue); }
.hero-bars .b1 { height: 14px; opacity: .35; }
.hero-bars .b2 { height: 22px; opacity: .5; }
.hero-bars .b3 { height: 32px; opacity: .7; }
.hero-bars .b4 { height: 20px; opacity: .55; }
.hero-bars .b5 { height: 28px; opacity: .65; }

.form-card { position: relative; background: #FFFFFF; border-radius: 22px; padding: 34px 32px; box-shadow: 0 24px 60px rgba(23,58,94,0.14); border: 1.5px solid var(--border); }
.form-card h3 { font-size: 20px; color: var(--navy); margin: 0 0 4px 0; }
.form-card p.sub { font-size: 13.5px; color: var(--muted); margin: 0 0 22px 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--gray); margin-bottom: 6px; letter-spacing: 0.3px; }
.field input, .field select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--border); font-family: 'Poppins', sans-serif; font-size: 14.5px; color: #22303C; background: #FBFDFF; outline: none; transition: border-color .15s ease; }
.field input:focus, .field select:focus { border-color: var(--blue); }
.submit-btn { width: 100%; background: var(--blue); color: #fff; font-weight: 600; font-size: 15.5px; padding: 14px; border: none; border-radius: 10px; cursor: pointer; margin-top: 6px; transition: background .15s ease, transform .1s ease; }
.submit-btn:hover { background: var(--blue-dark); }
.submit-btn:active { transform: translateY(1px); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 20px 4px; }
.form-success .check-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }
.form-success h3 { margin-bottom: 6px; }
.form-success p { color: var(--gray); font-size: 14px; }

.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head h2 { font-size: 30px; color: var(--navy); margin: 0 0 10px 0; }
.section-head p { color: var(--gray); font-size: 15.5px; margin: 0; }

.value-grid { display: flex; gap: 28px; }
.value-grid .value-card { flex: 1; min-width: 0; }
.value-card { background: #FFFFFF; border: 1.5px solid var(--border); border-radius: 18px; padding: 30px 26px; }
.value-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--bg-tint); display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 18px; }
.value-card h4 { font-size: 17px; color: var(--navy); margin: 0 0 8px 0; }
.value-card p { font-size: 14px; color: var(--gray); line-height: 1.55; margin: 0; }

.divider-bars { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin: 6px 0 0; }
.divider-bars .b { width: 12px; border-radius: 6px; background: var(--blue); }
.divider-bars .b1 { height: 16px; opacity: .3; }
.divider-bars .b2 { height: 26px; opacity: .45; }
.divider-bars .b3 { height: 38px; opacity: .65; }
.divider-bars .b4 { height: 24px; opacity: .5; }
.divider-bars .b5 { height: 32px; opacity: .6; }

.segments { background: var(--bg-tint); }
.segments-grid { display: flex; gap: 24px; }
.segments-grid .segment-card { flex: 1; min-width: 0; }
.segment-card { background: #FFFFFF; border-radius: 18px; padding: 30px 26px; border: 1.5px solid var(--border); }
.segment-tag { display: inline-block; background: var(--bg-tint); color: var(--blue); font-weight: 600; font-size: 11.5px; letter-spacing: 1.2px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.segment-card h4 { font-size: 17px; color: var(--navy); margin: 0 0 8px 0; }
.segment-card p { font-size: 13.5px; color: var(--gray); line-height: 1.55; margin: 0; }

.incentive { background: #FFFFFF; }
.incentive-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--navy); border-radius: 24px; padding: 44px 48px; position: relative; overflow: hidden; }
.incentive-box::before { content: ""; position: absolute; width: 340px; height: 340px; background: radial-gradient(circle, rgba(5,146,236,0.35), transparent 70%); top: -120px; right: -80px; }
.incentive-copy { position: relative; z-index: 1; max-width: 560px; }
.incentive-copy .ribbon { display: inline-block; background: var(--amber); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 7px 16px; border-radius: 999px; margin-bottom: 16px; }
.incentive-copy h3 { color: #fff; font-size: 25px; margin: 0 0 10px 0; line-height: 1.4; }
.incentive-copy p { color: #C7D9EA; font-size: 14.5px; margin: 0; line-height: 1.6; }
.incentive-cta { position: relative; z-index: 1; background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; padding: 15px 30px; border-radius: 12px; white-space: nowrap; border: none; cursor: pointer; }
.incentive-cta:hover { background: #EAF4FC; }

footer { padding: 56px 0 40px; text-align: center; }
.footer-logo { height: 55px; margin-bottom: 14px; }
footer .tagline { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; }
.social-row { display: flex; justify-content: center; gap: 14px; margin-bottom: 26px; }
.social-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.social-icon svg { width: 20px; height: 20px; }
footer .legal { font-size: 12px; color: #B7C6D3; }

@media (max-width: 880px) {
    .hero-inner { flex-direction: column; }
    .form-card { min-width: 0; width: 100%; }
    .hero h1 { font-size: 34px; }
    .value-grid, .segments-grid { flex-direction: column; }
    .incentive-box { flex-direction: column; text-align: center; }
    .cloud-shape { opacity: 0.3; right: -220px; }
}