/* 
   Kingschartered - Global Banking Design System 
   Ultra-Premium, Modern, Secure, Visionary
*/

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

:root {
    /* Color Palette - Royal & Prestige */
    --primary-color: #0c0e14; /* Charcoal Black */
    --accent-color: #dab67a; /* Muted Gold */
    --accent-hover: #e6c794;
    --royal-blue: #1a2a6c;
    --royal-gradient: linear-gradient(135deg, #0c0e14 0%, #1a2a6c 100%);
    --gold-gradient: linear-gradient(135deg, #dab67a 0%, #b8860b 100%);
    
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --text-dark: #121212;
    
    --white: #ffffff;
    --bg-dark: #080a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-secondary: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1300px;
    --header-height: 90px;
    --section-padding: 120px;

    /* Effects */
    --glass: blur(15px) saturate(180%);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent-color);
    color: var(--primary-color);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: var(--glass);
    background-color: rgba(8, 10, 15, 0.8);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

header.scrolled {
    height: 75px;
    background-color: rgba(8, 10, 15, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
}

.btn-login:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background: linear-gradient(rgba(8, 10, 15, 0.8), rgba(8, 10, 15, 0.7)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(26, 42, 108, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(218, 182, 122, 0.1);
    border: 1px solid rgba(218, 182, 122, 0.2);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero h1 span {
    display: block;
    color: var(--accent-color);
    font-style: italic;
    font-weight: 400;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 18px 36px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(218, 182, 122, 0.2);
}

.btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(218, 182, 122, 0.3);
}

.btn-outline {
    border: 1px solid var(--border-glass);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
}

/* Stats Section */
.quick-stats {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.services {
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 80px;
    max-width: 700px;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--bg-card);
    padding: 50px;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-item p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.read-more {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Feature Showcase */
.showcase {
    padding: var(--section-padding) 0;
    background: #0a0c12;
}

.showcase-flex {
    display: flex;
    align-items: center;
    gap: 100px;
}

.showcase-img {
    flex: 1;
    position: relative;
}

.showcase-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

.showcase-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.showcase-badge h4 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.showcase-content {
    flex: 1;
}

.feature-list {
    margin-top: 40px;
}

.feature-point {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-point i {
    color: var(--accent-color);
    font-size: 1.5rem;
    padding-top: 5px;
}

.feature-point h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
}

.feature-point p {
    color: var(--text-muted);
}

/* Private Banking Section */
.private-banner {
    padding: 150px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80\u0026w=2070\u0026auto=format\u0026fit=crop');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

.private-inner {
    max-width: 800px;
    margin: 0 auto;
}

.private-inner h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding) 0;
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.client-meta img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.client-info h5 {
    font-family: var(--font-secondary);
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-wrapper {
    padding: var(--section-padding) 0;
    background: #0a0c12;
}

.contact-grid-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-details h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method i {
    width: 60px;
    height: 60px;
    background: rgba(218, 182, 122, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
}

.contact-method h4 {
    margin-bottom: 5px;
    font-family: var(--font-secondary);
}

.contact-method p {
    color: var(--text-muted);
}

.contact-form-premium {
    background: var(--bg-card);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 15px 20px;
    color: var(--white);
    font-family: var(--font-secondary);
    border-radius: 4px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

textarea.form-control {
    min-height: 150px;
    resize: none;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
}

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

.footer-brand .logo {
    margin-bottom: 30px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer-col h4 {
    font-family: var(--font-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--white);
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

/* Responsive */
@media (max-width: 1200px) {
    .showcase-flex {
        flex-direction: column;
        gap: 60px;
    }
    
    .showcase-img {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    
    .nav-links, .auth-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .private-inner h2 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .testimonial-track {
        grid-template-columns: 1fr;
    }
}

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

.hero-content {
    animation: fadeInUp 1s ease-out forwards;
}