/* Variables & Setup - Fintech Aesthetic */
:root {
    --primary-blue: #0A4D68;
    --primary-cyan: #05BFDB;
    --secondary-teal: #088395;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0B1120;
    --text-main: #334155;
    --text-dark: #0F172A;
    --text-light: #94A3B8;
    --success: #10B981;
    --danger: #EF4444;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 { font-family: 'Space Grotesk', sans-serif; color: var(--text-dark); line-height: 1.2; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--primary-cyan); transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; border-radius: 12px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-white, .text-white h2, .text-white p { color: var(--bg-white); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-width-text { max-width: 800px; }

/* Spacing */
.py-large { padding: 80px 0; }
.py-m { padding: 40px 0; }
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 2rem; }
.mt-l { margin-top: 3rem; }
.mt-large { margin-top: 4rem; }

/* Colors & Backgrounds */
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.border-top { border-top: 1px solid var(--border-color); }

.text-gradient {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600;
    text-align: center; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--primary-blue); color: var(--bg-white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-cyan); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 2px solid var(--primary-cyan); color: var(--primary-blue); }
.btn-outline:hover { background: var(--primary-cyan); color: var(--bg-white); }

/* Scroll Progress Bar */
.scroll-progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: transparent; z-index: 1001; }
.scroll-progress-bar { height: 100%; background: var(--primary-cyan); width: 0%; }

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border-color);
    transition: var(--transition); padding: 15px 0;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; }
.desktop-nav ul { list-style: none; display: flex; gap: 2rem; }
.desktop-nav a { color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }
.desktop-nav a:hover { color: var(--primary-cyan); }

/* Hamburger Menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1002; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--primary-blue); position: absolute; transition: var(--transition); }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Hero */
.hero { padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.badge { display: inline-block; padding: 6px 12px; background: #E0F2FE; color: var(--primary-blue); border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.5rem; }
.lead { font-size: 1.1rem; color: var(--text-main); margin-bottom: 1.5rem; }
.hero-intro-card { background: var(--bg-white); padding: 30px; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }

/* Table */
.fintech-card { background: var(--bg-white); border-radius: 12px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); overflow: hidden; }
.table-responsive { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-color); }
.data-table th { background-color: #F1F5F9; font-family: 'Space Grotesk', sans-serif; color: var(--text-dark); font-weight: 700; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background-color: #F8FAFC; }
.highlight-fast { color: var(--success); font-weight: 600; }

/* App Review Sections */
.app-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.app-grid.reverse .app-visual { order: 2; }
.app-grid.reverse .app-content { order: 1; }
.mockup-img { border-radius: 20px; }
.shadow-strong { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.app-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.app-brand h2 { margin-bottom: 0; }
.tag { padding: 5px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; }
.tag-crypto { background: #F3E8FF; color: #7E22CE; }
.tag-local { background: #DCFCE7; color: #166534; }
.tag-secure { background: #DBEAFE; color: #1E40AF; }

/* Pros & Cons */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pros-card, .cons-card { padding: 20px; border-radius: 12px; background: var(--bg-white); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.check-list, .cross-list { list-style: none; }
.check-list li, .cross-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 0.95rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: bold; }
.cross-list li::before { content: '✕'; position: absolute; left: 0; color: var(--danger); font-weight: bold; }

/* Content Layout (Bonuses, Games) */
.text-content-layout { max-width: 900px; margin: 0 auto; }
.fintech-alert { background: #F0F9FF; border-left: 4px solid var(--primary-cyan); padding: 20px; border-radius: 0 8px 8px 0; }
.dot-list { margin-left: 20px; }
.dot-list li { margin-bottom: 10px; }
.text-columns { column-count: 2; column-gap: 2rem; }

/* Payment Cards */
.payment-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.pay-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 30px; border-radius: 12px; text-align: center; transition: var(--transition); }
.pay-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.pay-card .icon { font-size: 3rem; margin-bottom: 1rem; }
.pay-card h4 { color: var(--bg-white); }
.pay-card p { color: #CBD5E1; font-size: 0.95rem; }

/* Use Cases */
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.case-card { background: var(--bg-white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.border-top-blue { border-top: 4px solid var(--primary-blue); }
.border-top-green { border-top: 4px solid var(--success); }
.border-top-dark { border-top: 4px solid var(--text-dark); }
.disclaimer-box { background: #FFFBEB; padding: 20px; border-radius: 8px; border: 1px solid #FEF3C7; color: #92400E; font-size: 0.95rem; }

/* Accordion */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 10px; background: var(--bg-white); overflow: hidden; }
.accordion-header { width: 100%; text-align: left; padding: 20px; background: none; border: none; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header::after { content: '+'; font-size: 1.5rem; color: var(--primary-cyan); transition: transform 0.3s; }
.accordion-item.active .accordion-header::after { transform: rotate(45deg); }
.accordion-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; opacity: 0; }
.accordion-item.active .accordion-body { padding: 0 20px 20px; max-height: 500px; opacity: 1; }

/* Footer */
.site-footer { padding: 60px 0 20px; color: var(--text-light); }
.footer-logo { height: 40px; margin: 0 auto; filter: grayscale(100%) opacity(0.7); }
.footer-text { font-size: 0.85rem; max-width: 500px; margin: 1rem auto; }
.copyright { font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 20px; }

/* Animations (JS Triggered) */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .app-grid, .app-grid.reverse { grid-template-columns: 1fr; gap: 3rem; }
    .app-grid.reverse .app-visual, .app-grid .app-visual { order: 1; }
    .app-grid.reverse .app-content, .app-grid .app-content { order: 2; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .text-columns { column-count: 1; }
}

@media (max-width: 768px) {
    .desktop-nav, .hidden-mobile { display: none; }
    .menu-toggle { display: block; }
    .hero { padding-top: 100px; }
    .pros-cons-grid { grid-template-columns: 1fr; }
    
    /* Mobile Menu */
    .desktop-nav.active {
        display: flex; position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px);
        background: var(--bg-white); flex-direction: column; align-items: center; justify-content: center;
        padding: 2rem; z-index: 999;
    }
    .desktop-nav.active ul { flex-direction: column; text-align: center; font-size: 1.2rem; gap: 2rem; }
}