:root {
    /* Clean Light Palette 2026 - "Swiss Luxe" */
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-darker: #0f172a;
    /* Restored for hero overlays */

    /* Elegant Accents */
    --accent-primary: #2563eb;
    /* Royal Blue */
    --accent-secondary: #7c3aed;
    /* Purple */
    --accent-gold: #f59e0b;
    /* Amber */
    --accent-red: #dc2626;
    /* Red */
    --accent-green: #10b981;
    /* Green */

    /* Typography */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* Shadows (minimal) */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);

    /* Borders */
    --border-color: #e2e8f0;

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --section-spacing: 80px;
    --border-radius: 16px;
}

/* ============================================
   BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-main);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: var(--section-spacing) 0;
}

/* ============================================
   HEADER (Dark Theme)
   ============================================ */
header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   MOBILE MENU TOGGLE (Checkbox Hack)
   ============================================ */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 2001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-dropdown {
    position: relative;
    z-index: 2000;
}

.lang-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.lang-trigger:hover {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.lang-trigger .arrow {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.lang-dropdown:hover .lang-trigger .arrow {
    transform: rotate(180deg);
}

.lang-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lang-dropdown:hover .lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-list a {
    display: block;
    padding: 10px 14px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.lang-list a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.lang-list a.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.15);
}

/* ============================================
   CARDS (Minimal with Shadow)
   ============================================ */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* ============================================
   BUTTONS (Clean & Bold)
   ============================================ */
.btn-premium {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-ghost {
    display: inline-block;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-premium:hover,
.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-premium:hover {
    background: #1d4ed8;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-premium:active,
.btn-ghost:active {
    transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    /* White text for banners */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1,
.hero p {
    color: #ffffff;
}

/* ============================================
   DATA TABLE
   ============================================ */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
    border-radius: 12px;
}

.data-table {
    width: 100%;
    min-width: 600px;
    /* Force scroll on mobile */
    border-collapse: collapse;
    background: white;
    border: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 16px 20px;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.data-table tr:hover td {
    background: var(--bg-secondary);
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* ============================================
   TRUST BADGE
   ============================================ */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.faq-item h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4 span {
    font-size: 1.3rem;
    color: var(--accent-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   IMAGES
   ============================================ */
.img-luxe {
    width: 100%;
    border-radius: var(--border-radius);
    margin: 40px 0;
    border: 1px solid var(--border-color);
}

/* ============================================
   CHECK LIST
   ============================================ */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-secondary);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    height: 22px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.75rem;
}

/* ============================================
   ANIMATIONS (Minimal)
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.6s ease forwards;
}

.hover-effect {
    transition: transform 0.2s ease;
}

.hover-effect:hover {
    transform: translateY(-4px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #0b1120;
    /* Deep Midnight for footer */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
    margin-top: 100px;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-inner {
        padding: 15px 0;
    }

    /* Show Hamburger */
    .hamburger {
        display: flex;
    }

    /* Mobile Nav Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #0f172a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 2000;
        display: flex !important;
    }

    /* Toggle logic */
    .menu-toggle:checked~.nav-menu {
        right: 0;
    }

    .menu-toggle:checked~.hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle:checked~.hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked~.hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-link {
        font-size: 1.2rem;
        color: #ffffff;
    }

    .glass-card,
    [class*="glass-card"] {
        padding: 25px !important;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        min-height: 60vh;
    }

    /* Responsive Grid Helper - targets ALL multi-column grids */
    .grid-main,
    div[style*="grid-template-columns"],
    [class*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .section-padding {
        padding: 50px 0;
    }

    .faq-grid {
        grid-template-columns: 1fr !important;
    }
}
    /* Critical: Text overflow fixes */
    p, li, td, div, span {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Override justify alignment on mobile */
    p[style*="text-align: justify"] {
        text-align: left !important;
    }

    /* Fix inline padding overrides - but preserve button containers */
    article[style*="padding: 60px"],
    article[style*="padding: 50px"] {
        padding: 25px !important;
    }

    /* Ensure containers don't overflow */
    article, section {
        overflow-x: hidden;
    }
}


    /* Mobile button fixes */
    .btn-premium, .btn-ghost {
        padding: 16px 20px !important;
        font-size: 1rem !important;
        text-align: center;
    }

    /* Flex containers for buttons - allow wrapping */
    div[style*="display: flex"] {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
