:root {
    --navy: #071a3a;
    --navy-2: #0b2859;
    --blue: #0f66ff;
    --blue-2: #198cff;
    --text: #17223b;
    --muted: #667085;
    --soft: #f6f9ff;
    --border: #e6ecf5;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(7, 26, 58, .10);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: 'Manrope', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; }
img { max-width: 100%; }
.section-padding { padding: 108px 0; }
.bg-soft { background: var(--soft); }
.bg-navy { background: linear-gradient(135deg, #06162f 0%, #0b2554 100%); }

#mainNav { padding: 12px 0; background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(230,236,245,.75); backdrop-filter: blur(16px); transition: all .3s ease; }
#mainNav.scrolled { padding: 7px 0; box-shadow: 0 10px 35px rgba(7,26,58,.07); }
.navbar-nav .nav-link { color: #35415c; font-size: .92rem; font-weight: 700; padding: .65rem .8rem !important; position: relative; }
.navbar-nav .nav-link::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: center; transition: .25s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--blue); }
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.menu-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy); border-radius: 12px; background: var(--soft); }

.btn { border-radius: 12px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { color: white; border: 0; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 26px rgba(15,102,255,.24); }
.btn-brand:hover { color: white; box-shadow: 0 14px 34px rgba(15,102,255,.34); }
.btn-outline-brand { border: 1px solid #cbd7e8; background: white; color: var(--navy); }
.btn-outline-brand:hover { border-color: var(--blue); color: var(--blue); background: #f8fbff; }
.btn-light-brand { background: rgba(255,255,255,.10); color: white; border: 1px solid rgba(255,255,255,.24); padding: .8rem 1.1rem; }
.btn-light-brand:hover { background: white; color: var(--navy); }
.btn-white { background: white; color: var(--navy); border: 0; padding: .9rem 1.35rem; }
.btn-white:hover { color: var(--blue); }

.hero-section { min-height: 100vh; padding-top: 74px; background: radial-gradient(circle at 80% 20%, rgba(25,140,255,.08), transparent 28%), linear-gradient(180deg,#fff 0%,#fbfdff 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(15,102,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15,102,255,.06) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 90%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-one { width: 360px; height: 360px; right: -150px; top: 16%; background: rgba(15,102,255,.06); }
.hero-orb-two { width: 220px; height: 220px; left: -110px; bottom: 8%; background: rgba(7,26,58,.04); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border-radius: 999px; border: 1px solid #dbe7f7; background: rgba(255,255,255,.75); color: var(--navy-2); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(15,102,255,.10); }
.hero-title { max-width: 760px; margin: 22px 0 20px; font-size: clamp(3rem, 6.5vw, 6.2rem); font-weight: 800; line-height: .98; letter-spacing: -.065em; color: var(--navy); }
.hero-title span { background: linear-gradient(135deg, var(--blue) 10%, #2aa0ff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 660px; color: var(--muted); font-size: clamp(1rem,1.5vw,1.18rem); }
.hero-trust > div { display: flex; flex-direction: column; }
.hero-trust strong { color: var(--navy); font-size: 1.45rem; line-height: 1.2; }
.hero-trust span { color: var(--muted); font-size: .75rem; font-weight: 700; }
.hero-visual { position: relative; width: min(100%, 470px); aspect-ratio: 1/1; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 78%; height: 78%; border-radius: 50%; background: radial-gradient(circle, rgba(15,102,255,.19), rgba(15,102,255,.03) 55%, transparent 72%); animation: pulse 5s ease-in-out infinite; }
.logo-card { width: 74%; aspect-ratio: 1/1; border-radius: 34px; display: grid; place-items: center; background: rgba(255,255,255,.9); border: 1px solid rgba(218,229,245,.9); box-shadow: 0 30px 80px rgba(7,26,58,.16); transform: rotate(2deg); }
.hero-logo { width: 90%; height: 90%; object-fit: contain; border-radius: 24px; }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 13px; background: rgba(255,255,255,.94); color: var(--navy); box-shadow: 0 12px 35px rgba(7,26,58,.13); border: 1px solid #edf2f8; font-weight: 800; font-size: .82rem; animation: float 5s ease-in-out infinite; }
.floating-chip i { color: var(--blue); }
.chip-one { top: 14%; left: 0; }.chip-two { right: -2%; top: 40%; animation-delay: .8s; }.chip-three { left: 6%; bottom: 14%; animation-delay: 1.5s; }
@keyframes float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)} }
@keyframes pulse { 0%,100%{transform:scale(1)}50%{transform:scale(1.06)} }

.section-heading { max-width: 740px; }
.section-kicker { margin-bottom: 12px; color: var(--blue); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.section-kicker.light { color: #7fb2ff; }
.section-title { color: var(--navy); font-size: clamp(2.1rem, 4vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; margin-bottom: 18px; }
.section-copy { color: var(--muted); font-size: 1.02rem; }
.text-link { color: var(--blue); font-weight: 800; }
.text-link:hover { color: var(--navy); }
.check-item { display: flex; gap: 10px; align-items: center; color: #34405a; font-weight: 700; font-size: .92rem; }
.check-item i { color: var(--blue); }

.about-visual { min-height: 470px; display: flex; align-items: center; }
.about-visual::before { content:''; position:absolute; width:75%; height:75%; left: 3%; top: 8%; border-radius: 36px; background: linear-gradient(145deg, rgba(15,102,255,.15), rgba(7,26,58,.04)); transform: rotate(-5deg); }
.about-panel { position: relative; z-index: 2; border: 1px solid #e1e9f4; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
.main-panel { width: 82%; border-radius: 28px; padding: 42px; }
.main-panel .panel-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color:white; font-size:1.4rem; background: linear-gradient(135deg,var(--navy),var(--blue)); }
.main-panel h3 { color: var(--navy); font-weight:800; margin: 24px 0 12px; }
.main-panel p { color: var(--muted); }
.tech-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }.tech-tags span { padding:7px 11px; border-radius:999px; color:var(--blue); background:#eef5ff; font-size:.75rem; font-weight:800; }
.mini-panel { position:absolute; right:0; bottom:7%; width:190px; padding:20px; border-radius:18px; display:grid; gap:2px; }.mini-panel i{color:var(--blue);font-size:1.3rem;margin-bottom:6px}.mini-panel strong{color:var(--navy)}.mini-panel small{color:var(--muted)}

.service-card { position:relative; padding:30px; border-radius:var(--radius); border:1px solid var(--border); background:white; box-shadow:0 8px 30px rgba(7,26,58,.045); transition:.3s ease; overflow:hidden; }
.service-card::after { content:''; position:absolute; width:110px; height:110px; right:-55px; top:-55px; border-radius:50%; background:rgba(15,102,255,.05); transition:.3s ease; }
.service-card:hover { transform:translateY(-7px); border-color:#cadcf7; box-shadow:var(--shadow); }.service-card:hover::after{transform:scale(1.5)}
.service-icon { width:54px;height:54px;border-radius:15px;display:grid;place-items:center;color:var(--blue);background:#edf5ff;font-size:1.25rem;margin-bottom:24px; }
.service-card h3 { color:var(--navy); font-size:1.05rem; font-weight:800; margin-bottom:12px; }.service-card p{color:var(--muted);font-size:.88rem;line-height:1.75;margin-bottom:20px}.service-card a{color:var(--navy);font-weight:800;font-size:.82rem}.service-card a i{color:var(--blue);margin-left:5px;transition:.2s}.service-card:hover a i{transform:translateX(4px)}

#projects { position:relative; } #projects::before { content:'';position:absolute;width:520px;height:520px;border-radius:50%;right:-200px;top:-170px;background:rgba(15,102,255,.13);filter:blur(5px)}
.project-card { position:relative; border-radius:26px; border:1px solid rgba(255,255,255,.13); background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.04)); box-shadow:0 24px 60px rgba(0,0,0,.16); overflow:hidden; }
.project-card.featured { min-height:430px; padding:34px; display:flex; flex-direction:column; justify-content:space-between; }.project-top{display:flex;justify-content:space-between;align-items:center}.project-top>i{color:#75aaff}.project-badge{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(38,129,255,.18);border:1px solid rgba(99,160,255,.25);color:#a9caff;font-size:.72rem;font-weight:800}.project-content{max-width:70%;position:relative;z-index:2}.project-card h3{color:#fff;font-size:1.7rem;font-weight:800;letter-spacing:-.03em;margin:16px 0 10px}.project-card p{color:#bbc7dc;font-size:.92rem}.project-tags{display:flex;flex-wrap:wrap;gap:7px}.project-tags span{font-size:.7rem;font-weight:700;color:#d9e5f8;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:6px 9px}.project-graphic{position:absolute;right:-20px;bottom:-28px;width:220px;height:220px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,rgba(15,102,255,.95),rgba(25,140,255,.35));font-size:5rem;color:rgba(255,255,255,.9)}
.project-card.compact{min-height:203px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.project-card.compact h3{font-size:1.25rem;margin:12px 0 8px}.project-card.compact p{margin-bottom:0}.project-icon{flex:0 0 72px;width:72px;height:72px;border-radius:20px;display:grid;place-items:center;background:rgba(15,102,255,.15);color:#79adff;font-size:1.8rem}

.why-grid { display:grid;grid-template-columns:1fr 1fr;gap:18px }.why-card{position:relative;padding:28px;border-radius:20px;background:#fff;border:1px solid var(--border);transition:.3s}.why-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#cadcf7}.why-card>span{position:absolute;right:20px;top:18px;color:#dfe7f3;font-weight:800;font-size:1.5rem}.why-card>i{color:var(--blue);font-size:1.35rem;margin-bottom:22px}.why-card h3{color:var(--navy);font-size:1.05rem;font-weight:800}.why-card p{color:var(--muted);font-size:.85rem;margin:0}

.stats-section { background:white; border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7 }.stat-card{padding:18px}.stat-number{color:var(--navy);font-size:2.8rem;font-weight:800;letter-spacing:-.05em;line-height:1.1}.stat-card p{color:var(--muted);font-size:.82rem;font-weight:700;margin:8px 0 0}

.contact-shell { border-radius:30px;box-shadow:0 25px 70px rgba(7,26,58,.12);border:1px solid #e6edf6 }.contact-info-panel{position:relative;padding:48px;background:linear-gradient(145deg,var(--navy),#0b2f69);color:white}.contact-info-panel::after{content:'';position:absolute;right:-80px;bottom:-100px;width:260px;height:260px;border-radius:50%;background:rgba(15,102,255,.23)}.contact-info-panel>*{position:relative;z-index:2}.contact-info-panel h2{font-size:2.35rem;font-weight:800;letter-spacing:-.04em;margin:4px 0 15px}.contact-info-panel>p{color:#becbe0;margin-bottom:34px}.contact-detail{display:flex;align-items:center;gap:14px;margin:22px 0}.contact-detail>i{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;color:#86b8ff;background:rgba(255,255,255,.08)}.contact-detail div{display:flex;flex-direction:column}.contact-detail small{color:#8498b7;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em}.contact-detail a,.contact-detail span{color:white;font-size:.88rem;font-weight:700}.contact-note{display:flex;gap:10px;align-items:flex-start;margin-top:36px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);color:#a9bad3;font-size:.75rem}.contact-note i{color:#75aaff;margin-top:3px}.contact-form .form-label{color:#34405a;font-size:.78rem;font-weight:800}.form-control,.form-select{border-radius:12px;border:1px solid #dfe7f1;padding:.85rem .95rem;color:var(--navy);font-size:.9rem;box-shadow:none!important}.form-control:focus,.form-select:focus{border-color:#70a7ff}.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

.cta-section { background:white }.cta-box{padding:72px 20px;border-radius:30px;background:linear-gradient(135deg,#071a3a,#0b3578);color:white}.cta-glow{position:absolute;width:360px;height:360px;border-radius:50%;right:-120px;top:-180px;background:rgba(15,102,255,.5);filter:blur(20px)}.cta-box h2{max-width:780px;margin:12px auto;font-size:clamp(2rem,4vw,3.4rem);font-weight:800;line-height:1.08;letter-spacing:-.045em}.cta-box p{color:#bdcae0;margin-bottom:26px}

.site-footer{background:#05132c;color:#aebbd0}.footer-brand>span{font-size:1.35rem;font-weight:800;color:white}.footer-brand span span{color:#4c99ff}.footer-copy{max-width:500px;font-size:.86rem;color:#8496b2}.social-links{display:flex;gap:9px}.social-links a{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;color:#b8c8e0;background:rgba(255,255,255,.06);transition:.2s}.social-links a:hover{background:var(--blue);color:white}.site-footer h4{color:white;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:18px}.site-footer .col-lg-2>a{display:block;color:#899bb7;font-size:.82rem;margin:9px 0}.site-footer .col-lg-2>a:hover{color:white}.footer-bottom{border-top:1px solid rgba(255,255,255,.08);font-size:.72rem;color:#687b9a}
.back-to-top{position:fixed;right:22px;bottom:22px;z-index:999;width:44px;height:44px;border:0;border-radius:13px;color:white;background:var(--blue);box-shadow:0 12px 28px rgba(15,102,255,.28);opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s}.back-to-top.show{opacity:1;visibility:visible;transform:none}

@media (max-width: 991.98px){
    #mainNav .navbar-collapse{margin-top:10px;padding:16px;border-radius:16px;background:white;box-shadow:0 18px 45px rgba(7,26,58,.10)}
    .navbar-nav .nav-link::after{display:none}.hero-title{font-size:clamp(3.1rem,9vw,5.4rem)}.hero-visual{max-width:420px}.section-padding{padding:88px 0}.project-content{max-width:80%}.contact-info-panel{padding:38px}.why-grid{margin-top:10px}
}
@media (max-width: 767.98px){
    .section-padding{padding:72px 0}.hero-section{padding-top:84px}.hero-section .min-vh-100{min-height:auto!important;padding-top:70px!important;padding-bottom:70px!important}.hero-title{font-size:clamp(2.8rem,14vw,4.3rem)}.hero-copy{font-size:.98rem}.hero-visual{max-width:330px}.floating-chip{font-size:.7rem;padding:8px 10px}.chip-one{left:-4%}.chip-two{right:-5%}.chip-three{left:0}.logo-card{border-radius:26px}.about-visual{min-height:400px}.main-panel{width:92%;padding:30px}.mini-panel{width:170px;padding:16px}.why-grid{grid-template-columns:1fr}.project-card.featured{min-height:420px;padding:27px}.project-content{max-width:100%;padding-bottom:130px}.project-graphic{width:180px;height:180px;font-size:4rem}.contact-info-panel{padding:32px 26px}.cta-box{padding:56px 20px;border-radius:24px}.stat-number{font-size:2.2rem}
}
@media (max-width: 430px){.hero-trust{gap:18px!important}.hero-trust strong{font-size:1.2rem}.hero-trust span{font-size:.65rem}.btn-lg{font-size:.92rem;padding:.8rem 1rem}.about-visual{min-height:430px}.mini-panel{right:0;bottom:2%}.service-card{padding:25px}.project-card.compact{padding:23px;align-items:flex-start}.project-icon{width:58px;height:58px;flex-basis:58px;font-size:1.3rem}.contact-shell{border-radius:22px}.contact-info-panel h2{font-size:2rem}}

@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* HooyoBit current brand lockups */
#mainNav { min-height: 82px; }
.navbar-brand.hooyobit-brand { display:inline-flex!important;align-items:center;padding:0;margin-right:2rem;flex-shrink:0; }
.brand-lockup-image { display:block;width:220px;height:56px;object-fit:contain;object-position:left center; }
#mainNav.scrolled .brand-lockup-image { width:205px;height:50px; }
.hero-logo { width:88%;height:88%;object-fit:contain;border-radius:22px; }
.logo-card { overflow:hidden; }
.footer-brand { max-width:100%; }
.footer-brand .footer-symbol { width:58px!important;height:58px!important;object-fit:contain!important;border-radius:11px!important;flex:0 0 58px; }
.footer-brand .footer-wordmark { display:block;width:130px!important;height:auto!important;object-fit:contain!important;object-position:left center!important;border-radius:0!important; }
@media (max-width:1199.98px){.navbar-brand.hooyobit-brand{margin-right:1rem}.brand-lockup-image{width:205px;height:52px}}
@media (max-width:991.98px){#mainNav{min-height:76px}.brand-lockup-image{width:188px;height:48px}}
@media (max-width:575.98px){#mainNav{min-height:70px}.brand-lockup-image{width:165px;height:44px}.footer-brand .footer-brand }
@media (max-width:380px){.brand-lockup-image{width:148px;height:40px}.footer-brand .footer-brand }


/* Production-safe HooyoBit image lockups */
.hooyobit-footer-brand {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}
.footer-lockup-image {
    display: block;
    width: 235px;
    height: 66px;
    object-fit: contain;
    object-position: left center;
    border-radius: 10px;
}
@media (max-width: 1199.98px) {
    .footer-lockup-image { width: 220px; height: 62px; }
}
@media (max-width: 575.98px) {
    .footer-lockup-image { width: 200px; height: 58px; }
}
@media (max-width: 380px) {
    .footer-lockup-image { width: 182px; height: 54px; }
}
