/* Color Palette: Navy Blue, Ice Blue, White */
:root {
    --navy: #1A237E;
    --ice-blue: #E1F5FE;
    --accent: #00E5FF;
    --white: #FFFFFF;
    --grey: #F5F7FA;
    --text-dark: #2C3E50;
    
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--grey);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }

/* Header */
.portal-header { background: rgba(255, 255, 255, 0.95); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--navy); letter-spacing: 1px; }
.blue { color: var(--accent); }

.hub-nav a { margin-left: 25px; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; color: #555; }
.hub-nav a:hover, .hub-nav a.active { color: var(--navy); }

.btn-primary { background: var(--navy); color: var(--white) !important; padding: 12px 30px; border-radius: 50px; font-weight: 700; box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3); }

/* Mobile Menu */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 3px; background: var(--navy); }

.mobile-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--navy); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
.mobile-overlay.active { right: 0; }
.close-btn { position: absolute; top: 20px; right: 20px; color: var(--white); background: none; border: none; font-size: 2.5rem; cursor: pointer; }
.mobile-overlay a { color: var(--white); font-family: var(--font-head); font-size: 2rem; margin: 15px 0; }

@media (max-width: 900px) {
    .hub-nav { display: none; }
    .mobile-toggle { display: flex; }
}

/* Hero */
.hero-portal { height: 85vh; background-size: cover; background-position: center; position: relative; }
.glass-layer { width: 100%; height: 100%; background: rgba(26, 35, 126, 0.4); backdrop-filter: blur(2px); display: flex; align-items: center; }
.hero-content { margin-left: 5%; color: var(--white); max-width: 650px; }
.top-label { color: var(--accent); font-weight: 800; letter-spacing: 3px; font-size: 0.8rem; margin-bottom: 20px; display: block; }
.hero-content h1 { font-family: var(--font-head); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

.cta-row { display: flex; gap: 15px; }
.btn-solid { background: var(--white); color: var(--navy); padding: 15px 35px; border-radius: 50px; font-weight: 700; font-family: var(--font-head); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); padding: 13px 35px; border-radius: 50px; font-weight: 700; }

/* Features */
.section-title h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--navy); }
.blue-line { width: 60px; height: 5px; background: var(--accent); margin: 15px auto 0; }
.blue-line.left { margin: 20px 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.feat-card { background: var(--white); padding: 40px 25px; text-align: center; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: 0.3s; }
.feat-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.feat-card .icon { font-size: 3rem; margin-bottom: 20px; }
.feat-card h3 { font-family: var(--font-head); color: var(--navy); margin-bottom: 10px; }
.feat-card p { color: #666; font-size: 0.95rem; }

/* Split View Section */
.split-view { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; }
.text-box h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--navy); margin-bottom: 20px; }
.link-more { color: var(--accent); font-weight: 700; }

/* About & Contact */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-content h1 { font-family: var(--font-head); font-size: 3rem; color: var(--navy); line-height: 1.1; }
.spec-list { list-style: none; margin-top: 30px; }
.spec-list li { margin-bottom: 10px; font-weight: 700; color: var(--navy); }
.visual-content img { box-shadow: 20px 20px 0 var(--ice-blue); }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--white); padding: 60px; border-radius: 15px; }
.contact-info h2 { font-family: var(--font-head); color: var(--navy); }
.info-list { margin-top: 30px; font-weight: 500; }

.portal-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.portal-form input, .portal-form select, .portal-form textarea { width: 100%; padding: 15px; border: 1px solid #DDD; background: var(--grey); border-radius: 8px; font-family: var(--font-body); }
.btn-submit { width: 100%; background: var(--navy); color: var(--white); border: none; padding: 15px; font-family: var(--font-head); font-weight: 700; border-radius: 8px; cursor: pointer; }

/* Testimonials */
.testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.testi-card { background: var(--white); padding: 40px 30px; border-radius: 12px; position: relative; }
.testi-card.highlight { background: var(--ice-blue); }
.testi-card strong { display: block; margin-top: 20px; color: var(--navy); font-weight: 800; }

.legal-box { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border-radius: 15px; }
.legal-box h1 { font-family: var(--font-head); color: var(--navy); }
.legal-box h3 { color: var(--accent); margin-top: 30px; }

/* Footer */
.portal-footer { background: var(--navy); color: #BBB; padding: 80px 0 30px; margin-top: 100px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 20px; }
.f-brand h4 { color: var(--white); font-family: var(--font-head); font-size: 1.5rem; }
.f-links a { margin-left: 25px; color: var(--accent); font-weight: 600; }
.copyright { text-align: center; font-size: 0.85rem; }

/* Cookie */
.cookie-hub { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--white); border-radius: 50px; padding: 10px 30px; display: flex; align-items: center; gap: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); z-index: 3000; display: none; }
.cookie-hub.active { display: flex; }
.cookie-hub button { background: var(--navy); color: var(--white); border: none; padding: 8px 20px; border-radius: 30px; font-weight: 700; cursor: pointer; }

@media (max-width: 900px) {
    .feature-grid, .split-view, .about-layout, .contact-wrapper, .testi-row, .portal-form .form-row { grid-template-columns: 1fr; }
    .hero-content { text-align: center; margin: 0 auto; padding: 0 5%; }
    .cta-row { justify-content: center; }
    .footer-grid { flex-direction: column; text-align: center; gap: 30px; }
}