/*
 * Islamic Forex IB Website - Stylesheet
 * Copyright © 2025 ImanTrade - All Rights Reserved
 * 
 * This stylesheet is proprietary and confidential.
 * Unauthorized reproduction prohibited.
 * 
 * Color Scheme: Navy Blue (#1a2b4a) + Gold (#D4AF37)
 * Theme: Professional Islamic Finance
 */

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

:root {
    --primary-navy: #0a1a3c;
    --primary-gold: #d4af37;
    --accent-blue: #2E5C8A;
    --text-dark: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --background-alt: #f8f9fc;
    --border-color: #e1e8ed;
    --success-green: #10b981;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

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

/* Navigation */
.navbar {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.nav-menu a.active {
    color: var(--primary-gold);
}

.btn-primary-nav {
    background: var(--primary-gold);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary-nav:hover {
    background: var(--primary-navy);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    margin: 3px 0;
    transition: 0.3s;
}

.language-switch {
    position: relative;
    display: flex;
    align-items: center;
}

.desktop-language {
    display: none;
}

.language-toggle-btn {
    background: rgba(26, 43, 74, 0.08);
    border: 1px solid rgba(26, 43, 74, 0.2);
    color: var(--primary-navy);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    cursor: pointer;
}

.language-toggle-btn .lang-arrow {
    transition: transform 0.3s ease;
}

.language-toggle-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    background: var(--primary-navy);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 0.25rem;
    list-style: none;
    margin: 0;
    min-width: 240px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1200;
}

.language-options.open {
    display: block;
    animation: fadeDown 0.2s ease;
}

.language-option {
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.language-option:hover,
.language-option.active {
    background: rgba(212, 175, 55, 0.25);
    color: var(--primary-gold);
}

.lang-current {
    font-weight: 700;
}

.mobile-language {
    width: 100%;
    margin-bottom: 1rem;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-language .language-options {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(26, 43, 74, 0.05);
    display: none;
    margin-top: 0.75rem;
}

.mobile-language .language-options.open {
    display: block;
}

.mobile-language .language-option {
    color: var(--primary-navy);
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .desktop-language {
        display: flex;
    }

    .mobile-language {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a2b4a 50%, var(--accent-blue) 100%);
    color: white;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-gold);
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-gold);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
    display: inline-block;
}

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

.hero-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.hero-card {
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.card-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-gold);
}

.card-stat {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.card-stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-light);
}

.stat-value {
    font-weight: 600;
    color: var(--success-green);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background-alt);
}

.features-note {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.comparison-section {
    padding: 80px 0;
    background: white;
}

.comparison-table-wrapper {
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(26, 43, 74, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    background: var(--primary-navy);
    color: white;
    text-align: left;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(26, 43, 74, 0.1);
    font-weight: 500;
    color: var(--text-dark);
}

.comparison-table tbody tr:nth-child(even) {
    background: white;
}

.comparison-table tbody tr:nth-child(odd) {
    background: #f8f9fb;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.bad {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.status-badge.good {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

.comparison-benefits {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: var(--background-alt);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(26, 43, 74, 0.08);
}

.benefit-card h3 {
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.comparison-note {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

.live-markets {
    background: var(--primary-navy);
    color: white;
    padding: 80px 0;
}

.live-markets .section-title,
.live-markets .section-subtitle {
    color: white;
}

.live-markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.market-widget {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.tradingview-credit {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.strategy-section {
    padding: 80px 0;
    background: var(--background-alt);
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.strategy-card {
    background: white;
    border-radius: 14px;
    border-left: 4px solid var(--primary-gold);
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.strategy-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.strategy-card h3 {
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.strategy-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.strategy-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.strategy-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.strategy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.strategy-note {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.strategy-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.strategy-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    position: relative;
    border-top: 6px solid var(--primary-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-height: 80vh;
    overflow-y: auto;
    animation: fadeInScale 0.3s ease;
}

.modal-content h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.modal-content p,
.modal-content ul,
.modal-content ol {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.modal-content ul,
.modal-content ol {
    padding-left: 1.25rem;
}

.modal-warning {
    color: #b45309;
    font-weight: 600;
}

.modal-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-close:hover {
    color: var(--primary-navy);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.start-learning-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #e0f2ff, #fef9f2);
}

.start-learning-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-outline {
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

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

.xm-cta-group,
.xm-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.xm-cta-group {
    justify-content: flex-start;
}

.xm-cta-buttons {
    justify-content: center;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    min-width: 240px;
}

.btn-cta-primary {
    background: var(--primary-gold);
    color: #0f172a;
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.button:hover,
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-cta-secondary {
    border: 2px solid rgba(255,255,255,0.7);
    color: white;
    background: transparent;
}

.btn-cta-secondary {
    transition: all 0.25s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.xm-cta-section {
    background: linear-gradient(135deg, #0f1b35, #1f2f53);
    color: white;
    padding: 80px 0;
}

.xm-cta-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.xm-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.xm-cta-content p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .btn-cta {
        width: 100%;
    }

    .xm-cta-group {
        justify-content: center;
    }
}

/* Why Trade With XM Section */
.why-xm-section {
    padding: 100px 0;
    background: var(--background-alt);
}

.why-xm-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-xm-section .section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.why-xm-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 2px;
}

.why-xm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-xm-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid var(--border-color);
}

.why-xm-card:hover {
    transform: translateY(-6px);
    transition: 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-color: var(--primary-gold);
}

.why-xm-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
}

.why-xm-card h3 {
    color: var(--primary-navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-xm-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* XM Links Sections */
.xm-links-section {
    padding: 100px 0;
    background: white;
}

.xm-links-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.xm-links-section .section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.xm-links-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 2px;
}

.xm-links-section .section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.xm-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.xm-link-card {
    background: var(--background-alt);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    min-height: 160px;
}

.xm-link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-gold);
    background: white;
}

.xm-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.xm-link-card:hover .xm-card-icon {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: scale(1.1);
}

.xm-card-title {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    display: block;
}

.xm-link-card:hover .xm-card-title {
    color: var(--primary-navy);
}

/* Footer Improvements */
.footer {
    background: var(--primary-navy);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

/* Footer Compliance Section - Navy Blue Background */
.footer-compliance-section {
    background: var(--primary-navy);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.footer-compliance-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

.footer-compliance-item h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-compliance-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

.footer-compliance-item strong {
    color: var(--primary-gold);
}

/* Legacy support for footer-risk-disclaimer (if used elsewhere) */
.footer-risk-disclaimer {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-gold);
}

.footer-risk-disclaimer h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-risk-disclaimer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

.footer-risk-disclaimer strong {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom .footer-dedication,
.footer-bottom .footer-translate-note,
.footer-bottom .footer-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Navigation Improvements */
.nav-menu {
    gap: 2.5rem;
}

.nav-menu a {
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-primary-nav {
    background: var(--primary-gold) !important;
    color: var(--primary-navy) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-primary-nav:hover {
    background: var(--primary-navy) !important;
    color: var(--primary-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary-nav::after {
    display: none;
}

/* Hero CTA Improvements */
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    align-items: center;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-cta .btn-primary:hover,
.hero-cta .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.xm-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.xm-cta-group.hero-xm-cta {
    margin-top: 2rem;
}

.multibank-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.multibank-cta-group.hero-multibank-cta {
    margin-top: 2rem;
}

.multibank-cta-group .btn-cta {
    flex: 1;
    min-width: 240px;
    max-width: 280px;
    transition: all 0.3s ease;
    min-height: 48px;
    display: inline-flex;
}

.exness-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.exness-cta-group.hero-exness-cta {
    margin-top: 2rem;
}

.exness-cta-group .btn-cta {
    flex: 1;
    min-width: 240px;
    max-width: 280px;
    transition: all 0.3s ease;
    min-height: 48px;
    display: inline-flex;
}

.xm-cta-group .btn-cta {
    flex: 1;
    min-width: 240px;
    max-width: 280px;
    transition: all 0.3s ease;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
}

/* Responsive Design for XM Sections */
@media (max-width: 968px) {
    .why-xm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xm-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xm-links-section {
        padding: 80px 0;
    }
    
    .why-xm-section {
        padding: 80px 0;
    }
}

@media (max-width: 640px) {
    .why-xm-grid {
        grid-template-columns: 1fr;
    }
    
    .xm-links-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .xm-cta-group {
        flex-direction: column;
    }
    
    .xm-cta-group .btn-cta {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-compliance-section {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .footer-compliance-item {
        padding: 1.25rem;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    transition: 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Brokers Section */
.brokers {
    padding: 100px 0;
}

.broker-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.broker-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.25s ease;
}

.broker-card:hover {
    transform: translateY(-6px);
    transition: 0.25s ease;
    border-color: var(--primary-gold);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.broker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.broker-header h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-recommended {
    background: var(--success-green);
    color: white;
}

.badge-uae {
    background: var(--primary-gold);
    color: white;
}

.badge-popular {
    background: var(--accent-blue);
    color: white;
}

.broker-features {
    margin-bottom: 1.5rem;
}

.broker-feature {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.broker-feature:last-child {
    border-bottom: none;
}

.feature-label {
    color: var(--text-light);
}

.feature-value {
    font-weight: 600;
    color: var(--text-dark);
}

.btn-broker {
    display: block;
    text-align: center;
    background: var(--primary-navy);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-broker:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--background-alt);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-gold);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary-large {
    background: var(--primary-gold);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary-large:hover {
    background: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading .section-title {
    margin-bottom: 0.75rem;
}

.earnings-calculator {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.calculator-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.calculator-card,
.results-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 45px rgba(26, 43, 74, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.calculator-card h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.calculator-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.calculator-field {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.calculator-field label {
    font-weight: 600;
    color: var(--primary-navy);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "⌄";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    pointer-events: none;
    font-size: 1.2rem;
}

.calculator-field select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    appearance: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.calculator-field select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Custom Currency Selector */
.currency-select-wrapper {
    position: relative;
}

.currency-select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    user-select: none;
}

.currency-select:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.currency-select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.currency-select.active {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.currency-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.currency-code {
    font-weight: 600;
    color: var(--primary-navy);
    flex: 1;
}

.currency-symbol {
    color: var(--text-light);
    font-size: 0.9rem;
}

.currency-arrow {
    color: var(--primary-gold);
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.currency-select.active .currency-arrow {
    transform: rotate(180deg);
}

.currency-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.currency-options.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.currency-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.currency-option:hover {
    background: var(--background-alt);
}

.currency-option[aria-selected="true"] {
    background: rgba(212, 175, 55, 0.1);
}

.currency-option .currency-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.currency-option .currency-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.currency-option .currency-code {
    font-weight: 600;
    color: var(--primary-navy);
}

.currency-option .currency-symbol {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Currency Selector */
@media (max-width: 640px) {
    .currency-select {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .currency-flag {
        width: 20px;
        height: 14px;
    }
    
    .currency-option .currency-flag {
        width: 20px;
        height: 14px;
    }
    
    .currency-options {
        max-height: 250px;
    }
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calculator-field input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, rgba(212, 175, 55, 0.3) 100%);
    outline: none;
    cursor: pointer;
}

.calculator-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.calculator-field input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.value-chip {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-navy);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.slider-hint {
    font-size: 0.85rem;
    color: var(--text-light);
}

.results-card {
    background: linear-gradient(145deg, #1a2b4a 0%, #2E5C8A 100%);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}

.results-card::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    pointer-events: none;
}

.results-card > * {
    position: relative;
    z-index: 1;
}

.results-header p {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.25rem;
}

.results-note {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.calculator-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
}

.calculator-toggle .toggle-arrow {
    transition: transform 0.3s ease;
}

.calculator-toggle:hover {
    text-decoration: underline;
}

.calculator-toggle:focus {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 4px;
}

.calculator-explanation {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-gold);
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1rem;
    color: var(--text-dark);
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.calculator-explanation h4 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.explanation-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.check-mark {
    color: #059669;
    font-weight: 700;
}

.explanation-example {
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(26, 43, 74, 0.1);
}

.explanation-example h5 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.explanation-example ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.explanation-warning {
    color: #b45309;
    font-weight: 600;
}

.calculator-explanation.expanded {
    max-height: 800px;
    opacity: 1;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.calculator-toggle[aria-expanded="true"] .toggle-arrow {
    transform: rotate(180deg);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-tile {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.result-tile p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    transition: transform 0.4s ease, color 0.4s ease;
}

.result-value.result-value-updating {
    transform: scale(1.05);
    color: #fff;
}

.calculator-disclaimer {
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid var(--primary-gold);
    padding: 1.25rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.calculator-disclaimer-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.calculator-disclaimer-box p {
    color: #856404;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.calculator-disclaimer-box strong {
    color: #856404;
    font-weight: 700;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-gold);
}

.stars {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--primary-navy);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-navy);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.disclosure-section {
    padding: 50px 0;
    background: var(--background-alt);
}

.disclosure-section h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    text-align: center;
}

.disclosure-section p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
}

/* Compliance Section */
.compliance-section {
    padding: 80px 0;
    background: #fff8e1;
    border-top: 3px solid var(--primary-gold);
}

.compliance-content {
    max-width: 1000px;
    margin: 0 auto;
}

.compliance-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--primary-gold);
}

.compliance-item.risk-warning {
    border-left-color: #f44336;
    background: #ffebee;
}

.compliance-item h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.compliance-item p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.compliance-item strong {
    color: var(--primary-navy);
    font-weight: 600;
}

/* Legal Pages Styling */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-navy);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-gold);
}

.legal-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.legal-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.8;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.legal-list li strong {
    color: var(--primary-navy);
}

.legal-section a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--primary-navy);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.small-text {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

.footer-translate-note {
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
}

.google-translate-element {
    position: absolute;
    left: -9999px;
}

.goog-te-banner-frame.skiptranslate,
body > .skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-logo-link,
.goog-te-gadget-icon {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }

    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .calculator-card,
    .results-card {
        padding: 2rem;
    }

    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .result-value {
        font-size: 1.75rem;
    }

    .comparison-table {
        min-width: unset;
    }
}

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

/* Get Started Page Styles */
.page-hero {
    background: var(--primary-navy);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.get-started-section {
    padding: 60px 0;
    background: var(--background-alt);
}

.get-started-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Form Styles */
.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-submit {
    background: var(--primary-gold);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
    background: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Success Message */
.success-message {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--primary-navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.success-message ol {
    text-align: left;
    margin: 1.5rem auto;
    max-width: 400px;
    color: var(--text-dark);
}

.success-message ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Info Cards */
.info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.info-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h4 {
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Trust Stats */
.trust-card {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-blue) 100%);
    color: white;
}

.trust-card h3 {
    color: white;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat {
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Contact Card */
.contact-card {
    background: var(--background-alt);
    border: 2px dashed var(--primary-gold);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-btn {
    display: block;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.email-btn {
    background: var(--primary-navy);
    color: white;
}

.email-btn:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
}

/* FAQ Quick */
.faq-quick {
    padding: 60px 0;
    background: white;
}

.faq-quick h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

.faq-item h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.faq-link {
    text-align: center;
    margin-top: 2rem;
}

.faq-link a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

/* About Page Styles */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-section h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.about-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.about-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Guide Page Styles */
.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-section {
    margin-bottom: 3rem;
}

.guide-section h2 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.guide-section h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-size: 1.5rem;
}

.guide-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.guide-card {
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 12px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.guide-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.guide-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.guide-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.guide-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.guide-list li strong {
    color: var(--primary-navy);
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.strategy-card {
    padding: 2rem;
    background: var(--background-alt);
    border-radius: 12px;
    border-top: 4px solid var(--primary-gold);
    transition: all 0.3s;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.strategy-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.strategy-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.warning-box p {
    color: #856404;
    margin-bottom: 1rem;
}

.warning-box ul {
    color: #856404;
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.warning-box ul li {
    margin-bottom: 0.5rem;
}

/* FAQ Page Styles */
.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 3px solid var(--primary-gold);
    padding-bottom: 0.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Responsive for Get Started */
@media (max-width: 968px) {
    .get-started-grid {
        grid-template-columns: 1fr;
    }
    
    .info-container {
        order: -1;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Floating WhatsApp Chat Button */
.floating-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #F2C94C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(242, 201, 76, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-chat:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(242, 201, 76, 0.6);
}

.floating-chat svg {
    width: 28px;
    height: 28px;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10, 26, 60, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.scroll-top-btn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 26, 60, 0.5);
    background: var(--primary-gold);
}

.scroll-top-btn:hover svg path {
    stroke: var(--primary-navy);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .floating-chat {
        width: 56px;
        height: 56px;
        bottom: 15px;
        right: 15px;
    }

    .floating-chat svg {
        width: 26px;
        height: 26px;
    }

    .scroll-top-btn {
        width: 46px;
        height: 46px;
        bottom: 80px;
        right: 15px;
    }

    .scroll-top-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .floating-chat {
        width: 52px;
        height: 52px;
        bottom: 12px;
        right: 12px;
    }

    .floating-chat svg {
        width: 24px;
        height: 24px;
    }

    .scroll-top-btn {
        width: 44px;
        height: 44px;
        bottom: 72px;
        right: 12px;
    }
}
