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

:root {
  --brand-50:#eef2ff; --brand-100:#dbe4ff; --brand-200:#bac8ff;
  --brand-300:#91a7ff; --brand-400:#748ffc; --brand-500:#5c7cfa;
  --brand-600:#4c6ef5; --brand-700:#4263eb; --brand-800:#3b5bdb; --brand-900:#364fc7;

  --gray-50:#f8f9fa; --gray-100:#f1f3f5; --gray-200:#e9ecef;
  --gray-300:#dee2e6; --gray-400:#ced4da; --gray-500:#adb5bd;
  --gray-600:#868e96; --gray-700:#495057; --gray-800:#343a40; --gray-900:#212529;

  --white:#fff;
  --radius:14px; --radius-lg:24px; --radius-xl:32px;
  --shadow-sm:0 1px 3px rgba(0,0,0,.04),0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 4px 16px rgba(0,0,0,.06),0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:0 20px 60px rgba(0,0,0,.08),0 4px 16px rgba(0,0,0,.04);
  --shadow-xl:0 32px 80px rgba(0,0,0,.1);
  --transition:.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior:smooth; scroll-padding-top:80px; }

body {
  font-family:'Inter','Noto Sans KR',-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--gray-800); line-height:1.7; background:var(--white);
  overflow-x:hidden; -webkit-font-smoothing:antialiased;
}

.container { max-width:1160px; margin:0 auto; padding:0 24px; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }

.text-gradient {
  background:linear-gradient(135deg,var(--brand-500),var(--brand-800));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* ===== Buttons ===== */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:600; border-radius:12px; border:2px solid transparent;
  cursor:pointer; transition:all var(--transition); font-family:inherit; text-decoration:none;
}
.btn-sm { padding:8px 20px; font-size:.875rem; }
.btn-lg { padding:16px 36px; font-size:1rem; }
.btn-block { width:100%; padding:14px 24px; font-size:.95rem; }

.btn-primary {
  background:linear-gradient(135deg,var(--brand-500),var(--brand-700));
  color:var(--white); box-shadow:0 4px 16px rgba(76,110,245,.3);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(76,110,245,.4); }

.btn-outline {
  background:transparent; color:var(--brand-600); border-color:var(--gray-200);
}
.btn-outline:hover { background:var(--brand-50); border-color:var(--brand-300); }

.btn-glass {
  background:rgba(255,255,255,.7); color:var(--gray-800);
  border-color:rgba(255,255,255,.5); backdrop-filter:blur(8px);
}
.btn-glass:hover { background:rgba(255,255,255,.9); }

.btn-white {
  background:var(--white); color:var(--brand-700);
  box-shadow:0 4px 16px rgba(0,0,0,.08);
}
.btn-white:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.12); }

/* ===== Navigation ===== */
.nav {
  position:fixed; inset:0 0 auto; z-index:100;
  background:rgba(255,255,255,.8); backdrop-filter:blur(16px) saturate(1.8);
  border-bottom:1px solid rgba(0,0,0,.04); transition:box-shadow var(--transition);
}
.nav.scrolled { box-shadow:var(--shadow-sm); }

.nav-inner { display:flex; align-items:center; justify-content:space-between; height:68px; }

.nav-logo { display:flex; align-items:center; gap:8px; font-weight:800; font-size:1.3rem; }
.logo-mark {
  width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--brand-500),var(--brand-700)); color:var(--white);
  font-size:.95rem; font-weight:900;
}
.logo-text { color:var(--gray-900); }

.nav-links { display:flex; gap:32px; }
.nav-links a { font-size:.9rem; font-weight:500; color:var(--gray-500); transition:color var(--transition); position:relative; }
.nav-links a:hover { color:var(--brand-600); }
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0; right:0; height:2px;
  background:var(--brand-600); border-radius:2px; transform:scaleX(0); transition:transform var(--transition);
}
.nav-links a:hover::after { transform:scaleX(1); }

.nav-actions { display:flex; align-items:center; gap:10px; }

.lang-btn {
  padding:6px 14px; font-size:.8rem; font-weight:600; border-radius:8px;
  border:1.5px solid var(--gray-200); background:var(--white); color:var(--gray-600);
  cursor:pointer; transition:all var(--transition); font-family:inherit;
}
.lang-btn:hover { border-color:var(--brand-300); color:var(--brand-600); background:var(--brand-50); }

.nav-toggle {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:4px;
}
.nav-toggle span { display:block; width:22px; height:2px; background:var(--gray-700); border-radius:2px; transition:all var(--transition); }

/* ===== Hero ===== */
.hero { position:relative; padding:140px 0 100px; overflow:hidden; }

.hero-bg { position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,var(--brand-50) 0%,var(--white) 70%); }
.hero-glow {
  position:absolute; border-radius:50%; filter:blur(80px); opacity:.5;
}
.glow-1 { width:600px; height:600px; top:-200px; right:-100px; background:rgba(76,110,245,.12); }
.glow-2 { width:400px; height:400px; bottom:-100px; left:-100px; background:rgba(91,167,255,.08); }

.hero-grid-pattern {
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(76,110,245,.06) 1px,transparent 1px);
  background-size:32px 32px; mask-image:radial-gradient(ellipse 80% 60% at 50% 40%,black 30%,transparent 100%);
}

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

.hero-badge {
  display:inline-block; padding:8px 18px; background:var(--white);
  color:var(--brand-700); border-radius:100px; font-size:.85rem; font-weight:600;
  margin-bottom:24px; border:1px solid var(--brand-100); box-shadow:var(--shadow-sm);
}

.hero h1 { font-size:3.4rem; font-weight:900; line-height:1.2; letter-spacing:-.03em; color:var(--gray-900); margin-bottom:12px; }

.hero-tagline {
  font-size:1.3rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  background:linear-gradient(135deg,var(--brand-400),var(--brand-700));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  margin-bottom:20px; opacity:.9;
}

.hero-desc { font-size:1.1rem; color:var(--gray-600); line-height:1.8; margin-bottom:36px; }

.hero-actions { display:flex; gap:12px; margin-bottom:48px; }

.hero-stats { display:flex; align-items:center; gap:28px; }
.stat strong { display:block; font-size:1.6rem; font-weight:800; color:var(--brand-600); letter-spacing:-.02em; }
.stat span { font-size:.82rem; color:var(--gray-500); font-weight:500; }
.stat-divider { width:1px; height:40px; background:var(--gray-200); }

/* Hero Visual — Phone Mockup */
.hero-visual { position:relative; height:480px; display:flex; align-items:center; justify-content:center; }

.hero-phone {
  width:260px; background:var(--gray-900); border-radius:36px; padding:12px;
  box-shadow:var(--shadow-xl),0 0 0 1px rgba(255,255,255,.1) inset; position:relative;
}
.phone-notch {
  width:100px; height:24px; background:var(--gray-900); border-radius:0 0 16px 16px;
  position:absolute; top:12px; left:50%; transform:translateX(-50%); z-index:2;
}
.phone-screen {
  background:var(--white); border-radius:24px; padding:36px 16px 20px; min-height:360px;
  display:flex; flex-direction:column; gap:14px;
}
.screen-header { display:flex; align-items:center; gap:10px; margin-bottom:4px; }
.screen-avatar { width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,var(--brand-300),var(--brand-500)); flex-shrink:0; }
.screen-title { flex:1; display:flex; flex-direction:column; gap:6px; }

.screen-card {
  background:var(--gray-50); border-radius:14px; padding:14px;
  display:flex; flex-direction:column; gap:8px;
}
.screen-img-placeholder { height:80px; border-radius:10px; background:linear-gradient(135deg,var(--brand-100),var(--brand-200)); }
.screen-reactions { display:flex; gap:12px; font-size:.7rem; color:var(--gray-500); }

.line { height:10px; border-radius:6px; background:var(--gray-200); }
.line-xs { width:30%; } .line-short { width:45%; } .line-med { width:65%; }
.line-long { width:85%; } .line-full { width:100%; }

.hero-card {
  position:absolute; display:flex; align-items:center; gap:12px;
  background:var(--white); border-radius:16px; padding:14px 20px;
  box-shadow:var(--shadow-lg); border:1px solid rgba(0,0,0,.04);
  animation:float 6s ease-in-out infinite; z-index:2;
}
.hero-card .card-icon { font-size:1.4rem; }
.hero-card .card-text strong { display:block; font-size:.85rem; color:var(--gray-800); }
.hero-card .card-text span { font-size:.75rem; color:var(--gray-500); }
.card-1 { top:30px; left:-20px; animation-delay:0s; }
.card-2 { top:140px; right:-30px; animation-delay:2s; }
.card-3 { bottom:40px; left:0px; animation-delay:4s; }

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

/* ===== Section Header ===== */
.section-header { text-align:center; max-width:600px; margin:0 auto 60px; }
.section-tag {
  display:inline-block; padding:6px 16px; background:var(--brand-50);
  color:var(--brand-600); border-radius:100px; font-size:.8rem; font-weight:600;
  margin-bottom:16px; border:1px solid var(--brand-100);
}
.section-header h2 { font-size:2.4rem; font-weight:800; line-height:1.3; color:var(--gray-900); margin-bottom:14px; letter-spacing:-.02em; }
.section-header p { color:var(--gray-500); font-size:1.05rem; }

/* ===== Features ===== */
.features { padding:110px 0; }

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

.feature-card {
  padding:32px 28px; border-radius:var(--radius-lg); border:1px solid var(--gray-100);
  background:var(--white); transition:all var(--transition); position:relative; overflow:hidden;
}
.feature-card::before {
  content:''; position:absolute; inset:0; opacity:0; transition:opacity var(--transition);
  background:linear-gradient(135deg,rgba(76,110,245,.02),rgba(76,110,245,.06));
}
.feature-card:hover { border-color:var(--brand-200); box-shadow:var(--shadow-md); transform:translateY(-4px); }
.feature-card:hover::before { opacity:1; }

.feature-icon-wrap {
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:var(--brand-50); margin-bottom:20px; position:relative; z-index:1;
}
.feature-icon { font-size:1.5rem; }

.feature-card h3 { font-size:1.1rem; font-weight:700; margin-bottom:10px; color:var(--gray-900); position:relative; z-index:1; }
.feature-card p { color:var(--gray-500); font-size:.9rem; line-height:1.7; position:relative; z-index:1; }

/* ===== How It Works ===== */
.how-it-works { padding:110px 0; background:var(--gray-50); }

.steps { display:flex; justify-content:center; gap:0; max-width:900px; margin:0 auto; }

.step { flex:1; text-align:center; padding:0 28px; position:relative; }

.step-number {
  width:60px; height:60px; border-radius:50%;
  background:linear-gradient(135deg,var(--brand-500),var(--brand-700));
  color:var(--white); font-size:1.3rem; font-weight:800;
  display:flex; align-items:center; justify-content:center; margin:0 auto 24px;
  box-shadow:0 8px 24px rgba(76,110,245,.25); position:relative; z-index:1;
}

.step-line {
  position:absolute; top:30px; left:calc(50% + 40px); width:calc(100% - 80px);
  height:2px; background:var(--brand-200);
}
.step:last-child .step-line { display:none; }

.step h3 { font-size:1.1rem; font-weight:700; margin-bottom:10px; color:var(--gray-900); }
.step p { color:var(--gray-500); font-size:.9rem; }

/* ===== Community ===== */
.community { padding:110px 0; }

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

.community-content .section-tag { margin-bottom:16px; }
.community-content h2 { font-size:2.2rem; font-weight:800; line-height:1.3; color:var(--gray-900); margin:0 0 20px; letter-spacing:-.02em; }
.community-content p { color:var(--gray-500); font-size:1.05rem; margin-bottom:28px; }

.community-list { display:flex; flex-direction:column; gap:14px; }
.community-list li { display:flex; align-items:center; gap:12px; font-size:.95rem; color:var(--gray-700); }

.check-icon {
  width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--brand-50); color:var(--brand-600); font-size:.75rem; font-weight:700; flex-shrink:0;
}

.testimonial {
  background:var(--white); border:1px solid var(--gray-100); border-radius:var(--radius-lg);
  padding:28px; margin-bottom:16px; box-shadow:var(--shadow-sm); transition:all var(--transition);
}
.testimonial:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }

.testimonial-stars { color:#fbbf24; font-size:.85rem; margin-bottom:12px; letter-spacing:2px; }

.testimonial p { font-size:.925rem; color:var(--gray-600); line-height:1.7; margin-bottom:16px; font-style:italic; }

.testimonial-author { display:flex; align-items:center; gap:12px; }
.testimonial-avatar {
  width:42px; height:42px; border-radius:50%; background:var(--brand-50);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
}
.testimonial-author strong { display:block; font-size:.875rem; color:var(--gray-800); }
.testimonial-author span { font-size:.8rem; color:var(--gray-500); }

/* ===== Pricing ===== */
.pricing { padding:110px 0; background:var(--gray-50); }

.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:960px; margin:0 auto; }

.pricing-card {
  background:var(--white); border:1.5px solid var(--gray-100); border-radius:var(--radius-lg);
  padding:36px 28px; position:relative; transition:all var(--transition);
}
.pricing-card:hover { box-shadow:var(--shadow-md); }

.pricing-card.popular {
  border-color:var(--brand-400); box-shadow:var(--shadow-lg);
  background:linear-gradient(180deg,rgba(76,110,245,.02),var(--white));
}
@media(min-width:769px) { .pricing-card.popular { transform:scale(1.04); } }

.pricing-badge {
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  padding:5px 18px; background:linear-gradient(135deg,var(--brand-500),var(--brand-700));
  color:var(--white); border-radius:100px; font-size:.75rem; font-weight:700;
}

.pricing-name { font-size:1rem; font-weight:700; color:var(--gray-600); margin-bottom:8px; }
.price-amount { font-size:2.4rem; font-weight:900; color:var(--gray-900); letter-spacing:-.02em; }
.price-period { font-size:.9rem; font-weight:500; color:var(--gray-500); }
.pricing-price { margin-bottom:28px; }

.pricing-features { display:flex; flex-direction:column; gap:12px; margin-bottom:28px; }
.pricing-features li { display:flex; align-items:center; gap:10px; font-size:.9rem; color:var(--gray-600); }

/* ===== CTA ===== */
.cta { padding:110px 0; }

.cta-inner {
  text-align:center; padding:72px 48px; border-radius:var(--radius-xl);
  background:linear-gradient(135deg,var(--brand-600) 0%,var(--brand-900) 100%);
  position:relative; overflow:hidden;
}
.cta-inner::before {
  content:''; position:absolute; top:-60%; right:-20%; width:500px; height:500px;
  border-radius:50%; background:rgba(255,255,255,.06);
}
.cta-inner::after {
  content:''; position:absolute; bottom:-40%; left:-10%; width:400px; height:400px;
  border-radius:50%; background:rgba(255,255,255,.04);
}

.cta-tagline {
  font-size:1rem; font-weight:600; letter-spacing:.15em; text-transform:uppercase;
  color:rgba(255,255,255,.6); margin-bottom:16px; position:relative; z-index:1;
}

.cta h2 {
  font-size:2.2rem; font-weight:800; color:var(--white); margin-bottom:14px;
  position:relative; z-index:1; letter-spacing:-.02em;
}
.cta h2 .text-gradient {
  background:linear-gradient(135deg,#fff,rgba(255,255,255,.75));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

.cta-desc { color:rgba(255,255,255,.7); font-size:1.05rem; margin-bottom:32px; position:relative; z-index:1; }
.cta .btn { position:relative; z-index:1; }

/* ===== Footer ===== */
.footer { padding:64px 0 0; background:var(--gray-900); color:var(--gray-400); }

.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; }

.footer-logo {
  display:flex; align-items:center; gap:8px;
  font-size:1.3rem; font-weight:800; color:var(--white); margin-bottom:10px;
}
.footer-logo .logo-mark {
  width:28px; height:28px; font-size:.8rem; border-radius:6px;
}
.footer-tagline-text { font-size:.9rem; line-height:1.6; margin-bottom:4px; }
.footer-slogan { font-size:.85rem; font-weight:600; color:var(--brand-400); letter-spacing:.05em; }

.footer-links h4 { color:var(--white); font-size:.85rem; font-weight:600; margin-bottom:16px; text-transform:uppercase; letter-spacing:.06em; }
.footer-links a { display:block; font-size:.875rem; color:var(--gray-500); margin-bottom:10px; transition:color var(--transition); }
.footer-links a:hover { color:var(--white); }

.footer-bottom { border-top:1px solid var(--gray-800); padding:20px 0; text-align:center; font-size:.8rem; }

/* ===== Scroll Animations ===== */
.animate-in {
  opacity:0; transform:translateY(24px);
  transition:opacity .6s cubic-bezier(.4,0,.2,1),transform .6s cubic-bezier(.4,0,.2,1);
}
.animate-in.visible { opacity:1; transform:translateY(0); }

.feature-card:nth-child(2) .animate-in-delay { transition-delay:.1s; }
.feature-card:nth-child(3) .animate-in-delay { transition-delay:.2s; }
.feature-card:nth-child(4) .animate-in-delay { transition-delay:.1s; }
.feature-card:nth-child(5) .animate-in-delay { transition-delay:.2s; }
.feature-card:nth-child(6) .animate-in-delay { transition-delay:.3s; }

/* ===== Responsive ===== */
@media(max-width:1024px) {
  .hero h1 { font-size:2.8rem; }
  .hero-inner { gap:40px; }
}

@media(max-width:768px) {
  .nav-links {
    display:none; position:absolute; top:68px; left:0; right:0; background:var(--white);
    flex-direction:column; padding:20px 24px; gap:14px; border-bottom:1px solid var(--gray-100);
    box-shadow:var(--shadow-md);
  }
  .nav-links.open { display:flex; }
  .nav-links a::after { display:none; }
  .nav-toggle { display:flex; }

  .hero { padding:120px 0 60px; }
  .hero-inner { grid-template-columns:1fr; gap:40px; text-align:center; }
  .hero h1 { font-size:2.2rem; }
  .hero-tagline { font-size:1.1rem; }
  .hero-desc br { display:none; }
  .hero-actions { justify-content:center; flex-wrap:wrap; }
  .hero-stats { justify-content:center; }
  .hero-visual { height:360px; }
  .hero-phone { width:220px; }
  .phone-screen { min-height:280px; }
  .card-1 { left:0; top:20px; }
  .card-2 { right:0; }
  .card-3 { left:10px; bottom:10px; }

  .features-grid { grid-template-columns:1fr; max-width:420px; margin:0 auto; }

  .steps { flex-direction:column; align-items:center; gap:32px; }
  .step-line { display:none; }

  .community-grid { grid-template-columns:1fr; gap:40px; }
  .community-content h2 { font-size:1.8rem; }

  .pricing-grid { grid-template-columns:1fr; max-width:400px; margin:0 auto; }

  .cta-inner { padding:48px 24px; }
  .cta h2 { font-size:1.7rem; }

  .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
  .footer-brand { grid-column:1 / -1; }
}

@media(max-width:480px) {
  .hero h1 { font-size:1.8rem; }
  .hero-tagline { font-size:1rem; }
  .hero-visual { height:300px; }
  .hero-phone { width:190px; }
  .hero-card { padding:10px 14px; }
  .hero-card .card-text strong { font-size:.8rem; }
  .hero-card .card-text span { font-size:.7rem; }

  .hero-stats { flex-wrap:wrap; gap:16px; }
  .stat-divider { display:none; }
  .section-header h2 { font-size:1.7rem; }
  .footer-grid { grid-template-columns:1fr; }
}
