/* ===== Swiftbon Dark Theme - Fintech Redesign ===== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --accent-blue: #2563eb;
    --accent-gradient: linear-gradient(135deg, #1d4ed8 0%, #06b6d4 100%);
    --accent-green: #00d4aa;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --border-color: #1e1e2e;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 100px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: #60a5fa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

img {
    max-width: 100%;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    display: flex;
    gap: 6px;
}

.spinner .bounce1,
.spinner .bounce2,
.spinner .bounce3 {
    width: 14px;
    height: 14px;
    background-color: var(--accent-blue);
    border-radius: 100%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.spinner .bounce1 { animation-delay: -0.32s; }
.spinner .bounce2 { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ===== Navigation ===== */
.navbar-custom {
    padding: 16px 0;
    transition: all 0.4s ease;
    background-color: transparent !important;
    z-index: 1000;
}

.navbar-custom.nav-sticky {
    background-color: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-custom .navbar-brand img {
    height: 30px;
}

.navbar-custom .nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 18px !important;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
    color: var(--text-primary) !important;
}

.navbar-custom .navbar-toggler {
    border: none;
    color: var(--text-primary);
    padding: 4px 8px;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: none;
}

.nav-cta-btn {
    background: var(--accent-gradient);
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    display: inline-block;
}

.nav-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
                var(--bg-primary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--accent-blue);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary-custom {
    background: var(--accent-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.05);
}

.hero-visual {
    position: relative;
    text-align: center;
}

.hero-phone-mockup {
    max-width: 380px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 60px rgba(37, 99, 235, 0.15));
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.hero-stat h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero-stat h3 .accent {
    color: var(--accent-blue);
}

.hero-stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== Section Styles ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===== Services Section ===== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
}

.service-icon.blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-blue);
}

.service-icon.green {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-green);
}

.service-icon.purple {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li .check {
    color: var(--accent-green);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ===== How It Works ===== */
.step-card {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Countries Section ===== */
.countries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.country-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
}

.country-flag {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
}

.country-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== Trust & Compliance ===== */
.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.trust-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== Compliance Banner ===== */
.compliance-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 48px;
}

.compliance-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
}

.compliance-item .shield {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.compliance-item h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.compliance-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 70%),
                var(--bg-primary);
}

.cta-box {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 14px 24px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.cta-form input::placeholder {
    color: var(--text-muted);
}

.cta-form input:focus {
    border-color: var(--accent-blue);
}

.cta-form button {
    background: var(--accent-gradient);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cta-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-card .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-card h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-form .form-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.contact-form .form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--bg-card);
    color: var(--text-primary);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn-submit {
    background: var(--accent-gradient);
    color: #fff;
    padding: 14px 40px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.contact-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ===== Toast ===== */
.form-toast {
    margin-top: 16px;
    padding: 0;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.form-toast.toast-visible {
    padding: 14px 20px;
    max-height: 80px;
    opacity: 1;
}

.form-toast.toast-success {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--accent-green);
}

.form-toast.toast-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand img {
    height: 28px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    margin-top: 60px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-compliance {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 32px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 32px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .navbar-custom .navbar-collapse {
        background: var(--bg-secondary);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 10px;
        border: 1px solid var(--border-color);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .hero-stat h3 {
        margin-bottom: 0;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .hero-visual {
        margin-top: 48px;
    }

    .countries-grid {
        gap: 16px;
    }
}

@media (max-width: 479px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }
}