/* Noteracker Ltd. - Main Stylesheet */

/* Color Palette */
:root {
  --bg-primary: #1c2228;
  --bg-secondary: #252b30;
  --accent-primary: #e6b802;
  --accent-secondary: #899e2e;
  --accent-olive: #889e2e;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --border-color: rgba(255, 255, 255, 0.1);
  /* n0005 공통 변수 */
  --bg-main: #1c2228;
  --bg-sub: #252b30;
  --bg-card: #323841;
  --focus: #e6b802;
  --focus2: #899e2e;
  --text-muted: #9e9e9e;
  --text-dim: #616161;
  --border: #323841;
  --btn-text: #1c2228;
  /* Palette extras */
  --color-slate: #475568;
  --color-mid: #616161;
  --color-light: #c7cdc6;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header & Navigation */
/* Sub Header (Promo Bar) */
.sub-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  background-color: #9E9E9E;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.sub-header p {
  margin: 0;
  color: #000;
  font-size: 0.85rem;
}

.sub-header a {
  color: #000;
  text-decoration: underline;
  margin-left: 0.25rem;
}

.sub-header.hidden {
  transform: translateY(-100%);
}

.header {
  position: fixed;
  top: 35px;
  left: 0;
  width: 100%;
  background-color: transparent;
  backdrop-filter: none;
  border-bottom: none;
  z-index: 1000;
  transition: all 0.3s ease, transform 0.3s ease;
}

.header.scrolled {
  background-color: rgba(27, 32, 38, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-cta {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.75rem;
}
.cta-admin {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #d7d7d7;
  transition: border-color .2s, color .2s, transform .2s;
  cursor: pointer;
}
.cta-admin:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.nav-link {
  color: #D9D9D9;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-primary);
}

.cta-login {
  background: transparent;
  color: #d7d7d7;
  padding: 0.75rem 1.5rem;
  border-radius: 22px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1.5px solid #d7d7d7;
  cursor: pointer;
}

.cta-login:hover {
  background: rgba(215, 215, 215, 0.1);
  transform: translateY(-2px);
}

.cta-button {
  background: var(--accent-primary);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 22px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 184, 2, 0.4);
  background: #f5c803;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}



/* Make header transparent on index page */

.hero-container {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  background-color: transparent;
  color: #C2CBD7;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(194, 203, 215, 0.4);
  letter-spacing: 0.04em;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-highlight {
  color: var(--accent-primary);
  -webkit-text-fill-color: var(--accent-primary);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  width: 240px;
  justify-content: center;
  white-space: nowrap;
}

.btn-mob { display: none; }
.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 26px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230, 184, 2, 0.5);
  background: #f5c803;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: #475568;
  background-color: #475568;
  color: var(--text-primary);
}

/* Hero Animation Container */
.hero-animation {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Two-column utility grid */
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Container */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 4rem 50px;
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background-color: transparent;
  color: #C2CBD7;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  border: 1px solid rgba(194, 203, 215, 0.4);
  letter-spacing: 0.04em;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-primary);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.section-badge i,
.hero-badge i {
  margin-right: 0.35rem;
}

.btn-primary i,
.btn-secondary i {
  margin-right: 0.25rem;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.card-link {
  color: #C2CBD7;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  gap: 0.75rem;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #C2CBD7;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Footer  n0005 common.css 그대로 */
#footer, .footer {
  background: #252b30;
  border-top: 1px solid #323841;
  padding: 72px 0 0;
}
.footer .container {
  padding: 0 50px;
}

/* footer layout */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2.33fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #323841;
}
.footer-brand { min-width: 0; }
.footer-brand p {
  font-size: 13.5px; color: #b0b0b0;
  line-height: 1.75; margin-top: 16px; margin-bottom: 14px;
  max-width: 280px;
}
.footer-email-label {
  display: inline-block;
  font-size: 13px; color: #000; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: #9e9e9e;
  padding: 10px 22px; border-radius: 22px;
  margin-bottom: 14px;
}
.footer-email {
  font-size: 13px; color: #e6b802;
  display: flex; align-items: center; gap: 6px;
}
.footer-email a { color: #e6b802; }
.footer-brand-links {
  margin-top: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.footer-brand-links a {
  font-size: 13px; color: #9e9e9e;
  transition: color .2s;
}
.footer-brand-links a:hover { color: #e6b802; }

/* footer cols (70% area) */
.footer-cols {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 60px;
  box-sizing: border-box;
  overflow: visible;
}
.footer-col { flex-shrink: 0; }
.footer-col h4 {
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
  white-space: nowrap;
}
.footer-col-title {
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
  white-space: nowrap;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 13.5px; color: #9e9e9e;
  transition: color .2s; white-space: nowrap;
}
.footer-col ul li a:hover { color: #e6b802; }
.footer-col ul li a.footer-note {
  font-size: 11.5px; line-height: 1.5;
  color: #999; white-space: normal;
  display: block; max-width: 190px;
}

/* footer bottom */
.footer-bottom { padding: 28px 0 16px; }
.footer-copy { font-size: 12.5px; color: #999; line-height: 1.7; }
.footer-copy strong { color: #9e9e9e; }
.footer-trademark {
  font-size: 11px; color: #9099a8;
  line-height: 1.65;
  padding: 16px 0 40px;
  border-top: 1px solid rgba(255,255,255,.04);
}

/* Shared Layout Classes (used across multiple pages) */
.featured-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */

/* Laptop (1024px ~ 1280px) */
@media (max-width: 1280px) {
  .container {
    padding: 3.5rem 32px;
  }

  .hero-container {
    gap: 2.5rem;
  }

  .contact-layout {
    gap: 2.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }

  .hero p {
    font-size: 1.15rem;
  }

  .footer-cols {
    gap: 40px;
  }
}

/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-animation {
    height: 400px;
  }

  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }

  /* footer tablet */
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { flex-wrap: wrap; gap: 40px 48px; justify-content: flex-start; }
  .footer-col { flex: 0 0 auto; min-width: 120px; }

  .featured-card-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .container {
    padding: 3rem 28px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .two-col-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Mobile (480px ~ 768px) */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
    gap: 1.5rem;
    align-items: flex-start;
    transform: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    flex: 1;
    width: auto;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
  }
  .btn-desk { display: none !important; }
  .btn-mob { display: inline !important; }

  .btn-primary, .btn-secondary {
    justify-content: center;
  }

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

  /* footer mobile */
  #footer, .footer { padding: 32px 0 0; }
  .footer-top { gap: 24px; padding-bottom: 20px; }
  .footer-cols { gap: 24px 28px; flex-wrap: wrap; }
  .footer-col { flex: 0 0 calc(50% - 14px); min-width: 0; }
  .footer-col-title { font-size: 11px; margin-bottom: 10px; }
  .footer-col ul li a { font-size: 13px; display: block; padding: 4px 0; }
  .footer-col ul { gap: 2px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { padding: 12px 0 6px; }
  .footer-trademark { padding: 6px 0 16px; }

  .section {
    padding: 3.5rem 0;
  }

  .process-step {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding: 2.5rem 20px;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero p {
    font-size: 1.05rem;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.05rem; }

  .hero p {
    font-size: 0.95rem;
  }

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

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

  .stat-number {
    font-size: 2.5rem;
  }

  .container {
    padding: 2rem 16px;
  }

  .nav-container {
    padding: 0.75rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .section-badge,
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  /* footer small mobile */
  .footer-top { padding-bottom: 16px; }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .footer-col { min-width: 0; }
  .footer-bottom { padding: 14px 0 8px; }
  .footer-copy { font-size: 11.5px; }
  .footer-trademark { font-size: 10px; padding: 8px 0 20px; }
  .footer-brand p { font-size: 12.5px; }
  .footer-email-label { font-size: 12px; padding: 8px 18px; }

  .section-description {
    font-size: 0.95rem;
  }

  .hero {
    padding: 5rem 1rem 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .footer .container { padding: 0 16px; }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.check-icon { flex-shrink: 0; margin-top: 0.25rem; }

.fade-init { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-visible { opacity: 1; transform: translateY(0); }
