/* ===========================================
   Socialerus Landing Page Styles
   .NET 8 호환 순수 CSS
   =========================================== */

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --primary: #e85a35; /* e85a35 dodgerblue */
  --primary-foreground: #ffffff;
  --accent: #d4482a;
  --background: #fafaf8;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --muted: #f0f0eb;
  --muted-foreground: #6b6b6b;
  --border: #e5e5e0;
  --secondary: #f5f5f2;
  --secondary-foreground: #2a2a2a;
  
  /* Typography */
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--muted);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  height: 3.5rem;
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--muted);
}

/* =========================================
   Navigation
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 250, 248, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.125rem;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-menu { display: flex; }
}

.nav-link {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--foreground);
  border-radius: var(--radius);
}

.lang-btn:hover {
  background-color: var(--muted);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
}

.lang-selector:hover .lang-dropdown,
.lang-selector:focus-within .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.875rem;
  text-align: left;
}

.lang-option:hover {
  background-color: var(--muted);
}

.lang-option.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem 0;
  color: var(--muted-foreground);
}

.mobile-menu-link:hover {
  color: var(--foreground);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding: 10rem 0 8rem; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(232, 90, 53, 0.05);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(212, 72, 42, 0.05);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(232, 90, 53, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
}

.hero-badge-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  border-radius: 50%;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badge-dot::after {
  content: '';
  position: relative;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 50%;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Hero Title */
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-title .highlight {
  color: var(--primary);
}

/* Hero Subtitle */
.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stat-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.2s;
}

.stat-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .stat-value { font-size: 2.25rem; }
}

.stat-value .unit {
  color: var(--primary);
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* =========================================
   Features Section
   ========================================= */
.features {
  padding: 5rem 0;
  background-color: rgba(245, 245, 242, 0.3);
}

@media (min-width: 768px) {
  .features { padding: 8rem 0; }
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.feature-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(232, 90, 53, 0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: rgba(232, 90, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.2s;
}

.feature-card:hover .feature-icon {
  background-color: rgba(232, 90, 53, 0.2);
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* =========================================
   Categories Section
   ========================================= */
.categories {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .categories { padding: 8rem 0; }
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(6, 1fr); }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.category-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(232, 90, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.category-card:hover .category-icon {
  background-color: var(--primary);
  transform: scale(1.1);
}

.category-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  transition: color 0.2s;
}

.category-card:hover .category-icon svg {
  color: var(--primary-foreground);
}

.category-name {
  font-weight: 500;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* =========================================
   Process Section
   ========================================= */
.process {
  padding: 5rem 0;
  background-color: var(--foreground);
  color: var(--background);
}

@media (min-width: 768px) {
  .process { padding: 8rem 0; }
}

.process .section-title {
  color: var(--background);
}

.process .section-subtitle {
  opacity: 0.7;
  color: var(--background);
}

.process-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.process-step {
  position: relative;
  text-align: center;
}

.process-step-number {
  position: absolute;
  top: -0.75rem;
  right: calc(50% - 3.5rem);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 10;
}

@media (min-width: 768px) {
  .process-step-number {
    right: -0.75rem;
    top: -0.75rem;
  }
}

.process-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(4px);
}

.process-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* =========================================
   FAQ Section
   ========================================= */
.faq {
  padding: 5rem 0;
  background-color: rgba(245, 245, 242, 0.3);
}

@media (min-width: 768px) {
  .faq { padding: 8rem 0; }
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer-text {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* =========================================
   CTA Section
   ========================================= */
.cta {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .cta { padding: 8rem 0; }
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: var(--primary);
  padding: 4rem 2rem;
}

@media (min-width: 768px) {
  .cta-box { padding: 6rem 4rem; }
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  filter: blur(60px);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  text-wrap: balance;
}

@media (min-width: 768px) {
  .cta-title { font-size: 3rem; }
}

.cta-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-btn {
  margin-top: 2.5rem;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.cta-btn:hover {
  background-color: var(--card);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
}

.footer-brand-text {
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-desc {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.footer-social-link:hover {
  background-color: var(--primary);
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.5;
}

/* =========================================
   Utilities
   ========================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

@media (min-width: 640px) {
  .sm\:hidden { display: none !important; }
  .sm\:flex { display: flex !important; }
  .sm\:inline { display: inline !important; }
}

@media (min-width: 768px) {
  .md\:hidden { display: none !important; }
  .md\:flex { display: flex !important; }
}
