@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --primary: #2b59ff;
  --primary-glow: rgba(43, 89, 255, 0.4);
  --secondary: #64748b;
  --dark: #0f172a;
  --darker: #020617;
  --bg-light: #f8fafc;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

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

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 0.8rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.93rem;
}

.header-cta {
  display: flex;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: #1e40af;
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background: #fff;
  color: var(--dark);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn-secondary:hover {
  background: #f1f5f9;
}

.section {
  padding: 4.5rem 0;
}

.hero {
  background: radial-gradient(circle at top right, #1e293b, var(--darker));
  color: #fff;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom right, #fff 70%, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.hero-visual .mockup {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  perspective: 1000px;
}

/* 노트북 목업 스타일 */
.device-laptop {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* 16:10에서 16:9로 변경 (표준 와이드) */
  background: #1e1e1e;
  border-radius: 12px 12px 2px 2px;
  padding: 10px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.laptop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.laptop-bottom {
  width: 110%;
  height: 12px;
  background: #333;
  margin-left: -5%;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* 스마트폰 목업 스타일 (노트북 앞에 배치) */
.device-phone {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 160px;
  aspect-ratio: 9/19.5;
  background: #111;
  border-radius: 32px;
  padding: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
  transform: rotate(-2deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

/* 슬라이더 애니메이션 */
.slider {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.laptop-slider img,
.phone-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #0d1117;
  border-radius: 4px; /* 모서리 살짝 둥글게 */
  flex-shrink: 0;
}

/* 자동 슬라이드 애니메이션 (CSS Only 또는 JS 결합 가능) */
/* 여기서는 JS 없이 간단한 키프레임 슬라이더 예시 - 나중에 JS로 고도화 가능 */
.laptop-slider img {
  animation: laptopFade 15s infinite;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.laptop-slider img:nth-child(1) { animation-delay: 0s; }
.laptop-slider img:nth-child(2) { animation-delay: 5s; }
.laptop-slider img:nth-child(3) { animation-delay: 10s; }

@keyframes laptopFade {
  0%, 28% { opacity: 1; }
  33%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.phone-slider img {
  animation: phoneFade 10s infinite;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.phone-slider img:nth-child(1) { animation-delay: 0s; }
.phone-slider img:nth-child(2) { animation-delay: 5s; }

@keyframes phoneFade {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.pain .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.card {
  padding: 2.5rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(43, 89, 255, 0.15);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}

.card p {
  color: var(--secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.feature h2,
.settlement h2,
.community h2,
.proof h2,
.cta h2 {
  text-align: center;
  margin-bottom: 0.7rem;
  font-size: 2.1rem;
}

.lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.4rem;
  opacity: 0.84;
}

.feature-grid,
.settlement-grid,
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.7rem;
  margin-top: 2rem;
}

.feature-card,
.settlement-card,
.community-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.feature-card:hover,
.settlement-card:hover,
.community-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border-color: rgba(43, 89, 255, 0.1);
}

.settlement-card ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
  line-height: 1.55;
}

.settlement-card li {
  margin-bottom: 0.55rem;
}

.proof {
  background: #0f1221;
  color: #fff;
}

.proof .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0 2.5rem;
}

.stat {
  padding: 1.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.stat-label {
  opacity: 0.85;
}

.testimonial {
  padding: 1.6rem 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 780px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.65;
}

.quote-author {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  opacity: 0.85;
}

.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 0;
}

.cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto;
}


.site-footer {
  padding: 5rem 0 3rem;
  background: var(--darker);
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand strong {
  display: block;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: 2;
    margin-top: 3rem;
  }

  .hero-text {
    order: 1;
  }

  .device-laptop {
    max-width: 90%;
    margin: 0 auto;
  }

  .device-phone {
    right: 0;
    bottom: -20px;
    width: 160px; /* 모바일에서 조금 더 크게 표시 */
  }

  .nav {
    display: none;
  }
}

