/* ===== RESET ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { opacity: 0; transition: opacity 0.35s ease; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; }
body.loaded { opacity: 1; }
.site { font-family: 'Manrope', sans-serif; background: #0d2640; background-image: radial-gradient(ellipse at 20% 12%, rgba(106, 170, 212, 0.1) 0%, transparent 50%); color: #ddeaf6; position: relative; }

/* ===== NAV ===== */
.nav { padding: 1.4rem 3rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(184,208,228,0.4); background: rgba(221,234,246,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 100; transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); view-transition-name: nav; }
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.15); }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-name { font-size: 20px; font-weight: 600; color: #0d2640; }
.nav-links { display: flex; gap: 28px; align-items: center; order: 2; margin-left: auto; }
.nav-link { font-size: 12px; font-weight: 500; color: #0d2640; letter-spacing: 0.04em; cursor: pointer; transition: color 0.25s; }
.nav-link.active { color: #0d2640; font-weight: 700; border-bottom: 2px solid #0d2640; padding-bottom: 2px; }
.nav-cta { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #ddeaf6; background: #0d2640; border: none; padding: 8px 20px; border-radius: 4px; cursor: pointer; transition: opacity 0.25s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }
.nav-logo-link svg { width: 48px; height: auto; }
.nav-right { display: none; align-items: center; gap: 12px; order: 3; }

/* ===== HAMBURGER ===== */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: #0d2640; transition: transform 0.25s, opacity 0.2s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn-primary { font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #0d2640; background: #e8a030; border: none; padding: 16px 32px; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block; transition: opacity 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(232,160,48,0.25); }
.btn-ghost { font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: #c0d8e8; background: none; border: 1px solid #2a5070; padding: 15px 28px; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block; transition: border-color 0.3s, color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-ghost:hover { border-color: #6aaad4; color: #6aaad4; transform: translateY(-2px); }

/* ===== SCROLL ANIMATIONS ===== */
html { scroll-behavior: smooth; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid #2a5a80; background: #07111e; padding: 3.5rem 3rem 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 4rem; margin-bottom: 2.5rem; }
.footer-brand-name { font-size: 16px; font-weight: 600; color: #ddeaf6; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 13px; font-weight: 300; color: #9acce0; font-style: italic; margin-bottom: 1.2rem; }
.footer-compliance { font-size: 10px; font-weight: 300; color: #5a7a90; line-height: 1.7; }
.footer-col-label { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #6aaad4; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 13px; font-weight: 300; color: #9acce0; text-decoration: none; transition: color 0.25s; }
.footer-link:hover { color: #ddeaf6; }
.footer-contact-item { font-size: 13px; font-weight: 300; color: #9acce0; line-height: 1.6; margin-bottom: 0.8rem; }
.footer-bottom { border-top: 1px solid #2a5a80; padding-top: 1.5rem; }
.footer-copy { font-size: 10px; font-weight: 300; color: #5a7a90; letter-spacing: 0.06em; }
.back-to-top { display: block; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #6aaad4; text-decoration: none; margin-bottom: 1.2rem; transition: color 0.25s, letter-spacing 0.3s; }
.back-to-top:hover { color: #ddeaf6; letter-spacing: 0.14em; }

/* ===== SKIP LINK ===== */
.skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: #e8a030; color: #0d2640; padding: 8px 16px; border-radius: 0 0 4px 4px; font-size: 13px; font-weight: 600; z-index: 200; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* ===== CTA DIRECT LINK ===== */
.cta-direct { display: block; margin-top: 1.2rem; font-size: 13px; font-weight: 400; color: #9acce0; text-decoration: none; letter-spacing: 0.04em; }
.cta-direct:hover { color: #6aaad4; }

/* ===== AURORA ===== */
.aurora { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora::before, .aurora::after { content: ''; position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; }
.aurora::before { width: 700px; height: 700px; background: rgba(106,170,212,0.13); top: -15%; left: 0%; animation: aur1 16s ease-in-out infinite alternate; }
.aurora::after { width: 550px; height: 550px; background: rgba(154,204,224,0.09); top: 5%; right: 5%; animation: aur2 20s ease-in-out infinite alternate; }
@keyframes aur1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(60px,-40px) scale(1.08); } }
@keyframes aur2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-50px,50px) scale(0.92); } }

/* ===== NOISE TEXTURE ===== */
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.028; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; }

/* ===== SHIMMER BORDER ===== */
@property --border-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.shimmer-border { --card-bg: #0d2640; border: 1.5px solid transparent !important; background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box, conic-gradient(from var(--border-angle), #1e3e5c 0%, #6aaad4 12%, #1e3e5c 28%, #1e3e5c 50%, #6aaad4 62%, #1e3e5c 78%) border-box !important; animation: border-spin 8s linear infinite; }
@keyframes border-spin { to { --border-angle: 360deg; } }

/* ===== LOGO DRAW ===== */
.logo-stroke { stroke-dasharray: 200; stroke-dashoffset: 200; animation: logoDraw 2s cubic-bezier(0.16,1,0.3,1) forwards; }
.logo-line { stroke-dasharray: 60; stroke-dashoffset: 60; animation: logoDraw 1s cubic-bezier(0.16,1,0.3,1) 0.6s forwards; }
.logo-fill { opacity: 0; animation: logoFadeIn 0.8s ease 0.8s forwards; }
.logo-glow { opacity: 0; animation: logoFadeIn 0.5s ease 1.4s forwards; }
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
@keyframes logoFadeIn { to { opacity: 1; } }

/* ===== CURSOR GLOW ===== */
.cursor-glow { position: fixed; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(106,170,212,0.06) 0%, transparent 70%); pointer-events: none; z-index: 1; transform: translate(-50%,-50%); opacity: 0; transition: opacity 0.4s; }
.cursor-glow.active { opacity: 1; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, #e8a030, #6aaad4); z-index: 101; width: 0%; pointer-events: none; }

/* ===== VIEW TRANSITIONS ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.25s cubic-bezier(0.16,1,0.3,1); }
::view-transition-new(root) { animation: vtIn 0.25s cubic-bezier(0.16,1,0.3,1); }
::view-transition-old(nav), ::view-transition-new(nav) { animation: none; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

/* ===== TEXT SHIMMER ===== */
.text-shimmer { background: linear-gradient(120deg, #6aaad4 0%, #a0d4ee 30%, #ddeaf6 50%, #a0d4ee 70%, #6aaad4 100%); background-size: 250% 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: textShimmer 5s ease-in-out infinite; }
@keyframes textShimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ===== 3D TILT ===== */
.tilt-card { transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s, border-color 0.35s !important; will-change: transform; }
.tilt-card:hover { box-shadow: 0 12px 40px rgba(106,170,212,0.15) !important; transform: none; }

/* ===== FOCUS STYLES ===== */
:focus-visible { outline: 2px solid #6aaad4; outline-offset: 3px; border-radius: 4px; }
.nav-link:focus-visible { outline-offset: 2px; }
.nav-cta:focus-visible { outline-color: #ddeaf6; }
.btn-primary:focus-visible, .submit-btn:focus-visible { outline-color: #e8a030; outline-offset: 4px; }
.btn-ghost:focus-visible { outline-color: #6aaad4; outline-offset: 4px; }
.footer-link:focus-visible { outline-offset: 2px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) { .reveal { transition: none !important; opacity: 1 !important; transform: none !important; } .aurora::before, .aurora::after { animation: none !important; } }

/* ===== SHARED INNER-PAGE HERO ===== */
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #9acce0; margin-bottom: 1.4rem; }

/* ===== SHARED CTA SECTION (inner pages) ===== */
.cta { background: #07111e; border-top: 1px solid #2a5a80; padding: 7rem 3rem; text-align: center; }
.cta h2 { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; color: #ddeaf6; margin-bottom: 1.2rem; line-height: 1.1; }
.cta p { font-size: 17px; font-weight: 300; color: #c0d8e8; margin-bottom: 2.5rem; line-height: 1.7; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .btn-ghost { margin-left: 12px; }
.cta em { display: block; margin-top: 1.8rem; font-size: 14px; font-weight: 400; color: #7aacca; }

/* ===== MOBILE: HOVER DISABLE (base selectors) ===== */
@media (hover: none), (max-width: 768px) {
  .btn-primary:hover, .btn-ghost:hover, .nav-cta:hover { transform: none !important; box-shadow: none !important; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .noise { display: none; }
  .aurora::before, .aurora::after { animation: none; filter: blur(60px); width: 300px; height: 300px; }
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #ddeaf6; }
  .text-shimmer { animation: none; background: none; -webkit-background-clip: unset; -webkit-text-fill-color: #a0d4ee; background-clip: unset; }
  .nav { padding: 0.85rem 1.2rem; flex-wrap: wrap; align-items: center; }
  .nav-logo-link { flex: 1 1 auto; min-width: 0; }
  .nav-logo-link svg { width: 40px; height: auto; flex-shrink: 0; }
  .nav-name { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-right { display: flex; margin-left: auto; order: 2; flex-shrink: 0; }
  .nav-hamburger { display: flex; padding: 12px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .nav-links { flex-direction: column; gap: 0; width: 100%; margin-top: 0.85rem; background: #c8dcea; border-top: 0.5px solid #b8d0e4; max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s; opacity: 0; display: flex; order: 3; }
  .nav-links.open { max-height: 460px; opacity: 1; }
  .nav-links a { padding: 0.95rem 1.2rem !important; border-bottom: 0.5px solid #b8d0e4 !important; font-size: 14px !important; letter-spacing: 0.04em !important; color: #0d2640 !important; }
  .nav-links .nav-cta { align-self: stretch; display: block !important; background: #e8a030 !important; color: #0d2640 !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0.12em !important; text-transform: uppercase; padding: 1.05rem 1.2rem !important; margin: 0.9rem 1.2rem 1rem !important; border-radius: 6px !important; border-bottom: none !important; text-align: center; box-shadow: 0 6px 18px rgba(232,160,48,0.18); }
  .shimmer-border { border: 1.5px solid #2a5a80 !important; background: none !important; animation: none; }
  .footer { padding: 2rem 1.4rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { text-align: center; }
  .footer-link { padding: 6px 0; display: inline-block; }
  .cta { padding: 3.5rem 1.4rem; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 15px; }
  .cta .btn-ghost { margin-left: 0; margin-top: 12px; }
}
