/* ========================================
   SonaVision — GOLDEN TIMER Homepage
   ======================================== */

:root {
  --navy: #0c1a2e;
  --navy-light: #132842;
  --blue: #1f5f9b;
  --blue-light: #2a7bc8;
  --gold: #d7a23b;
  --gold-light: #e8bd5e;
  --teal: #49b7b5;
  --teal-light: #6dd0ce;

  --bg-light: #f5f7fa;
  --bg-gray: #eef1f5;
  --surface: #ffffff;
  --text: #1e2a3a;
  --text-light: #4f5f73;
  --text-muted: #7a8a9e;

  --nav-height: 64px;
  --container: 1120px;
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---- Container ---- */
.container {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-nav.scrolled {
  background: rgba(12, 26, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---- Section base ---- */
.section {
  padding: 100px 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(215, 162, 59, 0.3);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 28px rgba(215, 162, 59, 0.4);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(215, 162, 59, 0.3);
}

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 28px rgba(215, 162, 59, 0.4);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
  border-radius: 10px;
}

/* ---- Section titles ---- */
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.section-title-left {
  text-align: left;
}

.section-desc {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ========================================
   Section 1: Hero
   ======================================== */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  top: -20%;
  left: -10%;
  background: rgba(31, 95, 155, 0.2);
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  bottom: -20%;
  right: -10%;
  background: rgba(215, 162, 59, 0.12);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 60px 24px 80px;
}

.hero-logo-group {
  text-align: center;
  margin-bottom: 32px;
  animation: fade-up 800ms ease-out both;
}

.hero-logo {
  width: min(160px, 38%);
  margin: 0 auto 16px;
}

.hero-brand-name {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.2em;
}

.hero-brand-sub {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-style: italic;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.02em;
  animation: fade-up 800ms 200ms ease-out both;
}

.hero-title span {
  display: block;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  animation: fade-up 800ms 400ms ease-out both;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 800ms 600ms ease-out both;
}

/* ========================================
   Section 2: Problem + Stats
   ======================================== */
.section-problem {
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-light);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.stat-value {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ========================================
   Section 3: Solution
   ======================================== */
.section-solution {
  background: var(--bg-light);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-desc {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.solution-values {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution-values li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.solution-values li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.solution-visual {
  display: flex;
  justify-content: center;
}

.solution-diagram {
  width: 100%;
  max-width: 420px;
  background: var(--navy);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(12, 26, 46, 0.2);
}

/* ========================================
   Section 4: Features
   ======================================== */
.section-features {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--bg-light);
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: var(--gold);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ========================================
   Section 5: Industries
   ======================================== */
.section-industries {
  background: var(--navy);
  color: #fff;
}

.section-industries .section-title {
  color: #fff;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.industry-card {
  text-align: center;
  padding: 36px 16px;
  background: var(--navy-light);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s, border-color 0.3s;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.industry-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--teal);
}

.industry-icon svg {
  width: 100%;
  height: 100%;
}

.industry-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.industry-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* ========================================
   Section 6: Trust
   ======================================== */
.section-trust {
  background: var(--bg-light);
  padding: 72px 0;
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.trust-check {
  width: 24px;
  height: 24px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ========================================
   Section 7: Contact CTA
   ======================================== */
.section-contact {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  text-align: center;
  padding: 100px 0;
}

.contact-content {
  max-width: 560px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.contact-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-email {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.92rem;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #060e18;
  padding: 40px 20px;
  text-align: center;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.footer-company-ko {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.footer-contact {
  margin-top: 12px;
}

.footer-address {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.footer-email a {
  color: var(--teal);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-email a:hover {
  color: var(--teal-light);
  text-decoration: underline;
}

.footer-copy {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
}

/* ========================================
   Scroll Reveal Animation
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in grids */
.features-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.industries-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.industries-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.industries-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.industries-grid .reveal:nth-child(5) { transition-delay: 0.32s; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .section {
    padding: 72px 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(12, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 0 24px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }

  /* Hero */
  .hero-content {
    padding: 40px 16px 60px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 24px 20px;
  }

  /* Solution */
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title-left {
    text-align: center;
  }

  .solution-desc {
    text-align: center;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .industry-card {
    padding: 28px 12px;
  }

  /* Trust */
  .trust-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Contact */
  .section-contact {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
  }
}
