:root {
    --primary-blue: #000E38;
    --accent-orange: #FF6600;
    --bg-light: #ffffff;
    --bg-soft: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight { color: var(--accent-orange); }
.tag { color: var(--accent-orange); font-weight: 800; font-size: 12px; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }

/* Navigation */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.mobile-only {
    display: none;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
}

/* Language Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: var(--bg-soft);
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 10px;
    border: 1px solid var(--border);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn.active {
    color: var(--primary-blue);
}

.lang-sep {
    margin: 0 5px;
    color: var(--border);
    font-size: 10px;
}

/* Buttons */
.btn-primary {
    background: var(--accent-orange);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.btn-primary:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.btn-nav {
    background: var(--accent-orange);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    transition: all 0.3s;
    min-width: 200px;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
    background-image: url('https://picsum.photos/seed/cashpay_hero/1920/1080');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 14, 56, 0.9), rgba(0, 14, 56, 0.75));
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    text-wrap: balance;
}

.hero-btns {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-mockup img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

/* Partners */
.partners {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    background: white;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partners-grid img {
    height: 25px;
    filter: grayscale(1);
    opacity: 0.4;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 28px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Feature Split */
.feature-split {
    padding: 100px 0;
}

.split-box {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-split.reverse .split-box {
    flex-direction: row-reverse;
}

.feature-image, .feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 38px;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin: 24px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.check-list i { color: var(--accent-orange); }

/* Download Center */
.downloads {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-blue);
    background-image: url('https://picsum.photos/seed/download_bg/1920/1080');
    background-size: cover;
    background-position: center;
    color: white;
}

.downloads-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 14 56 / 55%);
    z-index: 1;
}

.downloads h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; font-weight: 800; }
.downloads p { font-size: 16px; opacity: 0.8; margin-bottom: 50px; }

.download-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.dl-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dl-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dl-card.accent-card {
    border: 2px solid var(--accent-orange);
    background: rgba(255, 102, 0, 0.05);
}

.dl-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dl-header i {
    font-size: 20px;
    color: white;
}

.accent-card .dl-header i, .accent-card .dl-header h4 {
    color: var(--accent-orange);
}

.dl-header h4 { font-size: 16px; font-weight: 700; }
.dl-desc { font-size: 13px; opacity: 0.6; margin-bottom: 20px !important; flex-grow: 1; }

.dl-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-store-badge img {
    height: 40px;
    display: block;
}

.btn-dl-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-dl-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dl-note {
    font-size: 10px;
    opacity: 0.5;
    margin-top: 5px;
}

/* Footer DARK */
.footer {
    padding: 80px 0 40px;
    background: var(--primary-blue);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo { 
    height: 53px; 
    margin-bottom: 20px; 
    filter: brightness(0) invert(1); /* Ensure logo is white if it's original colored */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.socials { display: flex; gap: 12px; margin-top: 15px; }
.socials a {
    height: 36px; width: 36px; 
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.socials a:hover { background: var(--accent-orange); color: white; }

.footer-col h5 { 
    font-size: 15px; 
    font-weight: 700; 
    margin-bottom: 20px; 
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { 
    text-decoration: none; 
    color: rgba(255, 255, 255, 0.6); 
    font-size: 13px; 
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--accent-orange); }

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-png {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .split-box { flex-direction: column; gap: 30px; text-align: center; }
    .check-list li { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-only {
        display: block;
    }

    .nav-cta {
        display: flex;
        align-items: center;
    }

    .btn-nav {
        padding: 6px 12px;
        font-size: 11px;
    }

    .lang-switcher {
        padding: 3px 8px;
    }

    .hero h1 { font-size: 34px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-primary, .btn-outline-white { width: 100%; max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}