/* ============================================================================
   NOVA Website UI Kit — component styles (built on colors_and_type.css)
   ========================================================================== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg1); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---- Buttons ---- */
.btn { font-family: var(--font-sans); font-size: 15px; font-weight: 600; border-radius: 10px; padding: 12px 22px; border: 1px solid transparent; cursor: pointer; transition: all var(--dur) var(--ease-out); display: inline-flex; align-items: center; gap: 8px; line-height: 1; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); transform: translateY(1px); }
.btn-secondary { background: #fff; color: var(--fg1); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--fg1); padding: 10px 12px; }
.btn-ghost:hover { color: var(--accent); }
.btn-lg { font-size: 16px; padding: 15px 28px; }

/* ---- Header ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--fg2); padding: 9px 14px; border-radius: 8px; cursor: pointer; transition: all var(--dur) var(--ease-out); white-space: nowrap; }
.nav-link:hover { color: var(--fg1); background: var(--surface-2); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--fg3); border: 1px solid var(--border); border-radius: 8px; padding: 2px; }
.lang button { font: inherit; border: none; background: none; color: var(--fg3); padding: 5px 9px; border-radius: 6px; cursor: pointer; }
.lang button.on { background: var(--fg1); color: #fff; }
.burger { display: none; background: none; border: none; cursor: pointer; color: var(--fg1); }

/* ---- Hero ---- */
.hero { padding: 96px 0 80px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { font-size: 68px; font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; margin: 24px 0 0; max-width: 14ch; }
.hero .lead { font-size: 21px; line-height: 1.6; color: var(--fg2); margin: 26px 0 0; max-width: 56ch; }
.hero .cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 56px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.hero-stats .st .n { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats .st .l { font-size: 15px; color: var(--fg3); margin-top: 4px; }

/* ---- Logo cloud ---- */
.cloud { padding: 8px 0 64px; }
.cloud p { text-align: center; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg3); margin: 0 0 26px; }
.cloud-row { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; }
.cloud-row span { font-size: 24px; font-weight: 800; color: var(--ink-400, #98A2B3); letter-spacing: -0.01em; opacity: 0.75; }

/* ---- Section heading ---- */
.section { padding: 96px 0; }
.section.tint { background: var(--bg-subtle); }
.s-head { max-width: 640px; margin-bottom: 56px; }
.s-head h2 { font-size: 46px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 18px 0 0; }
.s-head p { font-size: 19px; line-height: 1.6; color: var(--fg2); margin: 18px 0 0; }

/* ---- Feature cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fc { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-sm); transition: all var(--dur) var(--ease-out); }
.fc:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-strong); }
.fc .ic { width: 52px; height: 52px; border-radius: 13px; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.fc h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.fc p { font-size: 16px; line-height: 1.6; color: var(--fg2); margin: 0; }

/* ---- Dark stats band ---- */
.band { background: var(--nova-navy-900); color: #F4F7FC; padding: 88px 0; }
.band .s-head h2 { color: #F4F7FC; }
.band .eyebrow { color: var(--nova-blue-400); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 8px; }
.band-grid .b .n { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.band-grid .b .l { font-size: 16px; color: #AEBCD2; margin-top: 12px; line-height: 1.45; }

/* ---- Testimonial ---- */
.quote-sec { padding: 96px 0; }
.quote-sec blockquote { font-size: 38px; font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; margin: 0; max-width: 18ch; }
.quote-sec .who { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.quote-sec .av { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }

/* ---- CTA ---- */
.cta-band { padding: 88px 0; }
.cta-card { background: var(--nova-navy-900); border-radius: 28px; padding: 64px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-card h2 { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; }
.cta-card p { font-size: 19px; color: #AEBCD2; margin: 0 0 34px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg3); margin: 0 0 14px; }
.footer-col a { display: block; font-size: 15px; color: var(--fg2); padding: 5px 0; cursor: pointer; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--fg3); flex-wrap: wrap; gap: 12px; }

/* ---- Modal ---- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(10,21,43,0.55); backdrop-filter: blur(4px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade var(--dur) var(--ease-out); }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 480px; padding: 36px; box-shadow: var(--shadow-xl); animation: pop var(--dur-slow) var(--ease-out); }
.modal h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.modal p { font-size: 15px; color: var(--fg2); margin: 0 0 24px; }
.modal label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.modal .field { margin-bottom: 16px; }
.modal input, .modal textarea { width: 100%; font-family: var(--font-sans); font-size: 15px; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: 10px; }
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.modal-close { position: absolute; top: 18px; right: 18px; background: none; border: none; cursor: pointer; color: var(--fg3); }
.modal-ok { text-align: center; padding: 14px 0 6px; }
.modal-ok .check { width: 64px; height: 64px; border-radius: 50%; background: var(--nova-success-100); color: var(--nova-success-500); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---- Mobile menu ---- */
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-right .lang, .nav-right .btn { display: none; }
  .burger { display: inline-flex; }
  .hero h1 { font-size: 46px; }
  .cards, .band-grid { grid-template-columns: 1fr; }
  .band-grid { gap: 28px; }
  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .mobile-menu.open { display: block; position: fixed; inset: 72px 0 0; background: #fff; z-index: 40; padding: 24px 32px; }
  .mobile-menu.open a { display: block; font-size: 20px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--border); }
}
