:root {
    --primary: #1d4ed8;
    --primary-light: #2563eb;
    --secondary: #0f172a;
    --accent: #f43f5e;
    --success: #0ea5e9;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(160deg, #eff6ff 0%, #f0f9ff 45%, #e2e8f0 100%);
    --card-bg: #ffffff;
    --border-color: #bfdbfe;
    --header-grad: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
    --ticker-grad: linear-gradient(90deg, #0f172a, #1e40af);
    --cta-grad: linear-gradient(135deg, #1d4ed8, #f43f5e);
    --shadow-brand: rgba(29, 78, 216, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-gradient);
    overflow-x: hidden;
    padding-bottom: 88px;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

.navy-header {
    background: var(--header-grad);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-brand);
    padding: 0.75rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ticker-container {
    width: 100%;
    background: var(--ticker-grad);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: scroll 25s linear infinite;
    width: max-content;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 28px;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.ticker-item:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -5px;
    color: rgba(255, 255, 255, 0.55);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-section {
    background: linear-gradient(160deg, #ffffff 0%, #eff6ff 48%, #e0f2fe 100%);
    min-height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2.5rem 0 3rem;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero-section::before {
    top: -20%;
    right: -10%;
    width: min(600px, 90vw);
    height: min(600px, 90vw);
}

.hero-section::after {
    bottom: -20%;
    left: -10%;
    width: min(500px, 80vw);
    height: min(500px, 80vw);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.hero-slider-shell {
    position: relative;
}

.hero-slider-stage {
    position: relative;
    min-height: 360px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.hero-slider-stage > .hero-slide {
    display: none !important;
    width: 100%;
    min-height: 360px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 20px;
}

.hero-slider-stage > .hero-slide.is-active {
    display: flex !important;
}

.hero-slide-copy {
    text-align: center;
}

.slider-image {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 220px;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.slider-image:hover {
    transform: scale(1.02);
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.hero-slider-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(29, 78, 216, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-slider-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.22);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-slider-dot.is-active {
    width: 28px;
    background: var(--primary);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.typing-text {
    border-right: 2px solid;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
    animation: typing 4s steps(25) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    0% { width: 0; }
    50%, 100% { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: currentColor; }
}

.fixed-bottom-download {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    border-top: 1px solid rgba(29, 78, 216, 0.12);
}

.full-width-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: var(--cta-grad);
    color: #fff;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.full-width-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.full-width-download-btn:hover::before {
    left: 100%;
}

.full-width-download-btn:hover {
    background: linear-gradient(135deg, #f43f5e, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--shadow-brand);
    color: #fff;
}

.full-width-download-btn:active {
    transform: translateY(0);
    opacity: 0.95;
}

.download-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.download-text {
    font-size: 1.05rem;
    font-weight: 700;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 8px;
}

.payment-logo-item {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    border: 1px solid var(--border-color);
}

.payment-logo-item:hover {
    transform: translateY(-2px);
}

.payment-logo-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.5rem 0;
    padding: 0 12px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding: 16px 8px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: var(--card-bg);
    padding: 20px 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px var(--shadow-brand);
    border-color: var(--primary-light);
}

.feature-item img {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    transition: transform 0.3s ease;
}

.feature-item:hover img {
    transform: scale(1.08);
}

.trusted-platform-box {
    background: linear-gradient(135deg, #0369a1, #1d4ed8);
    color: #fff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 28px auto;
    max-width: 500px;
    width: calc(100% - 24px);
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.28);
}

.trusted-platform-box img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.trusted-platform-box .text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 600;
}

.payment-proof-swiper {
    padding: 16px 0 40px;
    overflow: hidden;
}

.swiper-slide {
    height: auto;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
    color: var(--primary);
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

#gallery-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#gallery-slider img {
    width: 100%;
    border-radius: 12px;
}

.container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
}

.brand-pill {
    background: #dbeafe;
    color: #1e3a8a;
}

.brand-title {
    background-image: linear-gradient(90deg, #1d4ed8, #2563eb, #0f172a);
}

.brand-link {
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.brand-link:hover {
    border-color: #60a5fa;
}

.stories-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
}

.download-section {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #0f172a 100%);
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hero-section {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }

    .navy-header {
        padding: 0.6rem 0;
    }

    .navy-header img {
        height: 40px !important;
        width: 40px;
        object-fit: cover;
    }

    .navy-header span {
        font-size: 1.25rem !important;
    }

    .ticker-item {
        font-size: 0.8rem;
        padding: 0 16px;
    }

    .hero-section {
        min-height: auto;
        padding: 1.25rem 0 2rem;
    }

    .hero-section .container,
    .hero-section > div {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .typing-text {
        white-space: normal;
        border-right: none;
        animation: none;
        font-size: 1rem !important;
    }

    .hero-slider-stage {
        min-height: 320px;
        border-radius: 18px;
    }

    .hero-slider-stage > .hero-slide {
        min-height: 320px;
    }

    .slider-image {
        max-width: 260px;
        height: 180px;
    }

    .full-width-download-btn {
        padding: 14px 16px;
        font-size: 0.95rem;
        gap: 8px;
    }

    .download-icon {
        width: 24px;
        height: 24px;
    }

    .download-text {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px 4px;
    }

    .feature-item {
        padding: 14px 10px;
    }

    .feature-item h3 {
        font-size: 0.9rem;
    }

    .trusted-platform-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 18px 14px;
    }

    .payment-logo-item img {
        width: 40px;
        height: 40px;
    }

    .payment-logos {
        gap: 10px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .container-wrapper {
        padding: 24px 12px;
    }

    .hero-slider-controls {
        gap: 10px;
    }

    .hero-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    /* Stack badge row on small screens */
    .download-section .flex.justify-center {
        flex-wrap: wrap;
        gap: 8px;
    }

    .download-section .flex.justify-center > div {
        padding: 8px 14px !important;
    }
}

@media (max-width: 480px) {
    .hero-slider-stage {
        min-height: 290px;
    }

    .hero-slider-stage > .hero-slide {
        min-height: 290px;
        padding: 16px 14px;
    }

    .slider-image {
        max-width: 220px;
        height: 155px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .payment-logos {
        gap: 8px;
    }

    .payment-logo-item {
        padding: 8px;
    }

    .payment-logo-item img {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 769px) {
    .payment-logo-item img {
        width: 56px;
        height: 56px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 24px;
    }

    .full-width-download-btn {
        padding: 18px 24px;
        font-size: 1.1rem;
    }

    .download-icon {
        width: 32px;
        height: 32px;
    }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }
}
