/* ===== RESET & BASE ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Pretendard',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#222;line-height:1.6;background:#fff}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
ul{list-style:none}

/* ===== CSS VARIABLES ===== */
:root{
  --deep:#1a2b4a;
  --navy:#0f1d36;
  --accent:#2563eb;
  --accent-light:#3b82f6;
  --gold:#00D4FF;
  --bg-light:#f7f9fc;
  --bg-card:#ffffff;
  --text:#222;
  --text-sub:#5a6577;
  --text-light:#8896a7;
  --radius:16px;
  --shadow:0 4px 24px rgba(26,43,74,.08);
  --max-w:1120px;
}

/* ===== UTILITY ===== */
.container{max-width:var(--max-w);margin:0 auto;padding:0 24px}

/* ===== HEADER ===== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(255,255,255,.92);backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(26,43,74,.08);
  transition:box-shadow .3s;
}
.site-header.scrolled{box-shadow:0 2px 16px rgba(26,43,74,.1)}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  max-width:var(--max-w);margin:0 auto;padding:0 24px;height:64px;
}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;color:var(--deep)}
.logo-img{height:32px;width:auto;border-radius:8px}
.logo-icon{width:32px;height:32px;background:var(--deep);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-weight:700}

.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{font-size:14px;font-weight:600;color:var(--text-sub);transition:color .2s}
.nav-links a:hover{color:var(--deep)}
.nav-links .btn-admin{
  padding:8px 18px;border-radius:8px;background:var(--deep);color:#fff;font-size:13px;
  transition:background .2s;
}
.nav-links .btn-admin:hover{background:#243b5e}

/* Mobile menu */
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--deep);margin:5px 0;transition:all .3s}
.nav-links.open{display:flex}

/* ===== HERO ===== */
.hero{
  padding:140px 0 80px;
  background:linear-gradient(160deg,#0f1d36 0%,#1a2b4a 40%,#1e3a5f 100%) !important;
  color:#ffffff !important;text-align:center;position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;top:-40%;right:-20%;width:600px;height:600px;
  background:radial-gradient(circle,rgba(37,99,235,.15) 0%,transparent 70%);
  pointer-events:none;
}
.hero-badge{
  display:inline-block;padding:6px 16px;border-radius:20px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);
  font-size:13px;font-weight:600;color:rgba(255,255,255,.85);margin-bottom:24px;
}
.hero h1{font-size:clamp(28px,5vw,48px);font-weight:800;line-height:1.3;margin-bottom:16px;letter-spacing:-.5px}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero .sub{font-size:clamp(15px,2.5vw,18px);color:rgba(255,255,255,.7);max-width:520px;margin:0 auto 36px;line-height:1.6}
.hero-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero-btns a{
  padding:14px 32px;border-radius:12px;font-size:15px;font-weight:700;transition:all .2s;
}
.btn-primary{background:var(--gold);color:var(--navy)}
.btn-primary:hover{background:#00b8e0;transform:translateY(-1px)}
.btn-outline{background:transparent;border:1.5px solid rgba(255,255,255,.3);color:#fff}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.05)}

.hero-stats{
  display:flex;gap:48px;justify-content:center;margin-top:56px;
  padding-top:40px;border-top:1px solid rgba(255,255,255,.1);
}
.hero-stat{text-align:center}
.hero-stat .num{font-size:28px;font-weight:800;color:var(--gold)}
.hero-stat .label{font-size:13px;color:rgba(255,255,255,.5);margin-top:4px}

/* ===== SECTION COMMON ===== */
section{padding:80px 0}
section:nth-child(even):not(.hero):not(.cta-section):not(.invest-section){background:var(--bg-light)}
.section-badge{
  display:inline-block;padding:4px 14px;border-radius:16px;
  font-size:12px;font-weight:700;color:var(--accent);
  background:rgba(37,99,235,.08);margin-bottom:12px;
}
.section-title{font-size:clamp(24px,4vw,36px);font-weight:800;color:var(--deep);margin-bottom:8px}
.section-desc{font-size:16px;color:var(--text-sub);max-width:560px;margin-bottom:48px}
.text-center{text-align:center}
.text-center .section-desc{margin-left:auto;margin-right:auto}

/* ===== SERVICES ===== */
.services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.service-card{
  background:var(--bg-card);border-radius:var(--radius);padding:36px 32px;
  border:1px solid rgba(26,43,74,.06);box-shadow:var(--shadow);
  transition:transform .3s,box-shadow .3s;position:relative;overflow:hidden;
}
.service-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(26,43,74,.12)}
.service-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--accent),#00D4FF);
}
.service-icon{
  width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  font-size:24px;margin-bottom:20px;
}
.service-card:first-child .service-icon{background:rgba(37,99,235,.08)}
.service-card:last-child .service-icon{background:rgba(0,212,255,.08)}
.service-card h3{font-size:22px;font-weight:800;color:var(--deep);margin-bottom:8px}
.service-card .badge{
  display:inline-block;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:700;
  margin-bottom:12px;
}
.badge-b2c{background:rgba(37,99,235,.08);color:var(--accent)}
.badge-b2b{background:rgba(0,212,255,.08);color:#00B0D4}
.service-card p{font-size:14px;color:var(--text-sub);line-height:1.7}
.service-features{margin-top:20px;display:flex;flex-direction:column;gap:8px}
.service-features li{font-size:13px;color:var(--text-sub);display:flex;align-items:center;gap:8px}
.service-features li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}
.service-card:last-child .service-features li::before{background:var(--gold)}

/* ===== VALUES ===== */
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.value-card{
  background:var(--bg-card);border-radius:var(--radius);padding:32px 28px;
  border:1px solid rgba(26,43,74,.06);box-shadow:var(--shadow);text-align:center;
  transition:transform .3s;
}
.value-card:hover{transform:translateY(-3px)}
.value-icon{font-size:40px;margin-bottom:16px}
.value-card h3{font-size:18px;font-weight:800;color:var(--deep);margin-bottom:8px}
.value-card p{font-size:14px;color:var(--text-sub);line-height:1.7}

/* ===== TEAM ===== */
.team-highlight{
  background:var(--deep);border-radius:var(--radius);padding:48px 40px;
  color:#fff;display:flex;align-items:center;gap:48px;
}
.team-left{flex:1}
.team-left h3{font-size:28px;font-weight:800;margin-bottom:12px}
.team-left h3 em{font-style:normal;color:var(--gold)}
.team-left p{font-size:15px;color:rgba(255,255,255,.65);line-height:1.7}
.team-right{flex:1;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.team-stat{
  background:rgba(255,255,255,.06);border-radius:12px;padding:20px;text-align:center;
  border:1px solid rgba(255,255,255,.08);
}
.team-stat .num{font-size:32px;font-weight:800;color:var(--gold)}
.team-stat .label{font-size:12px;color:rgba(255,255,255,.5);margin-top:4px}

/* ===== INVEST SECTION ===== */
.invest-section{background:linear-gradient(160deg,var(--navy),var(--deep));color:#fff;text-align:center;padding:80px 0}
.invest-section h2{font-size:clamp(24px,4vw,36px);font-weight:800;margin-bottom:12px}
.invest-section .section-sub{font-size:16px;color:rgba(255,255,255,.65);max-width:600px;margin:0 auto 48px;line-height:1.7}
.invest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:40px}
.invest-card{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius);padding:32px 24px;text-align:center;transition:transform .3s;
}
.invest-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.1)}
.invest-icon{font-size:36px;margin-bottom:16px}
.invest-card h3{font-size:18px;font-weight:800;margin-bottom:10px;color:#fff}
.invest-card p{font-size:14px;color:rgba(255,255,255,.6);line-height:1.7}
.cta-button{
  display:inline-block;padding:16px 40px;border-radius:12px;font-size:16px;font-weight:700;
  background:var(--gold);color:var(--navy);transition:all .2s;
}
.cta-button:hover{background:#00b8e0;transform:translateY(-1px)}

/* ===== FOOTER ===== */
.site-footer{
  background:var(--navy);color:rgba(255,255,255,.4);padding:40px 0;
}
.footer-inner{
  max-width:var(--max-w);margin:0 auto;padding:0 24px;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;
}
.footer-brand{font-size:16px;font-weight:800;color:rgba(255,255,255,.6)}
.footer-info{font-size:12px;line-height:1.8}
.footer-links{display:flex;gap:16px}
.footer-links a{font-size:12px;color:rgba(255,255,255,.4);transition:color .2s}
.footer-links a:hover{color:rgba(255,255,255,.7)}

/* ===== ADMIN PAGE ===== */
.admin-page{
  min-height:100vh;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(160deg,var(--navy),var(--deep));padding:24px;
}
.login-card{
  background:#fff;border-radius:var(--radius);padding:48px 40px;
  width:100%;max-width:400px;box-shadow:0 16px 48px rgba(0,0,0,.2);
}
.login-card .logo{justify-content:center;margin-bottom:8px;font-size:22px}
.login-card .subtitle{text-align:center;color:var(--text-sub);font-size:14px;margin-bottom:32px}
.form-group{margin-bottom:20px}
.form-group label{display:block;font-size:13px;font-weight:700;color:var(--deep);margin-bottom:6px}
.form-group input{
  width:100%;padding:12px 14px;border:1.5px solid #dde2ea;border-radius:10px;
  font-size:14px;color:var(--text);outline:none;transition:border-color .2s;
}
.form-group input:focus{border-color:var(--accent)}
.login-btn{
  width:100%;padding:14px;border:none;border-radius:10px;
  background:var(--deep);color:#fff;font-size:15px;font-weight:700;
  cursor:pointer;transition:background .2s;
}
.login-btn:hover{background:#243b5e}
.login-error{
  display:none;text-align:center;color:#e53e3e;font-size:13px;
  margin-top:16px;padding:10px;border-radius:8px;background:rgba(229,62,62,.06);
}
.login-error.show{display:block}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  .nav-links{
    display:none;position:fixed;top:64px;left:0;right:0;
    flex-direction:column;background:#fff;padding:24px;gap:16px;
    border-bottom:1px solid rgba(26,43,74,.08);box-shadow:0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.open{display:flex}
  .menu-toggle{display:block}

  .hero{padding:120px 0 60px}
  .hero-stats{gap:24px;flex-wrap:wrap}

  .services-grid{grid-template-columns:1fr}
  .values-grid{grid-template-columns:1fr}
  .invest-grid{grid-template-columns:1fr}

  .team-highlight{flex-direction:column;padding:32px 24px;gap:32px}
  .team-right{grid-template-columns:repeat(2,1fr)}

  .footer-inner{flex-direction:column;text-align:center}
  .footer-links{justify-content:center}

  .login-card{padding:36px 28px}
}
@media(max-width:480px){
  .hero-btns{flex-direction:column;align-items:center}
  .hero-btns a{width:100%;max-width:280px;text-align:center}
  .hero-stats{flex-direction:column;gap:16px}
}
