/* Homepage — lime theme, responsive */
:root {
    --hp-bg: #ECFCCB;
    --hp-bg-soft: #F7FEE7;
    --hp-card: #FFFFFF;
    --hp-primary: #65A30D;
    --hp-deep: #14532D;
    --hp-text: #14532D;
    --hp-muted: #4D7C0F;
    --hp-border: #BBF7D0;
    --hp-grad: linear-gradient(135deg, #4D7C0F 0%, #65A30D 45%, #84CC16 100%);
    --hp-grad-dark: linear-gradient(145deg, #14532D 0%, #365314 42%, #4D7C0F 78%, #52730F 100%);
    --hp-container: min(1100px, calc(100% - 32px));
    --hp-nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.hp-home {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--hp-bg);
    color: var(--hp-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: calc(var(--hp-nav-h) + 16px);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.hp-container {
    width: var(--hp-container);
    margin-left: auto;
    margin-right: auto;
}

/* Nav */
.hp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--hp-nav-h);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hp-border);
}
.hp-nav.scrolled { box-shadow: 0 8px 24px rgba(20, 83, 45, .1); }
.hp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hp-nav-logo img { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.hp-nav-center { display: none; align-items: center; gap: 4px; }
.hp-nav-mid {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-muted);
}
.hp-nav-mid:hover, .hp-nav-mid.active { color: var(--hp-deep); background: #DCFCE7; }
.hp-nav-actions { display: flex; align-items: center; gap: 8px; }
.hp-nav-link {
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.hp-nav-link--outline { color: var(--hp-deep); border: 1.5px solid var(--hp-border); background: #fff; }
.hp-nav-link--fill { color: #fff; background: var(--hp-grad); box-shadow: 0 6px 16px rgba(20, 83, 45, .2); }
.hp-nav-toggle {
    display: flex;
    width: 42px; height: 42px;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: #fff;
    color: var(--hp-deep);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.hp-nav-drawer {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 88vw);
    height: 100%;
    background: #fff;
    z-index: 1002;
    padding: 72px 18px 24px;
    box-shadow: -12px 0 40px rgba(20, 83, 45, .12);
    transition: right .3s ease;
    overflow-y: auto;
}
.hp-nav-drawer.open { right: 0; }
.hp-nav-drawer a {
    display: block;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.hp-nav-drawer a:hover { background: #F0FDF4; }
.hp-nav-drawer .drawer-cta { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.hp-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(20, 83, 45, .4);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s;
}
.hp-nav-overlay.open { opacity: 1; visibility: visible; }
.hp-nav-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 38px; height: 38px;
    border: none;
    border-radius: 10px;
    background: #ECFCCB;
    font-size: 20px;
    cursor: pointer;
}

/* Hero */
.hp-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 56px;
    background: var(--hp-grad-dark);
    color: #fff;
}
.hp-hero-inner { position: relative; z-index: 1; text-align: center; padding: 0 16px; }
.hp-hero h1 {
    font-size: clamp(26px, 5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    max-width: 680px;
    margin: 0 auto 14px;
}
.hp-hero h1 span { color: #D9F99D; }
.hp-hero-desc {
    font-size: clamp(14px, 2.2vw, 16px);
    color: rgba(255, 255, 255, .85);
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.hp-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
}
.hp-btn-primary { background: #fff; color: var(--hp-deep); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.hp-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }

/* Trust */
.hp-trust-wrap { margin-top: -28px; padding: 0 16px 8px; position: relative; z-index: 2; }
.hp-trust-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: var(--hp-container);
    margin: 0 auto;
}
.hp-trust-item {
    background: var(--hp-card);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(20, 83, 45, .08);
}
.hp-trust-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--hp-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-trust-item h5 { font-size: 14px; font-weight: 800; }
.hp-trust-item p { font-size: 12px; color: var(--hp-muted); margin-top: 2px; }

/* Sections */
.hp-section { padding: 56px 16px; }
.hp-section-head { text-align: center; margin-bottom: 28px; }
.hp-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #DCFCE7;
    color: var(--hp-deep);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}
.hp-section-title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    margin-bottom: 8px;
}
.hp-section-desc {
    font-size: 14px;
    color: var(--hp-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.55;
}

/* Plans embed — same cards as /plan */
.hp-plans-section {
    background: linear-gradient(180deg, #F7FEE7 0%, var(--hp-bg) 100%);
}
.hp-plans-embed .plan-grid {
    max-width: 820px;
    margin: 0 auto;
}
.hp-plans-embed .plan-card { font-family: inherit; }
.hp-plans-viewall {
    text-align: center;
    margin-top: 22px;
}
.hp-plans-viewall a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--hp-grad);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(20, 83, 45, .22);
}

.hp-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.hp-step {
    background: var(--hp-card);
    border: 1px solid var(--hp-border);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
}
.hp-step-num {
    width: 44px; height: 44px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--hp-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.hp-step h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.hp-step p { font-size: 13px; color: var(--hp-muted); line-height: 1.5; }

.hp-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.hp-feature {
    background: var(--hp-card);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.hp-feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--hp-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-feature h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.hp-feature p { font-size: 13px; color: var(--hp-muted); line-height: 1.5; }

.hp-cta {
    text-align: center;
    padding: 48px 16px 64px;
    background: var(--hp-grad-dark);
    color: #fff;
}
.hp-cta h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; margin-bottom: 10px; }
.hp-cta p { font-size: 14px; opacity: .88; margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; }

.hp-footer {
    background: #fff;
    border-top: 1px solid var(--hp-border);
    padding: 32px 16px;
    text-align: center;
}
.hp-footer-logo img { height: 36px; margin: 0 auto 12px; }
.hp-footer p { font-size: 13px; color: var(--hp-muted); }
.hp-footer-copy { margin-top: 14px; font-size: 12px; color: var(--hp-muted); }

@media (min-width: 520px) {
    .hp-trust-bar { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
    .hp-steps { grid-template-columns: repeat(2, 1fr); }
    .hp-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    :root { --hp-nav-h: 68px; }
    .hp-nav-center { display: flex; }
    .hp-nav-toggle { display: none; }
    .hp-section { padding: 72px 20px; }
    .hp-steps { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
    .hp-features { grid-template-columns: repeat(3, 1fr); }
    .hp-hero { padding: 56px 0 72px; }
}

@media (max-width: 767px) {
    .hp-nav { background: var(--hp-grad-dark); border-bottom-color: rgba(255,255,255,.12); }
    .hp-nav-logo img { height: 48px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
    .hp-nav-toggle { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.15); color: #fff; }
    .hp-hide-mob { display: none !important; }
}
