html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Index */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-900: #073d2e;
    --green-800: #0a5c45;
    --green-700: #0d7a5c;
    --green-600: #10a070;
    --green-100: #d4ece4;
    --green-50: #edf7f3;
    --gold: #c9a227;
    --gold-light: #fdf6e3;
    --text-primary: #1a2420;
    --text-secondary: #4a6259;
    --text-muted: #8fa59f;
    --border: #dce6e2;
    --bg: #f0f4f2;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html, body {
    height: 100%;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background: var(--green-800);
    border-bottom: 3px solid var(--gold);
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-sub {
    color: rgba(255,255,255,0.55);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.header-badge {
    background: rgba(201,162,39,0.18);
    border: 1px solid rgba(201,162,39,0.45);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Main */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.page-wrap {
    width: 100%;
    max-width: 1080px;
}

/* Hero Card */
.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 0.5px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10,92,69,0.08);
    margin-bottom: 24px;
}

.hero-band {
    background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 60%, var(--green-600) 100%);
    padding: 48px 48px 44px;
    position: relative;
    overflow: hidden;
}

.hero-band::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.hero-band::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 40%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.hero-icon-wrap {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    color: white;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201,162,39,0.2);
    border: 1px solid rgba(201,162,39,0.4);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    color: white;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
    max-width: 520px;
}

.hero-desc {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.65;
    max-width: 500px;
}

.hero-body {
    padding: 36px 48px 40px;
}

/* ETA Row */
.eta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-50);
    border: 0.5px solid var(--green-100);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 32px;
}

.eta-row .bi {
    color: var(--green-700);
    font-size: 18px;
    flex-shrink: 0;
}

.eta-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.eta-text strong {
    color: var(--green-800);
    font-weight: 600;
}

/* Action Cards */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.action-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 22px 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
    background: white;
}

.action-card:hover {
    border-color: var(--green-700);
    box-shadow: 0 4px 16px rgba(13,122,92,0.10);
    transform: translateY(-2px);
}

.action-card.primary {
    background: var(--green-800);
    border-color: var(--green-800);
}

.action-card.primary:hover {
    background: var(--green-900);
    border-color: var(--green-900);
    box-shadow: 0 4px 18px rgba(7,61,46,0.22);
}

.ac-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.action-card:not(.primary) .ac-icon {
    background: var(--green-50);
    color: var(--green-700);
}

.action-card.primary .ac-icon {
    background: rgba(255,255,255,0.15);
    color: white;
}

.ac-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.action-card:not(.primary) .ac-label {
    color: var(--text-muted);
}

.action-card.primary .ac-label {
    color: rgba(255,255,255,0.55);
}

.ac-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.brand-logo {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.action-card:not(.primary) .ac-title {
    color: var(--text-primary);
}

.action-card.primary .ac-title {
    color: white;
}

.ac-desc {
    font-size: 12px;
    line-height: 1.5;
}

.action-card:not(.primary) .ac-desc {
    color: var(--text-muted);
}

.action-card.primary .ac-desc {
    color: rgba(255,255,255,0.6);
}

.logo-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 0;
}

.ac-arrow {
    margin-top: auto;
    font-size: 18px;
    align-self: flex-end;
}

.action-card:not(.primary) .ac-arrow {
    color: var(--green-700);
}

.action-card.primary .ac-arrow {
    color: rgba(255,255,255,0.7);
}

/* App Download Section */
.app-section {
    background: white;
    border-radius: var(--radius-lg);
    border: 0.5px solid var(--border);
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(10,92,69,0.05);
}

.app-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.app-section-heading .bi {
    font-size: 20px;
    color: var(--green-700);
}

.app-section-heading h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.app-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.55;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    background: white;
    transition: border-color 0.15s, box-shadow 0.15s;
    min-width: 155px;
}

.app-badge:hover {
    border-color: var(--green-700);
    box-shadow: 0 2px 10px rgba(13,122,92,0.10);
}

.app-badge .bi {
    font-size: 22px;
    color: var(--text-secondary);
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.badge-small {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.badge-store {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Payment Options Section */
.payment-options {
    margin-bottom: 28px;
}

.payment-options-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 0.5px solid var(--border);
}

.payment-options-heading .bi {
    color: var(--green-700);
    font-size: 14px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    background: white;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
    text-align: center;
}

.payment-option:hover {
    border-color: var(--green-700);
    box-shadow: 0 4px 14px rgba(13,122,92,0.10);
    transform: translateY(-2px);
}

.payment-option-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--green-50);
    border: 0.5px solid var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--green-700);
    flex-shrink: 0;
}

.payment-option-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.payment-option-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Footer */
footer {
    background: var(--green-900);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

footer p {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.75);
}

/* Responsive */
@media (max-width: 620px) {
    header {
        padding: 0 18px;
    }

    .hero-band {
        padding: 32px 24px 28px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-body {
        padding: 24px 24px 28px;
    }

    .action-grid {
        grid-template-columns: 1fr;
    }

    .app-section {
        padding: 22px 20px;
    }

    .app-badges {
        flex-direction: column;
    }

    .app-badge {
        min-width: unset;
    }

    footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}