﻿/* Root Variables & Elegant Dark/Slate/Gold Palette */
:root {
  --primary: #D4AF37;       /* Gold Accent */
  --primary-hover: #AA8B56; /* Deep Gold */
  --bg-slate: #0F172A;      /* Dark Slate (Header & Accent Sections) */
  --bg-light: #F8FAFC;      /* Soft Light Gray Background */
  --text-dark: #1E293B;     /* Primary Dark Gray Text */
  --text-light: #F8FAFC;    /* Light Text for Dark Sections */
  --text-muted: #64748B;    /* Muted Slate Gray Description */
  --border-color: #E2E8F0;  /* Standard Border Color */
  --white: #FFFFFF;
  --font-base: 'Noto Sans KR', 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
}

/* Reset & Basic Base Design */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--text-dark);
  font-family: var(--font-base);
  background-color: var(--white);
}

body {
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Sections */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--bg-slate);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Button UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-slate);
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

.btn-primary-sm {
  background-color: var(--primary);
  color: var(--bg-slate);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-primary-sm:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-dark);
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  display: width: 100%;
  width: 100%;
}

/* Sticky Header */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero-section {
  padding: 100px 0 80px 0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1s 1fr;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--bg-slate);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--primary-hover);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-indicators {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg-slate);
}

.indicator-item .icon {
  width: 20px;
  height: 20px;
}

.hero-visual {
  position: relative;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-visual:hover .hero-image {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--bg-slate);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.badge-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Benefit Cards Grid */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 36px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.svg-icon {
  width: 100%;
  height: 100%;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bg-slate);
  margin-bottom: 16px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Services Stack (Alternating Layout) */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 64px;
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-image-box {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.service-info {
  flex: 1;
}

.service-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.service-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bg-slate);
  margin-bottom: 20px;
}

.service-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  background-color: var(--white);
  border-top: 4px solid var(--primary);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border-radius: 0 0 6px 6px;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bg-slate);
  opacity: 0.15;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bg-slate);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Testimonials */
.testimonial-card {
  background-color: var(--white);
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 700;
  color: var(--bg-slate);
  font-size: 0.95rem;
}

.user-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.about-visual {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

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

.faq-question:hover {
  background-color: rgba(212,175,55,0.05);
}

.faq-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  background-color: var(--white);
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* high enough threshold */
  transition: max-height 0.5s ease-in-out;
}

/* Lead Gen Form Section */
.lead-section {
  background-color: var(--bg-slate);
  color: var(--white);
  padding: 100px 0;
}

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

.lead-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.lead-title .highlight {
  color: var(--primary);
}

.lead-p {
  font-size: 1.1rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 40px;
}

.lead-promises {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.promise-bullet {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.secure-badge-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #94A3B8;
}

.lock-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Form Container */
.lead-form-box {
  background-color: var(--white);
  color: var(--text-dark);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.responsive-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bg-slate);
}

.required {
  color: #EF4444;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.phone-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.phone-prefix {
  background-color: var(--bg-light);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--border-color);
}

.phone-input-wrapper .form-input {
  border: none;
  border-radius: 0;
}

.phone-input-wrapper .form-input:focus {
  box-shadow: none;
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
}

.consent-container {
  margin: 8px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-checkbox {
  margin-top: 3px;
  flex-shrink: 0;
}

.policy-link {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Success Container */
.success-message-container {
  text-align: center;
  padding: 24px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-slate);
  margin-bottom: 16px;
}

.success-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Footer style */
.main-footer {
  background-color: #0B0F19;
  color: #94A3B8;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-brand-p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 20px;
}

.footer-info h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.company-identity {
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-email {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
}

.copyright {
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

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

/* Floating Utilities */
.back-to-top-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: var(--primary);
  color: var(--bg-slate);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 23, 42, 0.98);
  border-top: 1px solid var(--primary);
  padding: 16px 0;
  color: var(--white);
  z-index: 10000;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.cookie-policy-link {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-indicators {
    align-items: center;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-item, .service-item.reverse {
    flex-direction: column;
    gap: 32px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lead-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .main-nav {
    display: none; /* simple mobile design */
  }
  .grid-3, .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
