*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*:focus { outline: none; }

html { scroll-behavior: smooth; min-height: 100vh; }

body { overflow-x: hidden; font-family: var(--font-myriadpro), var(--font-sans); background-color: var(--bg-light); line-height: 1.6; color: var(--text-main); -webkit-font-smoothing: antialiased; }

::selection { background-color: var(--accent); color: var(--white); }

ul, ol { list-style: none; }

fieldset { border: 0; }
input, button, select, textarea { border: 0; border-radius: 0; box-shadow: none; outline: none; font-size: 16px; color: var(--black); -webkit-appearance: none; -moz-appearance: none; appearance: none; }
input#Checknum { margin-right: 15px; width: 70px; max-width: calc(100% - 97px); }

img { max-width: 100%; }

a, a:link, a:visited, a:hover { text-decoration: none; white-space: pre-wrap; }

/* --- 1. Utility Classes --- */
.container { margin: 0 auto; padding: 0 1.5rem; width: min(90%, var(--container-width)); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

.text-center { text-align: center; }
.hidden { display: none; }

.visually-hidden { position: absolute; overflow: hidden; margin: -1px; padding: 0; width: 1px; height: 1px; border: 0; clip: rect(0, 0, 0, 0); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; }

.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl {font-size: 2.35rem;}
.text-giant { font-size: 3rem; } /* lg:text-6xl equivalent */

.font-bold { font-weight: 700; }
.font-extra-bold { font-weight: 800; }

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-muted {color: var(--text-muted);font-size: 1.1em;letter-spacing: 1px;}

.text-gradient { background: var(--brand-text-gradient); color: transparent; background-clip: text; -webkit-background-clip: text; }

.hacker-text { display: inline-block; }

.area-title {display: flex;flex-wrap: wrap;gap: 0 .8rem;margin-bottom: 20px;}
.area-title.center { justify-content: center; }
.area-title .title-line { width: 100%; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition-property: opacity, transform; transition-duration: 0.8s; transition-timing-function: ease-out; will-change: opacity, transform; }
.reveal.fade-up { transform: translate3d(0, 60px, 0); }
.reveal.fade-down { transform: translate3d(0, -60px, 0); }
.reveal.fade-left, .reveal.fade-right { transform: translate3d(var(--reveal-x), 0, 0); transition-duration: 1s; transition-timing-function: cubic-bezier(.175, .885, .32, 1.275); }
.reveal.fade-left  { --reveal-x: 100px; }
.reveal.fade-right { --reveal-x: -100px; }
.reveal.active { opacity: 1; transform: translate3d(0, 0, 0); }

.delay-100 { transition-delay: .1s !important; }
.delay-200 { transition-delay: .2s !important; }
.delay-300 { transition-delay: .3s !important; }

/* Buttons & Badges */
.badge { padding: 0.5rem 1rem; display: inline-flex; align-items: center; background-color: rgba(255, 255, 255, 0.1); backdrop-filter: blur(4px); border: 1px solid var(--brand-accent-dark); border-radius: 9999px; font-size: 0.875rem; color: var(--brand-accent-dark); cursor: default; }

.btn { padding: 0.5rem 1rem; background: var(--brand-bg-gradient); display: inline-block; border: none; border-radius: 0.5rem; font-weight: 400; color: var(--btn-secondary); text-decoration: none; transition: all 0.3s ease; cursor: pointer; }
.btn-outline { border: 1px solid var(--btn-primary); background: rgba(255,255,255,0.05); backdrop-filter: blur(8px); color: var(--btn-primary); }
.btn:hover { transform: scale(1.05); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.section-padding { padding: 6rem 0; }

/* --- header --- */
.header { position: sticky; padding: 12px 0; top: 0; z-index: 1000; }
.header:before { position: absolute; background: rgba(255,255,255,0.65); backdrop-filter: blur(4px); inset: 0; z-index: -1; content: ""; }

.header-grid {padding: 0;width: 90%;display: grid;align-items: center;grid-template-columns: 210px 1fr 100px;gap: 2%;}

.nav-header ul { padding: 0; display: flex; justify-content: center; }
.nav-header ul li a {padding: 10px 8px;display: block;font-size: 18px;color: var(--text-main);transition: 0.3s;font-weight: 500;letter-spacing: 1px;}

.menu-toggle { position: relative; margin: 0 0 0 auto; width: 32px; height: 26px; display: none; cursor: pointer; }
.menu-toggle span { position: absolute; width: 100%; height: 3px; background: var(--bg-dark); border-radius: 2px; left: 0; transition: 0.35s ease-in-out; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }

.menu-toggle.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Footer Container */
footer { border-top: 1px solid #d1d1d1; }
footer:before { padding: 2em 0; width: 100%; height: 26px; background: url(/svg/00/footer-bg.svg) repeat-x 0 / auto 20px; display: block; animation: letstalk 10s ease-in-out infinite; content: "";}
.site-footer {position: relative;padding: 4rem 0;}
.site-footer:before { position: absolute; width: 90%; background: #fff; border-radius: 4rem 4rem 0 0; inset: 0; left: 50%; transform: translateX(-50%); content: ""; }
.footer-content { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 3%; }
.footer-branding { flex: 0 0 auto; display: flex; align-items: center; }
.footer-logo { display: flex; align-items: center; text-decoration: none; }
.footer-info {min-width: 300px;display: flex;flex-direction: column;justify-content: center;flex: 1;font-style: normal;font-size: 1rem;color: #555;}
.info-row { margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 15px; }
.info-item { white-space: nowrap; }
.info-item a { text-decoration: none; transition: color 0.2s; color: #3d3d3d; }
.copyright { margin-top: 8px; display: flex; flex-wrap: wrap; gap: .3rem; font-size: 0.75rem; color: rgba(51, 51, 51, 0.6); }
.copyright a { color: currentColor; }
.footer-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.footer-actions a {	white-space: normal; }
.cta-btn { padding: 8px 24px; width: 180px; border-radius: 50px; display: inline-flex; box-shadow: 0 2px 5px rgba(0,0,0,0.1); align-items: center; justify-content: center; text-decoration: none; font-weight: bold; font-size: 0.9rem; color: #fff; transition: opacity 0.2s, transform 0.1s; }
.cta-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.cta-btn svg {width: 20px;height: 20px;margin-right: 8px;fill: rgb(255 255 255);}
.cta-btn.btn-blue { background-color: #2b50b5; background: linear-gradient(90deg, #2b50b5 0%, #4a6dd6 100%); }
.cta-btn.btn-green { background-color: #3ccb0e; background: linear-gradient(90deg, #3ccb0e 0%, #5ce02e 100%); }

@keyframes load-bar { to { width: 98%; } }
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes letstalk { 0%, 100% { background-position-x: 0; } 50% { background-position-x: 10%; } }


/* gotop */
#gotop {opacity: 1;z-index: 9999;display: flex;flex-direction: column;align-items: flex-end;gap: 12px;}
#gotop[data-type="1"] { opacity: 1; }

/* footer_btn */
#footer_btn.float-bar{position:fixed;right:20px;bottom:20px;z-index:9999;display: none;}
#footer_btn .float-btn{display:flex;align-items:center;flex-direction:row-reverse;height:50px;border-radius:25px;text-decoration:none;color:#fff;background-color: #fff;border: 1px solid var(--primary);box-shadow: 0 4px 7px rgba(0,0,0,0.1);overflow:hidden;width:50px;white-space:nowrap;transition: all 0.2s ease-in-out;-webkit-transition: all 0.2s ease-in-out;}
#footer_btn .float-icon{width:50px;height:50px;display:flex;justify-content:center;align-items:center;flex-shrink:0;transition: all 0.2s ease-in-out;-webkit-transition: all 0.2s ease-in-out;}
#footer_btn .float-icon svg { width: 24px; height: 24px; fill: var(--primary); }
#footer_btn .btn-top .float-icon svg { fill: #ffffff; }
#footer_btn a.gotop .float-icon svg { fill: #ffffff; }
#footer_btn .float-text{font-size:0.95rem;opacity:0;transition: opacity 0.5s 0.2s;font-weight:500;color: var(--primary);transform: translate(400px, 20px);-webkit-transform: translate(400px, 20px);}
#footer_btn .btn-top{background-color: var(--primary);display: flex;}
#footer_btn a.gotop {background: var(--primary);}

@media (max-width: 1440px) {
	.header-grid { grid-template-columns: 170px 1fr 100px; width: 93%; }
	.nav-header ul li a { font-size: 17px; padding: 10px 6px; }

}
@media (max-width:1280px) {
	.nav-header ul li a { font-size: 15px; padding: 10px 5px; }
}
@media (max-width: 1160px) {
	.header { z-index: 2000; }
	.nav-header { position: fixed; padding-top: 20px; width: 100%; height: calc(100vh - var(--header-height)); background: rgba(255,255,255,0.65); backdrop-filter: blur(4px); top: var(--header-height); left: 0; z-index: 1500; opacity: 0; transition: opacity .35s ease, transform .35s ease; transform: translateY(-20px); pointer-events: none; }
	.nav-header.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
	.nav-header ul { flex-direction: column; text-align: center; gap: 6px; }
	.nav-header ul li a { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); font-size: 18px; }
	.menu-toggle { display: block; z-index: 2500; }
	.logo { position: relative; z-index: 2500; }
}
@media (max-width: 992px) {
	.footer-content, .info-row, .copyright { justify-content: center; }
	.footer-info { margin-top: 20px; flex: 1 1 100%; text-align: center; order: 3; }
}
@media (min-width: 769px) {
	.nav-links { display: flex; gap: 2rem; }
	.hidden-md { display: none; }
	.block-md { display: block; }
	.grid-cols-3-md { grid-template-columns: repeat(3, 1fr); }
	.grid-cols-2-lg { grid-template-columns: repeat(2, 1fr); }
	.text-giant { font-size: 3.75rem; }
    #footer_btn .float-btn:hover{width:auto;padding-left:20px;background-color: var(--primary);}
	#footer_btn .float-btn:hover svg { fill: #ffffff; }
	#footer_btn .float-btn:hover .float-text {opacity: 1;transform: translate(0, 0);-webkit-transform: translate(0, 0);}
	#footer_btn .float-btn:hover .float-text { color: #ffffff; }
	#footer_btn .btn-top:hover {padding-left: 0;width: 50px;}
}
@media (max-width: 768px) {
	.footer-content { flex-direction: column; text-align: center; }
	.footer-branding { margin-bottom: 15px; }
	.footer-actions { width: 100%; align-items: center; }
	.footer-info { margin-top: 15px; order: 2; }
	.info-row { flex-direction: column; gap: 5px; }
    #footer_btn.float-bar{gap: 0;width: calc(100% - 0px);bottom: 0;right: 0;flex-direction: row;justify-content: space-between;}
	#footer_btn .float-btn { display: flex; justify-content: center; border-radius: 0; width: 100%; margin: 0; background-color: var(--primary); border-left: 1px solid #fff; }
	#footer_btn .float-icon { width: 44px; height: 44px; }
	#footer_btn .float-icon svg { width: 22px; height: 22px; fill: #ffffff; }
	#footer_btn .float-text { display: none; }

}
@media (max-width: 600px) {
	.section-padding { padding: 5vw 0; }
	.header-grid { grid-template-columns: 180px 1fr 100px; gap: 5%; }
}