/**
 * Home — warm, confident, consumer-brand energy (.page-home)
 */

.page-home {
    --ink: #0c1f14;
    --muted: #4a5c52;
    --brand: #33b249;
    --brand-deep: #1b5e20;
    --brand-light: #dcfce7;
    --surface: #ffffff;
    --line: rgba(12, 31, 20, 0.1);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--ink);
    background: #f7faf8;
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home .section-title,
.page-home .hero-title,
.page-home .nav-list a,
.page-home .faq-item summary {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* Header */
.page-home .header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    overflow: visible;
}

.page-home .header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 32px rgba(12, 31, 20, 0.06);
}

.page-home .btn-choose-location {
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 14px rgba(51, 178, 73, 0.35);
}

.page-home .header-search-btn {
    background: var(--brand-light);
    border: 1px solid rgba(51, 178, 73, 0.25);
    border-radius: 12px;
}

.page-home .header-search-btn:hover {
    background: #bbf7d0;
}

/* Hero */
.page-home .hero--brand {
    position: relative;
    overflow: hidden;
    min-height: min(88vh, 820px);
    padding-top: calc(var(--header-height) + clamp(40px, 8vw, 88px));
    padding-bottom: clamp(48px, 8vw, 100px);
    background: linear-gradient(168deg, #ecfdf5 0%, #f0fdf4 28%, #f7fef9 55%, #ffffff 100%);
}

.page-home .hero--brand::before {
    content: "";
    position: absolute;
    width: 140%;
    height: 60%;
    top: -20%;
    left: -20%;
    background: radial-gradient(ellipse 50% 80% at 70% 40%, rgba(51, 178, 73, 0.18), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.page-home .hero-bg-overlay {
    display: block;
    background: radial-gradient(circle at 15% 25%, rgba(51, 178, 73, 0.12) 0%, transparent 42%);
    opacity: 1;
}

.page-home .hero .orb {
    display: block;
    opacity: 0.55;
}

.page-home .hero-container {
    position: relative;
    z-index: 2;
}

.page-home .hero-eyebrow {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-deep);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(51, 178, 73, 0.25);
    box-shadow: 0 2px 12px rgba(51, 178, 73, 0.1);
    margin-bottom: 20px;
}

.page-home .hero-title {
    font-size: clamp(2.35rem, 5.5vw, 3.85rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 20px;
}

.page-home .hero-title .highlight {
    color: var(--brand);
    background: linear-gradient(120deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.page-home .hero-subtitle {
    font-size: clamp(1.05rem, 2.1vw, 1.3rem);
    line-height: 1.55;
    color: var(--muted);
    max-width: 26em;
    margin-bottom: 32px;
    font-weight: 500;
}

.page-home .hero-illustration {
    filter: drop-shadow(0 28px 56px rgba(51, 178, 73, 0.15));
    max-width: min(100%, 480px);
}

.page-home .hero-image-container {
    position: relative;
}

.page-home .hero-image-container::after {
    display: block;
    content: "";
    position: absolute;
    width: 120%;
    height: 80%;
    left: -10%;
    bottom: -5%;
    background: radial-gradient(circle, rgba(51, 178, 73, 0.12) 0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

/* Stats — high-energy trust bar */
.page-home .stats-strip {
    position: relative;
    background: linear-gradient(105deg, #14532d 0%, #166534 35%, #22c55e 100%);
    padding: clamp(36px, 5vw, 52px) 0;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
}

.page-home .stats-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.page-home .stats-strip-inner {
    position: relative;
    z-index: 1;
    gap: 20px;
}

.page-home .stat-item {
    text-align: center;
    padding: 8px 12px;
}

.page-home .stat-item strong {
    font-size: clamp(1.65rem, 3.5vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    display: block;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.page-home .stat-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

/* Section rhythm */
.page-home .section-title {
    font-weight: 800;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    letter-spacing: -0.035em;
    color: var(--ink);
}

.page-home .section-description {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 44px;
    font-weight: 500;
}

.page-home .alt-bg {
    background: linear-gradient(180deg, #f0fdf4 0%, #f7faf8 100%);
}

.page-home .section-padding {
    padding: clamp(80px, 11vw, 120px) 0;
}

/* Service cards — color personality */
.page-home .service-card {
    border-radius: 20px;
    border: 1px solid var(--line);
    padding: 32px 26px;
    box-shadow: 0 4px 24px rgba(12, 31, 20, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .service-card:nth-child(1) {
    background: linear-gradient(165deg, #ffffff 0%, #f0fdf4 100%);
}

.page-home .service-card:nth-child(2) {
    background: linear-gradient(165deg, #ffffff 0%, #ecfdf5 100%);
}

.page-home .service-card:nth-child(3) {
    background: linear-gradient(165deg, #ffffff 0%, #f7fee7 100%);
}

.page-home .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(51, 178, 73, 0.2);
}

.page-home .service-card h3 {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.page-home .card-image {
    height: 150px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.page-home .country-card {
    border-radius: 16px;
    border: 2px solid transparent;
    background: var(--surface);
    box-shadow: 0 4px 16px rgba(12, 31, 20, 0.06);
    font-weight: 700;
    transition: border-color 0.2s, transform 0.2s;
}

.page-home .country-card:hover {
    border-color: var(--brand);
    transform: scale(1.03);
    box-shadow: 0 12px 32px rgba(51, 178, 73, 0.2);
}

.page-home .partner-card {
    border-radius: 24px;
    overflow: hidden;
}

.page-home .partner-card.merchant {
    background: linear-gradient(135deg, #14532d 0%, #22c55e 85%);
}

.page-home .partner-card.courier {
    background: linear-gradient(135deg, #1c1917 0%, #44403c 100%);
}

.page-home .partner-content h2 {
    font-weight: 800;
}

.page-home .testimonial-card {
    border-radius: 18px;
    border: none;
    background: var(--surface);
    box-shadow: 0 8px 32px rgba(12, 31, 20, 0.07);
    border-left: 4px solid var(--brand);
}

.page-home .testimonial-card p {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--muted);
    font-style: normal;
    line-height: 1.65;
}

.page-home .faq-item {
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.page-home .faq-item summary {
    font-weight: 700;
}

/* App band */
.page-home .app-container {
    border-radius: 28px;
    background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 50%, #f0fdf4 100%);
    border: 1px solid rgba(51, 178, 73, 0.2);
    box-shadow: 0 24px 48px -12px rgba(51, 178, 73, 0.15);
}

.page-home .app-info h2 {
    font-weight: 800;
    color: var(--ink);
}

.page-home .app-info p {
    color: var(--muted);
    font-weight: 500;
}

/* CTA */
.page-home .cta-bottom {
    background: linear-gradient(180deg, #f7faf8 0%, #ecfdf5 100%);
}

.page-home .cta-bottom h2 {
    font-weight: 800;
}

.page-home .cta-bottom .btn-primary {
    border-radius: 999px;
    padding: 16px 40px;
    font-weight: 800;
    background: linear-gradient(180deg, #3dd15a, var(--brand));
    box-shadow: 0 8px 28px rgba(51, 178, 73, 0.35);
}

/* Footer — strong finish */
.page-home .footer {
    background: linear-gradient(180deg, #0f172a 0%, #0c1220 100%);
    color: #94a3b8;
    border-top: none;
    padding-top: 72px;
}

.page-home .footer .link-group h4 {
    color: #f1f5f9;
    font-weight: 800;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-home .footer a {
    color: #cbd5e1;
    font-weight: 500;
}

.page-home .footer a:hover {
    color: #4ade80;
}

.page-home .footer-tagline,
.page-home .footer-copy,
.page-home .footer-brand p {
    color: #94a3b8;
}

.page-home .about-card {
    border-radius: 20px;
    border: 1px solid rgba(51, 178, 73, 0.15);
    background: var(--surface);
    box-shadow: 0 12px 40px rgba(12, 31, 20, 0.06);
}

.page-home .lead {
    font-weight: 500;
    color: var(--muted);
    font-size: 1.125rem;
}

.page-home .btn-primary {
    border-radius: 12px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .page-home .hero-container {
        text-align: center;
    }

    .page-home .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .page-home .stats-strip-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
