:root {
    --bg-cream: #f4f7f2;
    --navy: #064e3b;
    --cyan-accent: #d4af37;
    --shadow-color: #064e3b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: var(--navy);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.bg-navy { background-color: var(--navy); }
.text-navy { color: var(--navy); }
.border-navy { border-color: var(--navy); }
.border-navy\/10 { border-color: rgba(0, 31, 84, 0.1); }
.hover\:bg-navy:hover { background-color: var(--navy); }
.hover\:text-navy:hover { color: var(--navy); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(242, 238, 233, 0.92);
    border-bottom: 1px solid rgba(6, 78, 59, 0.1);
    box-shadow: 0 18px 40px rgba(6, 78, 59, 0.08);
    backdrop-filter: blur(16px);
}

.topbar {
    background: var(--navy);
    padding: 10px 0;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 18px;
    color: var(--navy);
    background: var(--cyan-accent);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: transform 150ms ease, background-color 150ms ease;
}

.topbar-link:hover {
    background: white;
    transform: translateY(-1px);
}

.main-nav { min-height: 82px; }

.nav-link {
    position: relative;
    color: var(--navy);
    transition: opacity 150ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 3px;
    background: var(--cyan-accent);
    border-radius: 9999px;
    content: "";
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 150ms ease, transform 150ms ease;
}

.nav-link:hover { opacity: 0.78; }
.nav-link:hover::after { opacity: 1; transform: scaleX(1); }

.btn-pill {
    background-color: var(--cyan-accent);
    border: 2px solid rgba(6, 78, 59, 0.75);
    border-radius: 9999px;
    transition: all 150ms ease-in-out;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 6px 6px 0 0 var(--shadow-color);
}

.btn-pill:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 0 var(--shadow-color); }
.btn-pill:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--shadow-color); }

.btn-dark-pill {
    background-color: #000000;
    color: white;
    border-radius: 9999px;
    padding: 12px 32px;
    transition: transform 150ms ease;
}

.btn-dark-pill:hover { transform: scale(1.05); }

.card-round {
    background: white;
    border-radius: 40px;
    border: 1px solid rgba(6, 78, 59, 0.09);
}

.nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.whatsapp-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    color: white;
    background: #128c7e;
    border: 1px solid rgba(6, 78, 59, 0.2);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(18, 140, 126, 0.18);
    transition: transform 150ms ease, background-color 150ms ease;
}

.whatsapp-nav-cta:hover {
    background: #075e54;
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--navy);
    background: white;
    border: 1px solid rgba(6, 78, 59, 0.14);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(6, 78, 59, 0.08);
}

.mobile-nav-close-icon { display: none; }

.mobile-nav-panel {
    display: none;
    background: rgba(242, 238, 233, 0.98);
    border-top: 1px solid rgba(6, 78, 59, 0.1);
    box-shadow: 0 20px 32px rgba(6, 78, 59, 0.08);
}

.mobile-nav-panel.is-open { display: block; }

.mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    color: var(--navy);
    border-bottom: 1px solid rgba(6, 78, 59, 0.1);
    font-size: 15px;
    font-weight: 800;
}

.mobile-nav-link:last-child { border-bottom: 0; }

.mobile-nav-link.is-active {
    color: #3f3510;
}

.mobile-nav-link.is-active::before {
    width: 8px;
    height: 8px;
    margin-right: 10px;
    background: var(--cyan-accent);
    border-radius: 9999px;
    content: "";
}

.mobile-nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 14px;
    color: var(--navy);
    background: var(--cyan-accent);
    border: 2px solid rgba(6, 78, 59, 0.75);
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 4px 4px 0 0 var(--shadow-color);
}

.mobile-nav-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    color: white;
    background: #128c7e;
    border: 2px solid rgba(6, 78, 59, 0.75);
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 4px 4px 0 0 var(--shadow-color);
}

.page-hero { padding: 96px 0 72px; }

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 24px;
    color: var(--navy);
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(6, 78, 59, 0.12);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
}

.page-title {
    max-width: 900px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.page-lead {
    max-width: 680px;
    margin-top: 24px;
    color: #64748b;
    font-size: 18px;
    line-height: 1.7;
}

.content-section { margin-bottom: 96px; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.info-card {
    min-height: 100%;
    padding: 32px;
    background: white;
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 28px;
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.06);
}

.info-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    background: var(--cyan-accent);
    border: 2px solid rgba(6, 78, 59, 0.75);
    border-radius: 16px;
}

.feature-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    padding: 42px;
    background: white;
    border-radius: 32px;
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.06);
}

.price-card {
    position: relative;
    padding: 34px;
    background: white;
    border: 1px solid rgba(6, 78, 59, 0.12);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.price-card.is-featured {
    border: 2px solid var(--navy);
    box-shadow: 8px 8px 0 0 var(--shadow-color);
}

.pricing-note {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 26px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(6, 78, 59, 0.12);
    border-radius: 24px;
}

.pricing-note-title {
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 900;
}

.pricing-note-copy {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
}

.pricing-note span,
.price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.pricing-note span {
    padding: 10px 16px;
    background: var(--soft-mint);
    color: var(--navy);
    white-space: nowrap;
}

.price-badge {
    margin-bottom: 14px;
    padding: 8px 12px;
    background: var(--sun);
    color: #1f2937;
}

.price-amount {
    margin-bottom: 26px;
}

.price-amount span {
    display: block;
    color: var(--navy);
    font-size: 34px;
    line-height: 1.08;
    font-weight: 900;
}

.price-amount small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 800;
}

.pricing-features {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.pricing-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pricing-features i {
    margin-top: 2px;
    color: var(--navy);
    flex: 0 0 auto;
}

.price-card .btn-pill,
.price-card > span.btn-pill {
    margin-top: auto;
}

.pricing-disclaimer {
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.faq-panel {
    padding: 28px 32px;
    background: white;
    border: 1px solid rgba(6, 78, 59, 0.1);
    border-radius: 24px;
}

.partner-form {
    padding: 36px;
    background: white;
    border: 1px solid rgba(6, 78, 59, 0.1);
    border-radius: 32px;
    box-shadow: 0 14px 34px rgba(6, 78, 59, 0.06);
}

.form-field {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    outline: none;
}

.form-field:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}

.payment-method-card {
    display: block;
    width: 100%;
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.payment-method-card:hover,
.payment-method-card.is-selected {
    border-color: rgba(6, 78, 59, 0.35);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.08);
}

.payment-method-card.is-selected {
    transform: translateY(-1px);
}

.manual-payment-panel[hidden] {
    display: none;
}

.frontend-password-wrap {
    position: relative;
    display: block;
}

.frontend-password-wrap .form-field {
    padding-right: 52px;
}

.frontend-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--muted);
    border-radius: 999px;
    transform: translateY(-50%);
    transition: color 150ms ease, background 150ms ease;
}

.frontend-password-toggle:hover,
.frontend-password-toggle.is-visible {
    color: var(--navy);
    background: var(--soft-mint);
}

.frontend-password-toggle .password-icon-hide {
    display: none;
}

.frontend-password-toggle.is-visible .password-icon-show {
    display: none;
}

.frontend-password-toggle.is-visible .password-icon-hide {
    display: block;
}

.password-strength,
.password-match-status {
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.password-strength-bar {
    display: block;
    height: 6px;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 999px;
}

.password-strength-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: #ef4444;
    border-radius: inherit;
    transition: width 180ms ease, background 180ms ease;
}

.password-strength-label {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

.password-rule-list {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.password-rule-list span {
    display: flex;
    gap: 7px;
    align-items: center;
}

.password-rule-list span.is-valid {
    color: var(--navy);
}

.password-match-status.is-valid {
    color: var(--navy);
}

.password-match-status.is-invalid {
    color: #b91c1c;
}

.wave-decoration {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='1000' viewBox='0 0 1000 1000'%3E%3Cpath d='M0,200 Q250,100 500,200 T1000,200' fill='none' stroke='%23064E3B' stroke-opacity='0.03' stroke-width='2'/%3E%3C/svg%3E");
    background-size: cover;
}

.faq-item {
    background-color: #f3f2ea;
    border-radius: 20px;
    border: 1px solid #dfdac8;
    transition: background-color 200ms;
    overflow: hidden;
}

.faq-item:hover { background-color: #efe7cc; }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 70px;
    padding: 22px 24px;
    color: var(--navy);
    text-align: left;
    font-size: 14px;
    font-weight: 800;
}

.faq-plus,
.faq-minus {
    flex: 0 0 auto;
}

.faq-minus {
    display: none;
}

.faq-item.is-open .faq-plus {
    display: none;
}

.faq-item.is-open .faq-minus {
    display: block;
}

.faq-answer {
    display: none;
    padding: 0 24px 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.hero-dashboard-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    background: white;
    border: 2px solid var(--navy);
    border-radius: 9999px;
    box-shadow: 0 18px 35px rgba(6, 78, 59, 0.16);
}

.hero-dashboard-icon svg { width: 92px; height: 92px; }

.hero-mini-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(6, 78, 59, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(6, 78, 59, 0.12);
}

.hero-mini-icon svg { width: 38px; height: 38px; }

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--navy);
    background: #f8fafc;
    border: 1px solid rgba(6, 78, 59, 0.15);
    border-radius: 9999px;
    transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.social-link:hover {
    color: white;
    background: var(--navy);
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.18);
    transform: translateY(-2px);
}

.social-icon { width: 19px; height: 19px; transition: filter 150ms ease; }
.social-link:hover .social-icon { filter: brightness(0) invert(1); }

.footer-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    color: white;
    background: #128c7e;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 900;
    transition: background-color 150ms ease, transform 150ms ease;
}

.footer-whatsapp-cta:hover {
    background: #075e54;
    transform: translateY(-1px);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--navy);
    background: var(--cyan-accent);
    border: 2px solid rgba(6, 78, 59, 0.75);
    border-radius: 9999px;
    box-shadow: 5px 5px 0 0 var(--shadow-color);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 150ms ease;
}

.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { box-shadow: 7px 7px 0 0 var(--shadow-color); transform: translate(-2px, -2px); }

.whatsapp-floating {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 61;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 58px;
    height: 50px;
    padding: 0 16px;
    color: white;
    background: #128c7e;
    border: 2px solid rgba(6, 78, 59, 0.75);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 5px 5px 0 0 var(--shadow-color), 0 14px 28px rgba(18, 140, 126, 0.22);
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.whatsapp-floating:hover {
    background: #075e54;
    box-shadow: 7px 7px 0 0 var(--shadow-color), 0 16px 30px rgba(18, 140, 126, 0.24);
    transform: translate(-2px, -2px);
}

@media (max-width: 767px) {
    .topbar { display: none; }
    .main-nav { min-height: 74px; }
    .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
    .whatsapp-floating {
        right: 16px;
        bottom: 72px;
        width: 48px;
        min-width: 48px;
        height: 48px;
        padding: 0;
    }
    .whatsapp-floating span { display: none; }
}

@media (max-width: 1023px) {
    .info-grid,
    .feature-row { grid-template-columns: 1fr; }
    .mobile-nav-toggle { display: inline-flex; }
    .site-header.is-mobile-nav-open .mobile-nav-open-icon { display: none; }
    .site-header.is-mobile-nav-open .mobile-nav-close-icon { display: block; }
}

@media (max-width: 767px) {
    .page-hero { padding: 64px 0 48px; }
    .page-lead { font-size: 16px; }
    .info-card,
    .feature-row,
    .partner-form { padding: 24px; }
    .price-card.is-featured { box-shadow: 5px 5px 0 0 var(--shadow-color); }
    .pricing-note {
        align-items: flex-start;
        flex-direction: column;
    }
}
