/* 
   XetaCorp Elite v4 - Pristine Light Edition
   Aesthetic: High-Trust Advisory / Private Banking (Light Mode)
   Focus: Clarity, Professionalism, Conversion
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Palette - Light Mode */
    --pristine-white: #FFFFFF;
    --soft-slate: #F8FAFC;
    --royal-navy: #1E3A8A;
    --royal-blue: #1D4ED8;
    --champagne-gold: #D4AF37;
    --gold-deep: #B8962E;
    --charcoal: #1E293B;
    --slate-600: #475569;
    --slate-400: #94A3B8;
    
    /* Accents */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(30, 58, 138, 0.1);
    --blue-glow: rgba(29, 78, 216, 0.05);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* System */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 16px;
    --radius-md: 10px;
    --box-shadow-elite: 0 20px 40px rgba(15, 23, 42, 0.08);
}

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

body {
    background-color: var(--pristine-white);
    color: var(--charcoal);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Navigation & Mega-Menu v2 --- */
.nav-elite {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-top-bar {
    background: var(--royal-navy);
    padding: 10px 0;
}

.nav-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-contact-items {
    display: flex;
    gap: 25px;
}

.nav-contact-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.nav-contact-link:hover {
    color: var(--pristine-white);
}

.nav-main-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-elite {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--royal-navy);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--royal-navy), var(--royal-blue));
    border-radius: 8px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-mark i {
    transform: rotate(-45deg);
    color: var(--pristine-white);
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-item:hover > .nav-link {
    color: var(--royal-blue);
}

/* Mega Menu Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 280px;
    background: var(--pristine-white);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-elite);
}

.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--charcoal);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    gap: 12px;
}

.mega-link:hover {
    background: var(--soft-slate);
    color: var(--royal-blue);
}

.mega-link i {
    font-size: 1rem;
    color: var(--royal-navy);
    width: 20px;
    text-align: center;
}

/* --- Hero Section --- */
.hero-v4 {
    padding: 220px 0 120px;
    background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.05), transparent 40%),
                var(--soft-slate);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.hero-v4 h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--royal-navy);
}

.hero-v4 p {
    font-size: 1.2rem;
    color: var(--slate-600);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

/* --- Elite Buttons --- */
.btn-v4 {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    gap: 12px;
}

.btn-v4-primary {
    background: linear-gradient(135deg, var(--royal-navy), var(--royal-blue));
    color: var(--pristine-white);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.btn-v4-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.35);
}

.btn-v4-outline {
    background: transparent;
    color: var(--royal-navy);
    border: 2px solid var(--royal-navy);
}

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

/* --- Interactive Grid --- */
.elite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 80px 0;
}

.elite-card {
    background: var(--pristine-white);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.elite-card:hover {
    transform: translateY(-8px);
    border-color: var(--royal-blue);
    box-shadow: var(--box-shadow-elite);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--royal-blue);
    margin-bottom: 25px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--royal-navy);
}

.card-desc {
    color: var(--slate-600);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* --- Trusts & Partners --- */
.trust-bar {
    padding: 60px 0;
    background: var(--pristine-white);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.trust-title {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--slate-400);
    margin-bottom: 40px;
}

.partners-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    opacity: 0.7;
    filter: grayscale(1);
    transition: var(--transition-smooth);
}

.partners-flex:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* --- Content Overrides --- */
.elite-content-hub {
    padding: 100px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.elite-content-hub h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--royal-navy);
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--soft-slate);
    padding-bottom: 20px;
}

.elite-content-hub h2, .elite-content-hub h3 {
    font-family: var(--font-heading);
    color: var(--royal-navy);
    margin: 4rem 0 1.5rem;
}

.elite-content-hub p {
    margin-bottom: 2rem;
    color: var(--charcoal);
    font-size: 1.1rem;
    line-height: 1.8;
}

.elite-content-hub li {
    padding: 20px 30px;
    background: var(--soft-slate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
    color: var(--charcoal);
}

.elite-content-hub li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--royal-blue);
}

/* --- Footer v4 --- */
.footer-v4 {
    background: var(--royal-navy);
    padding: 100px 0 50px;
    color: var(--pristine-white);
}

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

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--champagne-gold);
}

.footer-desc {
    color: #94a3b8;
    max-width: 350px;
}

.footer-column h4 {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    color: var(--champagne-gold);
}

.footer-links {
    list-style: none;
}

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

.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--champagne-gold);
    padding-left: 5px;
}

/* --- Floating CTAs --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #22C55E;
    color: white;
    padding: 15px 25px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    z-index: 2000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
}

/* --- Section Labels --- */
.section-label {
    color: var(--royal-blue);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

/* --- Tables --- */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--pristine-white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

th {
    background: var(--royal-navy);
    color: var(--pristine-white);
    padding: 20px 25px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 20px 25px;
    border-bottom: 1px solid var(--soft-slate);
    color: var(--charcoal);
    font-size: 1rem;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--soft-slate); }

/* --- Forms --- */
form {
    background: var(--soft-slate);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--royal-navy);
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--pristine-white);
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

button[type="submit"] {
    background: var(--royal-blue);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(29, 78, 216, 0.2);
}

@media (max-width: 992px) {
    .nav-menu { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
