﻿:root {
  --primary: #064E3B;
  --primary-hover: #043226;
  --secondary: #D97706;
  --secondary-hover: #B45309;
  --bg-light: #F8FAFC;
  --bg-dark: #0F172A;
  --text-main: #1E293B;
  --text-light: #64748B;
  --border-color: #E2E8F0;
  --white: #FFFFFF;
  --font-base: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Typography Custom Rules */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--bg-dark);
  line-height: 1.3;
}

p {
  color: var(--text-light);
}

/* Standard Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Glassmorphic Navigation */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo-link {
  display: flex;
  align-items: center;
  height: 50px;
  width: 260px;
}

.logo-link img {
  height: 100%;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--primary);
}

.btn-header {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm);
}

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

/* Mobile Navigation Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--bg-dark);
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--white);
  padding: 140px 0 100px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  z-index: 5;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
  line-height: 1.25;
}

.hero h1 span {
  color: var(--secondary);
}

.hero p {
  color: #94A3B8;
  font-size: 18px;
  margin-bottom: 35px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  margin-bottom: 45px;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
}

.trust-strip p {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  color: #64748B;
}

.trust-logos {
  display: flex;
  gap: 30px;
  align-items: center;
  opacity: 0.85;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #CBD5E1;
}

.trust-logo-item svg {
  width: 20px;
  height: 20px;
  fill: var(--secondary);
}

.hero-image-wrapper {
  position: relative;
  z-index: 5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Core Values Section */
.values {
  padding: 100px 0;
  background: var(--white);
}

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

.section-title h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 20px;
}

.section-title p {
  font-size: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.value-card {
  padding: 35px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition);
  background: var(--bg-light);
}

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

.value-icon {
  width: 60px;
  height: 60px;
  background: rgba(6, 78, 59, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--primary);
}

.value-icon svg {
  width: 30px;
  height: 30px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.value-card p {
  font-size: 15px;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-light);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
}

.step-card {
  position: relative;
  background: var(--white);
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--shadow-md);
}

.step-card h3 {
  font-size: 18px;
  margin: 15px 0 12px 0;
}

.step-card p {
  font-size: 14px;
}

/* Features/Services Section */
.features {
  padding: 100px 0;
  background: var(--white);
}

.features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.features-row:nth-child(even) {
  direction: rtl;
}

.features-row:nth-child(even) .features-text {
  direction: ltr;
}

.features-text h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.features-text p {
  font-size: 16px;
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
}

.features-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-main);
}

.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23D97706'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.features-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.features-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Testimonials / Social Proof */
.testimonials {
  padding: 100px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 15px;
  left: 25px;
  font-size: 80px;
  color: rgba(6, 78, 59, 0.08);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  position: relative;
  z-index: 2;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 13px;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-right: 20px;
}

.faq-answer p {
  padding-top: 15px;
  font-size: 15px;
  line-height: 1.7;
}

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

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

/* Lead Generation Section with Static Code Prefix */
.lead-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--white);
  position: relative;
}

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

.lead-intro h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 20px;
}

.lead-intro p {
  color: #94A3B8;
  font-size: 16px;
  margin-bottom: 30px;
}

.lead-guarantee-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--secondary);
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

.lead-guarantee-box h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.lead-guarantee-box p {
  color: #CBD5E1;
  font-size: 14px;
  margin: 0;
}

.form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--bg-dark);
}

.form-group label span.required {
  color: #DC2626;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-base);
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.15);
}

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

.phone-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.15);
}

.phone-prefix {
  background: var(--bg-light);
  padding: 12px 16px;
  font-weight: 700;
  border-right: 1px solid var(--border-color);
  color: var(--text-main);
  user-select: none;
}

.phone-input-wrapper input {
  border: none !important;
  box-shadow: none !important;
  flex: 1;
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 25px 0;
}

.checkbox-group input {
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group label a {
  color: var(--primary);
  font-weight: 700;
}

.error-msg {
  color: #DC2626;
  font-size: 13px;
  display: none;
  margin-top: 6px;
}

.btn-form {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Inline Form States */
.form-success-wrapper {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(6, 78, 59, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success-wrapper h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.form-success-wrapper p {
  font-size: 15px;
}

/* About Us Section with Operator Disclosure */
.about {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
}

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

.about-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 25px;
}

.about-content p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-badge-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-badge {
  border-left: 3px solid var(--secondary);
  padding-left: 15px;
}

.about-badge h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.about-badge p {
  font-size: 14px;
  margin: 0;
}

/* Footer Styles */
footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 25px;
}

.footer-logo img {
  height: 100%;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: #64748B;
  flex-shrink: 0;
}

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

.back-to-top {
  background: var(--secondary);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-md);
}

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

/* Cookie Opt-In Consent Banner (South Korea Compliant) */
.cookie-banner {
  position: fixed;
  bottom: 25px;
  left: 25px;
  right: 25px;
  max-width: 500px;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 25px;
  z-index: 10000;
  display: none;
  animation: slideInUp 0.5s ease-out forwards;
}

.cookie-content h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--bg-dark);
}

.cookie-content p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.cookie-content p a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn-accept {
  flex: 1;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-accept:hover {
  background: var(--primary-hover);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn-reject:hover {
  background: var(--bg-light);
  color: var(--bg-dark);
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile Responsive Adapters */
@media (max-width: 991px) {
  .hero-grid, .features-row, .lead-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-row:nth-child(even) {
    direction: ltr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 40px 20px;
    gap: 25px;
    transition: 0.3s ease-in-out;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    left: 0;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding-top: 100px;
  }
}