/* 
 * FinanzCenter Pro — Ultra-Premium Dark Glassmorphism CSS System 
 */

:root {
    --bg-main: #0b0f19;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(28, 36, 56, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(99, 102, 241, 0.4);
    
    --primary: #6366f1;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%);
    --accent-emerald: #10b981;
    --accent-gold: #f59e0b;
    --accent-cyan: #06b6d4;
    --accent-rose: #f43f5e;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* STATUS COLORS & ICON ACCENTS */
.text-success, .icon-success {
    color: #10b981 !important;
}
.text-warning, .icon-warning {
    color: #f59e0b !important;
}
.text-danger, .icon-danger {
    color: #f43f5e !important;
}
.text-primary {
    color: #6366f1 !important;
}

/* --- LINE BREAK & WRAPPING OPTIMIZATIONS --- */
.badge-tag, .market-badge, .country-flag, .price-amount, .hero-badge, .btn-primary, .btn-secondary, .filter-btn, .mockup-tab-btn {
    white-space: nowrap;
}

.table-preview th, .table-preview td {
    white-space: nowrap;
    vertical-align: middle;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-preview th:last-child, .table-preview td:last-child {
    border-right: none;
}

/* ZEBRA STRIPING & HOVER ACCENT */
.table-preview tbody tr:nth-child(odd) {
    background-color: rgba(15, 23, 42, 0.6);
}

.table-preview tbody tr:nth-child(even) {
    background-color: rgba(30, 41, 59, 0.4);
}

.table-preview tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.15) !important;
}

.table-preview td.wrap-cell {
    white-space: normal;
    word-break: break-word;
    min-width: 180px;
}

.hero-title, .section-title, .faq-question {
    overflow-wrap: break-word;
    word-break: break-word;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* --- HEADER / NAVIGATION --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(11, 15, 25, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.nav-link:hover {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 160px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(11, 15, 25, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #fff;

}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- OPEN 12-MODULES SHOWCASE --- */
.modules-showcase-section {
    padding: 80px 0;
}

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

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.module-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: var(--bg-card-hover);
}

.module-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.module-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.module-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.module-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.module-bullets {
    list-style: none;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border);
}

.module-bullets li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.module-bullets li i {
    color: var(--accent-emerald);
    font-size: 12px;
    margin-top: 4px;
}

@media (max-width: 1100px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}
.mockup-section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 36px;
    margin-bottom: 12px;
}

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

.mockup-window {
    background: #0f172a;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mockup-header {
    background: #1e293b;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-nav-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    background: #0f172a;
    border-bottom: 1px solid var(--glass-border);
    overflow-x: auto;
}

.mockup-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.mockup-tab-btn.active, .mockup-tab-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.mockup-body {
    padding: 30px;
    min-height: 450px;
    background: #0b0f19;
}

.mockup-pane {
    display: none;
}

.mockup-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mockup UI components inside pane */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.dash-card {
    background: #1e293b;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--glass-border);
}

.dash-card-val {
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;

}

.table-preview {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.table-preview th {
    background: #1e293b;
    padding: 12px;
    text-align: left;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.table-preview td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.tag-green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.tag-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.tag-gold { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

/* --- MARKET MATRIX SECTION --- */
.matrix-section {
    padding: 80px 0;
    background: rgba(18, 24, 38, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.market-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.25s ease;
}

.market-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

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

.country-flag {
    font-size: 24px;
}

.country-name {
    font-weight: 700;
    font-size: 16px;
}

.market-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
}

.badge-supported { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-limited { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-blocked { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.market-card-body p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.market-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- PRICING SECTION --- */
.pricing-section {
    padding: 100px 0;
}

.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #334155;
    transition: .3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.2);

}

.price-card-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 20px 0 10px 0;
}

.price-list {
    list-style: none;
    margin: 30px 0;
    flex-grow: 1;
}

.price-list li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-list li i {
    color: var(--accent-emerald);
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 15px;
}

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    background: #070a12;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- SUB-PAGE & MODULE DETAIL STYLES --- */
.breadcrumb-nav {
    padding: 120px 0 20px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--text-secondary);
}

.breadcrumb-nav a:hover {
    color: #fff;
}

.detail-hero {
    padding: 20px 0 60px 0;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 60px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.spec-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
}

.spec-box h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list-detailed {
    list-style: none;
    margin-top: 15px;
}

.feature-list-detailed li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list-detailed li i {
    color: var(--accent-emerald);
    margin-top: 4px;
}

.code-snippet-box {
    background: #070a12;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: monospace;
    font-size: 13px;
    color: #a5b4fc;
    overflow-x: auto;
    margin-top: 15px;
}
