/* ============================================
   링쿠 (Linkqu) Homepage — style.css
   Dark + Vivid Indigo Theme (#5327F5)
   ============================================ */

:root {
  --ink: #0E0B1A;
  --surface: #171326;
  --surface-2: #201A38;
  --brand: #5327F5;
  --brand-light: #8A6BFF;
  --brand-glow: rgba(83, 39, 245, 0.45);
  --text: #ECEAF6;
  --muted: #A29DB8;
  --line: rgba(255, 255, 255, 0.08);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(14, 11, 26, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}

.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.3px;
}
.nav-logo-icon { width: 30px; height: 30px; border-radius: 8px; }

.nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 9px 22px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s;
  box-shadow: 0 6px 18px var(--brand-glow);
}
.nav-cta:hover { transform: translateY(-1px); background: #6538ff; }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 160px 0 110px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(60% 70% at 78% 18%, var(--brand-glow) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(138, 107, 255, 0.18) 0%, transparent 60%),
    var(--ink);
}

.hero-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 60px;
  position: relative; z-index: 1;
}

.hero-text { flex: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-light);
  background: rgba(138, 107, 255, 0.12);
  border: 1px solid rgba(138, 107, 255, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-title .accent {
  background: linear-gradient(100deg, var(--brand-light), #B9A6FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }

.store-badge { display: inline-block; transition: transform 0.2s; }
.store-badge:hover { transform: translateY(-2px); }

.badge-button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 22px 10px 18px;
  min-width: 190px;
  transition: box-shadow 0.2s;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.store-badge:hover .badge-button { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45); }

.badge-icon { width: 28px; height: 28px; flex-shrink: 0; }

.badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.badge-label { font-size: 11px; color: #555; font-weight: 500; letter-spacing: 0.4px; }
.badge-store { font-size: 18px; font-weight: 700; color: #111; letter-spacing: -0.3px; }

.hero-mockup { flex: 0 0 auto; }
.hero-shot {
  width: 330px;
  max-width: 44vw;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(83, 39, 245, 0.4));
}

/* --- Sections Common --- */
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 60px;
}

/* --- Features --- */
.features { padding: 100px 0; background: var(--ink); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 107, 255, 0.4);
  background: var(--surface-2);
}
.feature-card--cta {
  background: linear-gradient(150deg, rgba(83, 39, 245, 0.22), rgba(138, 107, 255, 0.1));
  border-color: rgba(138, 107, 255, 0.3);
}

.feature-icon {
  width: 56px; height: 56px;
  background: rgba(138, 107, 255, 0.14);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text);
}
.feature-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* --- Screenshots --- */
.screenshots { padding: 100px 0; background: var(--surface); }

.screenshots-scroll {
  display: flex; gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }

.screenshot-item { flex: 0 0 auto; scroll-snap-align: center; }
.screenshot-img {
  width: 260px; height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s;
}
.screenshot-img:hover { transform: translateY(-6px); }

/* --- CTA --- */
.cta {
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, #7C4DFF 100%);
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; color: #fff;
  margin-bottom: 16px; letter-spacing: -0.5px; position: relative;
}
.cta-subtitle {
  font-size: 18px; color: rgba(255,255,255,0.9);
  margin-bottom: 36px; position: relative;
}
.cta-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; }

/* --- Footer --- */
.footer { padding: 40px 0; background: var(--ink); text-align: center; border-top: 1px solid var(--line); }
.footer-copy { color: var(--muted); font-size: 13px; }

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-badges { justify-content: center; }
  .hero-shot { width: 250px; max-width: 72vw; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px 22px; }
  .screenshot-img { width: 220px; }
  .section-subtitle { margin-bottom: 40px; }
}
