:root {
  --bg: #07111f;
  --bg-soft: #0a1728;
  --panel: #0e1d31;
  --panel-soft: rgba(14, 29, 49, .76);
  --line: rgba(155, 191, 226, .16);
  --text: #f4f8ff;
  --muted: #9eafc5;
  --cyan: #37d4d2;
  --blue: #65a6ff;
  --mint: #55e2b5;
  --shadow: 0 28px 80px rgba(0, 0, 0, .3);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 7%, rgba(35, 126, 166, .24), transparent 31rem),
    radial-gradient(circle at 8% 28%, rgba(50, 96, 184, .16), transparent 28rem),
    var(--bg);
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.65;
  letter-spacing: -.02em;
}
body.product-vpn { --cyan: #55e2b5; --blue: #47d6ce; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .11;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(7, 17, 31, .82);
  backdrop-filter: blur(18px);
}
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.01em; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; object-fit: cover; box-shadow: 0 10px 28px rgba(55, 212, 210, .2); }
.brand small { display: block; margin-top: -2px; color: #788da7; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #bdd0e5; text-decoration: none; font-size: 14px; font-weight: 750; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cyan); }
.nav-contact { padding: 9px 15px; border: 1px solid rgba(55,212,210,.36); border-radius: 999px; }

.eyebrow { color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: .17em; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 18px 0 24px; font-size: clamp(45px, 6vw, 76px); line-height: 1.05; letter-spacing: -.058em; }
h1 span { color: transparent; background: linear-gradient(100deg, var(--cyan), var(--blue)); background-clip: text; }
h2 { margin: 12px 0 14px; font-size: clamp(31px, 4vw, 49px); line-height: 1.15; letter-spacing: -.045em; }
h3 { line-height: 1.25; }
.hero-copy { max-width: 680px; margin: 0; color: #afc1d7; font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 850;
  transition: transform .2s ease, border-color .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.button.primary { color: #041218; background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 17px 42px rgba(55,212,210,.17); }
.button.mint { color: #031511; background: linear-gradient(135deg, #55e2b5, #42cbd2); }
.button.secondary { color: #d7e6f6; border-color: var(--line); background: rgba(255,255,255,.035); }
.button.full { width: 100%; }

.home-hero { padding: 105px 0 92px; }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 74px; }
.brand-console {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(118, 171, 219, .22);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(21,43,70,.96), rgba(7,19,34,.96));
  box-shadow: var(--shadow);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}
.brand-console::after { content: ""; position: absolute; inset: auto 12% -24px; height: 55px; background: rgba(55,212,210,.2); filter: blur(34px); z-index: -1; }
.console-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 16px; color: #7289a2; font-size: 11px; letter-spacing: .13em; }
.console-top b { color: var(--mint); font-size: 10px; }
.console-product { margin-top: 12px; padding: 18px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 18px; background: rgba(4,15,27,.54); }
.console-product img { width: 52px; height: 52px; object-fit: cover; border-radius: 15px; }
.console-product strong, .console-product span { display: block; }
.console-product strong { font-size: 15px; }
.console-product span { color: #758ba5; font-size: 12px; }
.console-product em { color: var(--cyan); font-size: 12px; font-style: normal; font-weight: 800; }
.console-product.vpn-row em { color: var(--mint); }
.console-status { display: flex; justify-content: space-between; margin-top: 18px; padding: 0 5px 2px; color: #6d829a; font-size: 11px; }
.console-status i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }

section { position: relative; padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.products-section { border-top: 1px solid rgba(255,255,255,.055); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card {
  position: relative;
  min-height: 520px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(15,33,54,.96), rgba(8,21,36,.96));
  box-shadow: 0 22px 55px rgba(0,0,0,.19);
}
.product-card::after { content: ""; position: absolute; right: -95px; bottom: -115px; width: 260px; height: 260px; border-radius: 50%; background: var(--blue); opacity: .15; filter: blur(6px); pointer-events: none; }
.product-card.vpn-card::after { background: var(--mint); }
.product-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.product-card-top img { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; }
.product-card-top span { color: #7188a3; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.product-card h3 { margin: 24px 0 12px; font-size: clamp(30px, 4vw, 43px); }
.product-card p { margin: 0; color: var(--muted); }
.compact-list { display: grid; gap: 8px; margin: 25px 0 30px; padding: 0; list-style: none; color: #c8d8e9; font-size: 14px; }
.compact-list li::before { content: "✓"; margin-right: 9px; color: var(--cyan); font-weight: 900; }
.vpn-card .compact-list li::before { color: var(--mint); }
.product-card .button { position: relative; z-index: 1; margin-top: auto; }
.company-strip { padding-top: 28px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-grid article { padding: 27px; border-top: 1px solid var(--line); }
.trust-grid b { color: var(--cyan); font-size: 11px; letter-spacing: .14em; }
.trust-grid h3 { margin: 9px 0 7px; font-size: 20px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-section { padding-top: 52px; }
.contact-box { padding: 42px; display: flex; justify-content: space-between; align-items: center; gap: 34px; border: 1px solid rgba(55,212,210,.22); border-radius: 28px; background: linear-gradient(120deg, rgba(55,212,210,.12), rgba(101,166,255,.08)); }
.contact-box h2 { max-width: 680px; margin: 9px 0; font-size: clamp(27px, 4vw, 40px); }
.contact-box p { margin: 0; color: var(--muted); }
.contacts { display: grid; gap: 10px; flex: 0 0 auto; }
.contacts span { min-width: 208px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,14,25,.52); color: #cad9e9; font-size: 13px; }
.contacts b { margin-right: 10px; color: var(--cyan); }

/* Product detail pages */
.crumbs { padding-top: 30px; color: #758ba4; font-size: 13px; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 8px; color: #4c6078; }
.detail-hero { padding: 58px 0 84px; }
.detail-hero-grid { display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 70px; }
.detail-hero h1 { font-size: clamp(43px, 6vw, 70px); }
.detail-logo-card { padding: 46px; display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(145deg, rgba(20,42,68,.96), rgba(7,20,35,.96)); box-shadow: var(--shadow); }
.detail-logo-card img { width: min(230px, 80%); aspect-ratio: 1; border-radius: 29%; object-fit: cover; }
.version-line { margin-top: 17px; color: #7289a2; font-size: 13px; }
.version-line b { color: var(--cyan); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { min-height: 190px; padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: var(--panel-soft); }
.feature b { color: var(--cyan); font-size: 10px; letter-spacing: .12em; }
.feature h3 { margin: 14px 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.download-shell { padding: 45px; border: 1px solid rgba(55,212,210,.23); border-radius: 30px; background: linear-gradient(140deg, rgba(14,35,57,.98), rgba(7,21,36,.97)); box-shadow: var(--shadow); }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.download-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(5,16,29,.58); }
.download-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pill, .current-version { display: inline-flex; align-items: center; min-height: 29px; padding: 0 11px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.pill { color: var(--cyan); background: rgba(55,212,210,.13); }
.current-version { color: #97acc3; border: 1px solid var(--line); }
.download-card h3 { margin: 22px 0 8px; font-size: 28px; }
.download-card p { margin: 0; color: var(--muted); }
.download-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 25px; }
.download-meta span { padding: 7px 9px; color: #8ea3ba; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; }
.requirements { margin: 24px 0 0; color: #768ca5; font-size: 12px; text-align: center; }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 52px; }
.role-card { padding: 29px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel-soft); }
.role-card b { color: var(--cyan); font-size: 12px; letter-spacing: .12em; }
.role-card h3 { margin: 13px 0 8px; font-size: 27px; }
.role-card p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; counter-reset: steps; }
.step { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(11,27,46,.72); counter-increment: steps; }
.step::before { content: "0" counter(steps); display: block; color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.step h3 { margin: 14px 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { padding: 0 21px; border: 1px solid var(--line); border-radius: 15px; background: rgba(11,27,46,.64); }
.faq summary { padding: 19px 0; cursor: pointer; font-weight: 780; }
.faq p { margin: -3px 0 20px; color: var(--muted); }
.back-products { padding-top: 5px; text-align: center; }

footer { padding: 34px 0 42px; color: #687e97; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-inner p { margin: 0; }
.footer-inner div { display: flex; gap: 16px; }
.footer-inner a { text-decoration: none; }

@media (max-width: 900px) {
  .home-hero-grid, .detail-hero-grid { grid-template-columns: 1fr; }
  .brand-console { max-width: 620px; transform: none; }
  .detail-logo-card { width: min(360px, 82vw); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-box { align-items: flex-start; flex-direction: column; }
  .contacts { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .contacts span { min-width: 0; }
}

@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .nav-inner { min-height: 64px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand small { display: none; }
  .nav-links { gap: 8px; }
  .nav-links a { display: none; }
  .nav-links a[aria-current="page"], .nav-links .nav-contact { display: inline-flex; }
  .home-hero { padding: 72px 0 58px; }
  h1 { font-size: clamp(39px, 13vw, 58px); }
  section { padding: 66px 0; }
  .product-grid, .download-grid, .role-grid, .feature-grid, .steps, .trust-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; padding: 27px; }
  .product-card .button { margin-top: 0; }
  .brand-console { padding: 14px; }
  .console-product { grid-template-columns: 45px 1fr; padding: 14px; }
  .console-product img { width: 45px; height: 45px; }
  .console-product em { grid-column: 2; }
  .console-status { display: grid; gap: 4px; }
  .detail-hero { padding-top: 42px; }
  .detail-hero-grid { gap: 42px; }
  .detail-logo-card { padding: 34px; border-radius: 27px; }
  .download-shell, .contact-box { padding: 25px; border-radius: 22px; }
  .contacts { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
