/* ===================================
   일등폐차 - Premium Deep Blue Theme
   =================================== */

:root {
  /* Color Palette */
  --primary: #4F46E5; /* Indigo 600 */
  --primary-dark: #3730A3; /* Indigo 800 */
  --primary-light: #818CF8; /* Indigo 400 */
  --secondary: #1E293B; /* Slate 800 */
  --accent: #F59E0B; /* Amber 500 */
  
  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-dark: #0F172A;
  
  /* Text */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Misc */
  --border: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  padding: 4px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

.logo {
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-fast {
  color: var(--primary);
}

.logo-pecha {
  color: var(--secondary);
}

.nav {
  display: flex;
  gap: 8px;
  flex: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  background: #EEF2FF;
  color: var(--primary);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.header-phone:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 2px solid var(--primary);
  flex-direction: column;
  padding: 16px 0;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  padding: 14px 24px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-phone {
  padding: 16px 24px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  background: #F5F3FF;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background: url('hero.png') center center / cover no-repeat;
  padding-top: 72px;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 60%, rgba(79, 70, 229, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-title-fast {
  background: linear-gradient(to bottom, #fff, #818CF8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-features {
  list-style: none;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hero-features li {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  color: #10B981;
  font-weight: 900;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 18px 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.5);
}

.btn-outline {
  padding: 18px 36px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, #fff, transparent);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}

/* ===== CONSULT BAR ===== */
.consult-bar {
  background: var(--bg-dark);
  padding: 32px 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.consult-bar-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.consult-bar-title {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.consult-icon {
  font-size: 2rem;
  color: var(--accent);
}

.consult-bar-title span {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.consult-bar-title small {
  color: var(--text-light);
  font-size: 0.85rem;
}

.consult-form {
  display: flex;
  flex: 1;
  gap: 12px;
  flex-wrap: wrap;
}

.consult-input {
  flex: 1;
  min-width: 150px;
  height: 52px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.consult-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-light);
}

.consult-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-consult {
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  padding: 0 32px;
  height: 52px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-consult:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-why { background: var(--bg-soft); }
.section-services { background: var(--bg-white); }
.section-faq { background: var(--bg-soft); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.section-title span { color: var(--primary); }

.section-desc {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 1.05rem;
}

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.why-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(79, 70, 229, 0.05);
  position: absolute;
  top: 20px;
  right: 20px;
  line-height: 1;
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Stats */
.section-stats {
  background: var(--bg-dark);
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: 4px;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  background: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  background: #EEF2FF;
  padding: 4px 12px;
  border-radius: 4px;
  align-self: flex-start;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
}

.service-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.service-card-cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
  justify-content: center;
}

.service-card-cta:hover {
  background: var(--primary-dark);
}

.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: rgba(255, 255, 255, 0.8); }

.btn-primary-sm {
  background: #fff;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

/* Process */
.process-steps {
  display: flex;
  gap: 24px;
  align-items: center;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.process-step h4 {
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 800;
}

.process-step p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.process-arrow {
  font-size: 2rem;
  color: var(--border);
  font-weight: 300;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: left;
}

.faq-category {
  font-size: 0.75rem;
  color: var(--primary);
  margin-right: 12px;
  text-transform: uppercase;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-light);
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* FOOTER */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 160px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo { font-size: 1.6rem; font-weight: 900; margin-bottom: 4px; }
.footer-info p { margin-bottom: 0; font-size: 0.85rem; }
.footer-info a { color: var(--text-light); text-decoration: none; opacity: 0.8; }
.footer-info a:hover { opacity: 1; text-decoration: underline; }
.footer-links { display: flex; align-items: center; gap: 12px; }

.footer-link {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}

.footer-copy {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.7;
}

/* Sticky Bar */
.sticky-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--secondary);
  color: #fff;
  padding: 16px 24px;
  border-radius: 100px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
}

.sticky-bar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-left { display: flex; flex-direction: column; }
.sticky-title { font-weight: 900; font-size: 1.1rem; }
.sticky-left small { color: var(--text-light); }

.sticky-form { display: flex; gap: 12px; align-items: center; }

.sticky-input {
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 0 16px;
  border-radius: 50px;
  color: #fff;
  outline: none;
}

.btn-sticky-consult {
  height: 44px;
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal {
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Toast */
.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--bg-dark);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .why-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sticky-bar { display: none; }
}

@media (max-width: 768px) {
  .nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .header-inner { justify-content: space-between; }
  .hero-features { grid-template-columns: 1fr; }
  .why-grid, .services-grid, .process-steps, .stats-grid { grid-template-columns: 1fr; }
  .consult-bar-inner { flex-direction: column; align-items: flex-start; }
  .consult-form { width: 100%; }
}
