/* ============================================
   CHARLIE Landing Page (home_page.html)
   All classes prefixed hp- to avoid conflicts
   ============================================ */

/* --- Reset & Base --- */
html {
    scroll-behavior: smooth;
}

.hp-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #101828;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.hp-body *,
.hp-body *::before,
.hp-body *::after {
    box-sizing: border-box;
}

/* --- Top Bar --- */
.hp-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.hp-topbar-inner {
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hp-topbar-logo img {
    height: 36px;
    width: auto;
}

.hp-topbar-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hp-topbar-link {
    color: #3B475B;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.hp-topbar-link:hover {
    color: #663166;
}

.hp-topbar-btn {
    display: inline-block;
    padding: 9px 22px;
    background: #663166;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
}

.hp-topbar-btn:hover {
    background: #552855;
    color: #fff;
}

/* --- Hero --- */
.hp-hero {
    padding: 140px 24px 100px;
    background: linear-gradient(135deg, #664277 0%, #65497C 7%, #5E5F87 21%, #577291 36%, #4F869C 50%, #479AA7 64%, #40ADB1 79%, #3ABFBB 93%, #17A2B8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hp-hero-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hp-hero h1 {
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hp-hero p {
    font-size: 16px;
    font-weight: 400;
    color: #DAF2F1;
    line-height: 1.6;
    margin: 0 0 32px;
}

.hp-hero-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 10px;
}

.hp-hero-btn img {
    display: block;
    height: 52px;
    width: auto;
}

.hp-hero-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Sections (shared) --- */
.hp-section {
    padding: 80px 24px;
}

.hp-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}

.hp-section-header h2 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: #101828;
}

.hp-section-header p {
    font-size: 16px;
    font-weight: 400;
    color: rgba(10, 10, 10, 0.5);
    line-height: 1.5;
    margin: 0;
}

/* --- How CHARLIE Works --- */
.hp-how-it-works {
    background: #fff;
}

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

.hp-step-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 36px 24px 28px;
    text-align: center;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hp-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px -2px rgba(0, 0, 0, 0.12), 0px 4px 8px -2px rgba(0, 0, 0, 0.08);
}

.hp-step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.hp-step-icon img {
    width: 64px;
    height: 64px;
}

.hp-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #663166;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin: 0 auto 16px;
}

.hp-step-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px;
    color: #101828;
    line-height: 1.2;
}

.hp-step-card p {
    font-size: 14px;
    color: rgba(10, 10, 10, 0.5);
    line-height: 1.5;
    margin: 0;
}

/* --- What You Get --- */
.hp-what-you-get {
    background: #F9FAFB;
}

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

.hp-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    min-height: 60px;
}

.hp-feature-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hp-feature-check img {
    width: 28px;
    height: 28px;
}

.hp-feature-item span {
    font-size: 15px;
    font-weight: 400;
    color: #101828;
    line-height: 1.4;
}

/* --- What CHARLIE Can Do --- */
.hp-what-charlie-can-do {
    background: #fff;
}

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

.hp-capability-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 36px 24px 28px;
    text-align: center;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hp-capability-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px -2px rgba(0, 0, 0, 0.12), 0px 4px 8px -2px rgba(0, 0, 0, 0.08);
}

.hp-capability-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.hp-capability-icon img {
    width: 64px;
    height: 64px;
}

.hp-capability-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px;
    color: #101828;
    line-height: 1.2;
}

.hp-capability-card p {
    font-size: 14px;
    color: rgba(10, 10, 10, 0.5);
    line-height: 1.5;
    margin: 0;
}

/* --- About CHARLIE --- */
.hp-about {
    background: #F9FAFB;
}

.hp-about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hp-about-container h2 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 32px;
    color: #101828;
}

.hp-about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #3B475B;
    margin: 0 0 20px;
}

.hp-about-text p:last-child {
    margin-bottom: 0;
}

.hp-about-tagline {
    font-weight: 400;
}

/* --- Pricing --- */
.hp-pricing {
    background: #fff;
}

.hp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

.hp-pricing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.hp-pricing-card:hover {
    transform: translateY(-2px);
}

.hp-pricing-featured {
    border: 2px solid #17A2B8;
    box-shadow: 0px 0px 0px 2px #17A2B8, 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.hp-pricing-badge {
    background: #07A8A3;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-pricing-body {
    padding: 28px 24px 32px;
}

.hp-pricing-body h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px;
    color: #101828;
}

.hp-pricing-price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hp-price-amount {
    font-size: 42px;
    font-weight: 600;
    color: #101828;
    letter-spacing: -0.02em;
}

.hp-price-period {
    font-size: 14px;
    color: rgba(10, 10, 10, 0.5);
}

.hp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-pricing-features li {
    font-size: 14px;
    color: #3B475B;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

.hp-pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #07A8A3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}

.hp-pricing-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}

.hp-pricing-btn:hover {
    transform: translateY(-1px);
}

.hp-pricing-btn-outline {
    background: #D1D5DC;
    color: #3B475B;
}

.hp-pricing-btn-outline:hover {
    background: #c0c5cd;
    color: #3B475B;
}

.hp-pricing-btn-primary {
    background: #07A8A3;
    color: #fff;
}

.hp-pricing-btn-primary:hover {
    background: #069590;
    color: #fff;
}

/* --- Footer --- */
.hp-footer {
    background: #663166;
    color: #ccc;
    padding: 60px 24px 0;
}

.hp-footer-inner {
    padding: 0 40px;
}

.hp-footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
    column-gap: 60px;
    row-gap: 40px;
    padding-bottom: 40px;
}

.hp-footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
    max-width: 260px;
}

.hp-footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px;
    text-transform: none;
}

.hp-footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.hp-footer-col a:hover {
    color: #fff;
}

.hp-footer-col:not(.hp-footer-brand) {
    margin-left: auto;
}

.hp-footer-cta {
    max-width: 160px;
    margin-left: auto;
}

.hp-footer-btn {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.hp-footer-btn img {
    display: block;
    width: 100%;
    height: auto;
}

.hp-footer-btn:hover {
    opacity: 0.85;
}

.hp-footer-bottom {
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid #07A8A3;
}

.hp-footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hp-hero h1 {
        font-size: 34px;
    }

    .hp-section-header h2,
    .hp-about-container h2 {
        font-size: 30px;
    }

    .hp-capabilities-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 640px;
    }

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

    .hp-pricing-featured {
        order: -1;
    }

    .hp-footer-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 32px;
        row-gap: 28px;
    }

    .hp-footer-col:not(.hp-footer-brand) {
        margin-left: 0;
    }

    .hp-footer-cta {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hp-hero {
        padding: 120px 16px 80px;
    }

    .hp-hero h1 {
        font-size: 28px;
    }

    .hp-section {
        padding: 56px 16px;
    }

    .hp-steps-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

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

    .hp-capabilities-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .hp-pricing-grid {
        max-width: 100%;
    }

    .hp-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hp-footer-cta {
        max-width: 200px;
    }

    .hp-price-amount {
        font-size: 36px;
    }

    .hp-footer-inner {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hp-topbar-inner {
        padding: 12px 16px;
    }

    .hp-topbar-logo img {
        height: 28px;
    }

    .hp-topbar-nav {
        gap: 12px;
    }

    .hp-topbar-btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    .hp-topbar-link {
        font-size: 13px;
    }

    .hp-hero h1 {
        font-size: 24px;
    }

    .hp-hero p {
        font-size: 14px;
    }

    .hp-section-header h2,
    .hp-about-container h2 {
        font-size: 24px;
    }

    .hp-section-header p {
        font-size: 14px;
    }

    .hp-step-card {
        padding: 28px 16px 20px;
    }

    .hp-pricing-body {
        padding: 20px 16px 24px;
    }
}
