:root {
    /* Color Palette */
    --bg-main: #ffffff;          
    --bg-offset: #f8fafc;        
    --bg-card: #ffffff;          
    --text-main: #0f172a;        
    --text-muted: #475569;       
    --accent: #2563eb;           
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;     
    --border: #e2e8f0;           
    
    /* Layout & Sizing */
    --nav-height: 80px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; transition: all 0.3s ease; }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Mobile Interaction Fixes --- */
body.no-scroll { overflow: hidden; }
.logo-link.no-pointer { pointer-events: none; }

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-link { display: flex; align-items: center; z-index: 1002; }
.header-logo { height: 32px; width: auto; display: block; transition: transform 0.3s ease; }
.logo-link:hover .header-logo { transform: scale(1.02); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%;
    height: 2px; background-color: var(--accent); transition: width 0.3s ease; border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.mobile-toggle {
    display: none; color: var(--text-main); font-size: 1.5rem;
    cursor: pointer; z-index: 1002; background: none; border: none; padding: 8px;
}

/* --- Hero Section --- */
.hero {
    min-height: 85vh; display: flex; align-items: center;
    padding-top: calc(var(--nav-height) + 40px);
    background: linear-gradient(135deg, var(--bg-main) 0%, #f0f4ff 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -10%; right: -5%;
    width: 600px; height: 600px; border-radius: 50%; z-index: 0;
    background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
}
.hero-content { max-width: 1050px; position: relative; z-index: 1; text-align: left; }

.formal-kicker {
    font-size: 0.9rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--accent); margin-bottom: 24px; display: block;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800;
    line-height: 1.05; letter-spacing: -2px; margin-bottom: 20px; color: var(--text-main);
}
.hero p { font-size: clamp(1.1rem, 2.5vw, 1.35rem); color: var(--text-muted); font-weight: 400; max-width: 850px; }

/* --- Interior Headers --- */
.interior-header {
    padding: calc(var(--nav-height) + 60px) 0 40px; border-bottom: 1px solid var(--border);
    background: linear-gradient(to right, var(--bg-offset), var(--bg-main)); text-align: left;
}
.interior-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
    letter-spacing: -1.5px; margin-bottom: 16px; color: var(--text-main);
}
.interior-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 800px; margin: 0; }

/* --- Sections & Grids --- */
section { padding: 80px 0; }
.section-title { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 40px; color: var(--text-main); text-align: left; }
.bg-offset-section { background: var(--bg-offset); }

.grid-3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.grid-3 > .card { flex: 1 1 300px; max-width: 380px; width: 100%; }

.grid-2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.grid-2 > .card { flex: 1 1 360px; max-width: 500px; width: 100%; }

/* --- Cards --- */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px 32px;
    box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; text-align: left;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(37, 99, 235, 0.2); }

.card i {
    font-size: 2.2rem; color: var(--accent); margin-bottom: 24px;
    background: var(--accent-light); width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md);
}
.card h3 { font-size: 1.4rem; margin-bottom: 12px; font-weight: 700; color: var(--text-main); letter-spacing: -0.5px; }
.card p { color: var(--text-muted); font-size: 1.05rem; flex-grow: 1; }

.transparent-card { max-width: 1000px !important; border: none; background: transparent; box-shadow: none; padding: 0; }
.transparent-card h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 24px; color: var(--text-main); }
.transparent-card p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 20px; }

.hq-card { max-width: 900px !important; padding-left: 0; background: transparent; border: none; box-shadow: none; margin-top: 64px; }
.hq-card h2 { font-size: 2.2rem; font-weight: 800; color: var(--text-main); }
.hq-card p { font-size: 1.15rem; margin-top: 16px; color: var(--text-muted); }

.story-block { margin-bottom: 32px; padding: 48px 40px; max-width: 100% !important; }
.last-story-block { margin-bottom: 0; }
.story-block h2 { font-size: 2rem; margin-bottom: 20px; font-weight: 800; letter-spacing: -0.5px; }
.story-block p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 16px; }

.highlight-box { background: var(--accent-light); border-left: 4px solid var(--accent); padding: 24px 32px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 32px 0; }
.highlight-box strong { color: var(--accent); display: block; margin-bottom: 8px; font-size: 1.1rem; }

.formal-status { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; color: #166534; margin-bottom: 16px; display: block; letter-spacing: 1px; }
.partner-desc { margin-top: 12px; }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.metrics strong { display: block; color: var(--text-main); margin-bottom: 4px; font-weight: 600; }
.metrics span { color: var(--text-muted); font-size: 0.95rem; }

/* --- Forms & Buttons --- */
.action-link {
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--accent); font-weight: 600; font-size: 1.05rem; margin-top: 24px;
    background: var(--bg-main); padding: 10px 20px; border-radius: var(--radius-md);
    border: 1px solid var(--border); transition: all 0.3s ease;
}
.action-link:hover { background: var(--accent); color: white; border-color: var(--accent); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); }

.form-container { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
label { display: block; font-size: 0.95rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], select, textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border);
    border-radius: var(--radius-md); background: var(--bg-offset);
    color: var(--text-main); font-size: 1rem; font-family: 'Inter', sans-serif; transition: all 0.3s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-main); box-shadow: 0 0 0 3px var(--accent-light); }
textarea { resize: vertical; min-height: 150px; }

.submit-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #ffffff; font-weight: 600; font-size: 1.05rem;
    padding: 14px 32px; border: none; border-radius: var(--radius-md); cursor: pointer; transition: all 0.3s ease; width: 100%;
}
.submit-btn:hover { background: var(--accent-hover); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.form-disclaimer { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; line-height: 1.5; text-align: center; }

#formStatus { margin-top: 16px; padding: 16px; border-radius: var(--radius-md); display: none; font-weight: 600; text-align: center; }
.status-success { background: #dcfce7; color: #166534; display: block !important; }
.status-error { background: #fee2e2; color: #b91c1c; display: block !important; }

/* --- Footer --- */
footer { background: linear-gradient(135deg, #0a192f 0%, #060d1a 100%); color: #94a3b8; padding: 80px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
.footer-col { display: flex; flex-direction: column; }
.footer-logo { height: 36px; width: auto; display: block; margin-bottom: 16px; opacity: 0.95; transition: opacity 0.3s ease; }
.footer-logo:hover { opacity: 1; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 24px; color: #ffffff; font-weight: 600; }
.footer-col p, .footer-col a { color: #8892b0; margin-bottom: 12px; display: block; font-size: 0.95rem; }
.footer-col a:hover { color: #64ffda; transform: translateX(4px); }
.footer-ops { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #8892b0; font-size: 0.9rem; line-height: 1.8; }
.footer-ops strong { color: #ffffff; display: block; margin-bottom: 4px; font-weight: 600; }
.copyright { text-align: center; color: #4a5568; font-size: 0.9rem; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.05); }

footer .logo-link {
    z-index: auto;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .footer-col { align-items: center; }
    .footer-col p { text-align: center; margin: 0 auto 12px auto; }
    .footer-logo { margin: 0 auto 16px auto; }
    .footer-ops { width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }
    .footer-col a:hover { transform: translateY(-2px); } 
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px);
        flex-direction: column; justify-content: flex-start; align-items: flex-start;
        padding-top: 120px; padding-left: 40px; gap: 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; font-weight: 700; color: var(--text-main); }
    .nav-links a::after { display: none; }
    .nav-links a:hover, .nav-links a.active { color: var(--accent); }

    section { padding: 60px 0; }
    .hero { padding-top: calc(var(--nav-height) + 20px); min-height: 70vh; text-align: left; }
    .interior-header { padding: 100px 0 40px; text-align: left; }
    .story-block { padding: 32px 24px; }
    .metrics { grid-template-columns: 1fr; gap: 16px; }
    .card { padding: 32px 24px; }
    .highlight-box { border-left: none; border-top: 4px solid var(--accent); border-radius: 0 0 var(--radius-md) var(--radius-md); }
}

/* --- Success Modal --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: var(--bg-main); width: 90%; max-width: 400px;
    padding: 40px 32px; border-radius: var(--radius-lg);
    text-align: center; box-shadow: var(--shadow-lg);
    transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-icon {
    width: 64px; height: 64px; background: #dcfce7; color: #166534;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 24px auto;
}
.modal-content h3 { font-size: 1.5rem; color: var(--text-main); margin-bottom: 12px; font-weight: 800; letter-spacing: -0.5px; }
.modal-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; }
.modal-btn {
    background: var(--accent); color: white; border: none; padding: 12px 32px;
    border-radius: var(--radius-md); font-size: 1.05rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; width: 100%;
}
.modal-btn:hover { background: var(--accent-hover); }