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

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

:root {
    --navy: #0A1628;
    --burgundy: #8B1538;
    --gold: #C5A572;
    --slate: #2C3E50;
    --tech-blue: #1E40AF;
    --finance-green: #047857;
    --white: #FFFFFF;
    --light-bg: #F8FAFC;
    --text-dark: #1E293B;
    --text-light: #64748B;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.logo {
    font-family: 'EB Garamond', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--gold);
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

/* Sections */
section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: 
        linear-gradient(30deg, var(--gold) 12%, transparent 12.5%, transparent 87%, var(--gold) 87.5%),
        linear-gradient(150deg, var(--gold) 12%, transparent 12.5%, transparent 87%, var(--gold) 87.5%);
    background-size: 80px 140px;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(140px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1200px;
    animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'EB Garamond', serif;
    font-size: 4rem;
    color: var(--white);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--burgundy);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'EB Garamond', serif;
    font-size: 3rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Vision Cards */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.vision-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
    padding: 3rem;
    border-radius: 15px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
}

.vision-card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.vision-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.company-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.company-card.advisory:hover { border-color: var(--burgundy); }
.company-card.tech:hover { border-color: var(--tech-blue); }
.company-card.finance:hover { border-color: var(--finance-green); }

.company-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.badge-live { background: #10B981; color: white; }
.badge-soon { background: #F59E0B; color: white; }

.company-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.company-card.advisory .company-icon { background: var(--burgundy); }
.company-card.tech .company-icon { background: var(--tech-blue); }
.company-card.finance .company-icon { background: var(--finance-green); }

.icon {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.company-card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--navy);
}

.company-tagline {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.company-services {
    list-style: none;
    margin: 1.2rem 0;
}

.company-services li {
    padding: 0.4rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    padding-left: 1.2rem;
    position: relative;
}

.company-services li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--burgundy);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.company-link:hover {
    transform: translateX(5px);
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

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

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.value-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon-circle .icon {
    stroke: white;
    width: 35px;
    height: 35px;
}

.value-card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

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

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.team-member {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--burgundy), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo .icon {
    width: 60px;
    height: 60px;
}

.team-member h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.team-role {
    color: var(--burgundy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.7;
}

/* Feature Boxes */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--burgundy);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.feature-box h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

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

.feature-box ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.feature-box li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--burgundy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon .icon {
    stroke: white;
    width: 24px;
    height: 24px;
}

.contact-details h4 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-light);
}

.contact-details a {
    color: var(--burgundy);
    text-decoration: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

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

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--burgundy) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

.cta-section .btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

/* Legal Pages */
.page-header {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: var(--light-bg);
}

.page-header h1 {
    font-family: 'EB Garamond', serif;
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-light);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h2 {
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--navy);
}

.legal-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--navy);
}

.legal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin: 1rem 0;
}

.footer-section h4 {
    font-family: 'EB Garamond', serif;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent p {
    flex: 1;
    margin: 0;
}

.cookie-consent a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--gold);
    color: var(--navy);
}

.cookie-accept:hover {
    transform: translateY(-2px);
}

.cookie-decline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

/* Exit Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.exit-popup.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    max-width: 550px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.exit-popup.show .exit-popup-content {
    transform: scale(1);
}

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

.exit-popup h3 {
    font-family: 'EB Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.exit-popup p {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .companies-grid,
    .values-grid,
    .team-grid,
    .feature-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .vision-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    nav { padding: 0.8rem 0; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--navy);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 1.5rem 50px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .companies-grid,
    .values-grid,
    .team-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-consent {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .exit-popup-content {
        margin: 1rem;
        padding: 2rem;
    }
}