:root {
    --bg-main: #FDF9F3;
    --bg-alt: #F0FAF6;
    --primary: #2A9D8F;
    --primary-dark: #21867a;
    --primary-light: #e6f6f3;
    --secondary: #E76F51;
    --secondary-hover: #d65a3c;
    --text-dark: #2B2D42;
    --text-muted: #6c757d;
    --border-color: #E2DDD5;
    --card-shadow: 0 10px 30px rgba(43, 45, 66, 0.07);
    --font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-family);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* NAVBAR */
.home-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.pill-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.brand-text {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 600;
    white-space: nowrap;
}
.brand-text strong {
    color: var(--primary);
    font-weight: 800;
}
.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 600;
    color: #4a4e69;
}
.nav-links a:hover {
    color: var(--primary);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.btn-text {
    font-weight: 700;
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 15px;
    white-space: nowrap;
}
.btn-text:hover {
    background: #f4efe6;
}
.btn-primary {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 30px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.25);
    font-size: 15px;
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--primary-dark);
}

/* HERO SECTION */
.hero-section {
    padding: 40px 0 60px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}
.badge-pill {
    display: inline-block;
    background: #fef0eb;
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    border: 1px solid #ffd4c7;
    max-width: 100%;
    word-break: break-word;
}
.hero-title {
    font-size: clamp(26px, 5vw, 42px);
    line-height: 1.18;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    word-break: break-word;
}
.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 18px);
    color: #4a4e69;
    margin-bottom: 24px;
    line-height: 1.5;
}
.hero-cta-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: var(--secondary);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(231, 111, 81, 0.35);
    transition: all 0.2s;
    text-align: center;
}
.btn-hero-primary:hover {
    background: var(--secondary-hover);
}
.btn-hero-secondary {
    background: #ffffff;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 22px;
    border-radius: 35px;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.btn-hero-secondary:hover {
    background: #f8f4ec;
}
.hero-trust {
    display: flex;
    gap: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #555b6e;
    flex-wrap: wrap;
}

/* PHONE MOCKUP */
.hero-mockup {
    display: flex;
    justify-content: center;
    width: 100%;
}
.phone-frame {
    width: 100%;
    max-width: 310px;
    height: 610px;
    background: #111;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18), 0 0 0 2px #d1d5db;
    position: relative;
    box-sizing: border-box;
}
.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: #111;
    border-radius: 12px;
    z-index: 10;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: #FDF9F3;
    border-radius: 32px;
    overflow: hidden;
    padding: 34px 12px 12px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 0 2px;
}
.mock-user {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-card-main {
    background: linear-gradient(135deg, #a8ded1 0%, #83c5be 100%);
    padding: 14px 12px;
    border-radius: 18px;
    text-align: center;
    color: #1a3c34;
}
.mock-card-tag {
    font-size: 10px;
    font-weight: 800;
    color: #184e42;
}
.mock-card-name {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-card-time {
    font-size: 34px;
    font-weight: 900;
    margin: 2px 0 8px;
    color: #163830;
    line-height: 1.05;
}
.mock-btn-take {
    width: 100%;
    background: #16876c;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 4px;
}
.mock-btn-delay {
    width: 60%;
    margin: 0 auto;
    background: rgba(255,255,255,0.7);
    color: #164e42;
    border: 1px solid rgba(22, 78, 66, 0.3);
    padding: 4px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 11px;
}
.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.mock-stat-item {
    background: #fff;
    padding: 6px 4px;
    border-radius: 10px;
    text-align: center;
}
.mock-stat-item .stat-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 6px;
    font-size: 10px;
}
.mock-stat-item .stat-icon.green { background: #d1fae5; color: #065f46; }
.mock-stat-item .stat-icon.teal { background: #ccfbf1; color: #115e59; }
.mock-stat-item .stat-icon.amber { background: #fef3c7; color: #92400e; }
.mock-stat-item .stat-lbl {
    display: block;
    font-size: 9px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-timeline {
    background: #fff;
    padding: 8px 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mock-tl-title {
    font-weight: 800;
    font-size: 12px;
}
.mock-tl-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
}
.tl-hour {
    width: 30px;
    color: #666;
    font-weight: 600;
    flex-shrink: 0;
}
.tl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #06A77D;
    flex-shrink: 0;
}
.tl-box {
    flex: 1;
    background: #f7f9f8;
    padding: 3px 6px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tl-box.active {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
}
.mock-caregiver {
    background: #fff;
    padding: 8px 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.care-avatar {
    font-size: 20px;
    flex-shrink: 0;
}
.care-info {
    font-size: 10px;
    overflow: hidden;
}
.care-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 2px;
}

/* SECTIONS COMMON */
.section {
    padding: 60px 0;
}
.section.bg-light {
    background: var(--bg-alt);
}
.section-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
    word-break: break-word;
}
.section-subtitle {
    font-size: clamp(15px, 2vw, 17px);
    color: #555b6e;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.5;
}

/* STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.step-card {
    background: #ffffff;
    padding: 28px 22px;
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    position: relative;
    text-align: left;
}
.step-number {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 22px;
    font-weight: 900;
    color: #e0ece7;
}
.step-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.step-card p {
    color: #555b6e;
    font-size: 14px;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.feat-card {
    background: #ffffff;
    padding: 26px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}
.feat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.feat-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.feat-card p {
    font-size: 14px;
    color: #666;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: left;
}
.pricing-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    position: relative;
    box-shadow: var(--card-shadow);
}
.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(42, 157, 143, 0.16);
}
.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.pricing-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.plan-desc {
    color: #666;
    font-size: 13px;
    margin-bottom: 16px;
}
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}
.plan-price .currency {
    font-size: 18px;
    font-weight: 700;
}
.plan-price .value {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}
.plan-price .period {
    color: #777;
    font-weight: 600;
    font-size: 14px;
}
.plan-billed-note {
    font-size: 12px;
    color: #777;
    margin-bottom: 16px;
}
.plan-features {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #4a4e69;
}
.btn-plan {
    display: block;
    text-align: center;
    background: #eef4f1;
    color: var(--primary-dark);
    font-weight: 800;
    padding: 14px;
    border-radius: 30px;
    font-size: 15px;
}
.btn-plan.primary {
    background: var(--primary);
    color: #ffffff;
}

.payment-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.4;
}

/* FAQ */
.faq-container {
    max-width: 720px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-align: left;
}
.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.faq-item p {
    font-size: 14px;
    color: #555b6e;
    line-height: 1.5;
}

/* FOOTER */
.home-footer {
    background: #1f202b;
    color: #d1d5db;
    padding: 40px 0 24px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand .brand-text {
    color: #ffffff;
}
.footer-brand p {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 4px;
}
.footer-links {
    display: flex;
    gap: 16px;
    font-weight: 600;
    font-size: 14px;
    flex-wrap: wrap;
}
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    font-size: 12px;
    color: #9ca3af;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 16px;
    }
    .brand-text {
        font-size: 18px;
    }
    .btn-primary {
        padding: 8px 14px;
        font-size: 13px;
    }
    .btn-text {
        padding: 6px 10px;
        font-size: 14px;
    }
    .hero-section {
        padding: 24px 0 40px;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
    }
    .payment-guarantee {
        flex-direction: column;
        text-align: center;
    }
}