/**
 * Health.AI — Light Landing Page Styles
 * Clean light theme with green accent
 */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #374151;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Homepage-specific link resets (not applied to navbar) */
.hp-hero a, .hp-features a, .hp-pricing a, .hp-lifespan a,
.hp-cta a, .hp-footer a, .hp-trust a, .hp-quote a, .hp-chips a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.hp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.hp-text-green {
    color: #16a34a;
}

.hp-hide-mobile {
    display: inline;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */

.hp-announcement {
    background: #f0fdf4;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
    font-size: 13px;
    color: #4b5563;
    text-align: center;
}

.hp-announcement-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 8px;
    vertical-align: middle;
    animation: hp-pulse 2s ease-in-out infinite;
}

@keyframes hp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================================
   HEADER (Bootstrap nav — styled via directory.css)
   No custom header styles needed; using Bootstrap navbar.
   ============================================================ */

.hp-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #22c55e;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-logo-icon-sm {
    width: 24px;
    height: 24px;
    font-size: 12px;
    border-radius: 6px;
}

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

.hp-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: #fafafa;
}

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hp-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.hp-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hp-hero-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Search Bar */
.hp-search-form {
    max-width: 600px;
    margin: 0 auto 24px;
}

.hp-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 6px 6px 6px 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hp-search-bar:focus-within {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.hp-search-icon {
    color: #9ca3af;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.hp-search-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #111827;
    font-size: 15px;
    font-family: inherit;
    padding: 10px 0;
}

.hp-search-bar input::placeholder {
    color: #9ca3af;
}

.hp-search-btn {
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}

.hp-search-btn:hover {
    background: #16a34a;
    transform: scale(1.02);
}

/* Chips */
.hp-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
}

.hp-chip {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 100px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hp-chip:hover {
    border-color: #86efac;
    color: #16a34a;
    background: #f0fdf4;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */

.hp-trust {
    padding: 32px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.hp-trust-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.hp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #6b7280;
}

.hp-trust-item i {
    color: #22c55e;
    font-size: 14px;
}

/* ============================================================
   QUOTE
   ============================================================ */

.hp-quote {
    padding: 60px 0;
    text-align: center;
}

.hp-quote blockquote {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================================
   FEATURES
   ============================================================ */

.hp-features {
    padding: 0 0 80px;
}

.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hp-feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.hp-feature-card:hover {
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hp-pro-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.hp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.hp-icon-green {
    background: #f0fdf4;
    color: #22c55e;
}

.hp-icon-yellow {
    background: #fffbeb;
    color: #f59e0b;
}

.hp-icon-blue {
    background: #eff6ff;
    color: #3b82f6;
}

.hp-icon-teal {
    background: #f0fdfa;
    color: #14b8a6;
}

.hp-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.hp-feature-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   PRICING
   ============================================================ */

.hp-pricing {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.hp-pricing-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #16a34a;
    margin-bottom: 16px;
}

.hp-pricing-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hp-pricing-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 48px;
}

.hp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.hp-pricing-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: left;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.hp-pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hp-pricing-card-pro {
    border-color: #86efac;
}

.hp-pricing-card-pro:hover {
    border-color: #22c55e;
}

.hp-pricing-tier {
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
}

.hp-popular-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.hp-pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    margin-bottom: 24px;
}

.hp-pricing-period {
    font-size: 1rem;
    font-weight: 400;
    color: #9ca3af;
}

.hp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.hp-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
    padding: 8px 0;
}

.hp-pricing-features li i {
    color: #22c55e;
    font-size: 14px;
    flex-shrink: 0;
}

.hp-pricing-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.hp-pricing-btn:hover {
    transform: scale(1.02);
}

.hp-pricing-btn-free {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.hp-pricing-btn-free:hover {
    background: #e5e7eb;
    color: #111827;
}

.hp-pricing-btn-pro {
    background: #22c55e;
    color: #fff;
}

.hp-pricing-btn-pro:hover {
    background: #16a34a;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    color: #fff;
}

/* ============================================================
   LIFESPAN
   ============================================================ */

.hp-lifespan {
    padding: 40px 0 80px;
}

.hp-lifespan-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.hp-lifespan-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hp-lifespan-highlight {
    background: rgba(34, 197, 94, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
}

.hp-lifespan-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 28px;
}

.hp-lifespan-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #22c55e;
    color: #16a34a;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    transition: background 0.2s, border-color 0.2s;
}

.hp-lifespan-btn:hover {
    background: rgba(34, 197, 94, 0.08);
    border-color: #16a34a;
    color: #16a34a;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.hp-cta {
    padding: 80px 0 100px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.hp-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hp-cta-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 32px;
}

.hp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hp-cta-btn:hover {
    background: #16a34a;
    transform: scale(1.03);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.25);
    color: #fff;
}

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

.hp-footer {
    border-top: 1px solid #e5e7eb;
    padding: 32px 0;
    background: #fafafa;
}

.hp-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.hp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #9ca3af;
}

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

.hp-footer-links a {
    font-size: 13px;
    color: #9ca3af;
    transition: color 0.2s;
}

.hp-footer-links a:hover {
    color: #4b5563;
}

.hp-footer-disclaimer {
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.6;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.hp-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hp-animate.hp-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger feature cards */
.hp-features-grid .hp-animate:nth-child(2) { transition-delay: 0.1s; }
.hp-features-grid .hp-animate:nth-child(3) { transition-delay: 0.2s; }
.hp-features-grid .hp-animate:nth-child(4) { transition-delay: 0.3s; }

/* Stagger pricing cards */
.hp-pricing-grid .hp-animate:nth-child(2) { transition-delay: 0.1s; }

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

@media (max-width: 1024px) {
    .hp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hp-hero {
        padding: 48px 0 40px;
    }

    .hp-hero-title {
        font-size: 2.25rem;
    }

    .hp-hero-subtitle {
        font-size: 1rem;
    }

    .hp-hide-mobile {
        display: none;
    }

    .hp-chips {
        gap: 8px;
    }

    .hp-chip {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hp-trust-items {
        gap: 16px;
    }

    .hp-trust-item {
        font-size: 11px;
    }

    .hp-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .hp-feature-card {
        padding: 22px 18px;
    }

    .hp-pricing-title {
        font-size: 1.75rem;
    }

    .hp-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .hp-lifespan-card {
        padding: 40px 28px;
    }

    .hp-lifespan-title {
        font-size: 1.75rem;
    }

    .hp-cta-title {
        font-size: 1.75rem;
    }

    .hp-footer-top {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hp-hero-title {
        font-size: 1.85rem;
    }

    .hp-features-grid {
        grid-template-columns: 1fr;
    }

    .hp-announcement {
        font-size: 12px;
        padding: 8px 0;
    }

    .hp-search-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hp-trust-items {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hp-quote blockquote {
        font-size: 1.1rem;
    }
}
