﻿/* General Variables & Modern Core Theme */
:root {
  --primary: #2563eb;       /* Royal Blue */
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;     /* Deep Indigo Slate */
  --accent: #0d9488;        /* Teal */
  --light-bg: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --white: #ffffff;
  --border-color: #cbd5e1;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --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.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.text-underline {
  text-decoration: underline;
}

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

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

.text-center {
  text-align: center;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary);
}

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

section {
  padding: 80px 0;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

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

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

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

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

/* Header & Navigation Styling */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

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

.header-logo {
  max-height: 40px;
}

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

.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

/* Hero Section Styling */
.hero-section {
  padding-top: 160px;
  padding-bottom: 90px;
  background-color: var(--light-bg);
  overflow: hidden;
}

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

.hero-content {
  max-width: 650px;
}

.badge {
  display: inline-block;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

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

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

.trust-strip {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.trust-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.trust-logos {
  display: flex;
  gap: 32px;
}

.trust-logos span {
  font-weight: 700;
  color: var(--border-color);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-icon {
  font-size: 1.5rem;
}

.card-num {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}

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

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

.benefit-card {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

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

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

/* Split Showcase Feature */
.split-highlight-section {
  padding: 100px 0;
  border-top: 1px solid var(--light-bg);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  align-items: center;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.split-info .tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.split-info h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.split-info p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Services Grid Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-media img {
  width: 100%;
  object-fit: cover;
  height: 250px;
}

.service-body {
  padding: 40px;
}

.service-meta {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-body h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

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

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

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

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

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

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

.testimonial-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.testimonial-rating {
  color: #f59e0b;
  margin-bottom: 16px;
}

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

.testimonial-user {
  display: flex;
  align-items: center;
}

.user-meta .user-name {
  display: block;
  font-weight: 700;
  color: var(--secondary);
}

.user-meta .user-comp {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

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

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.faq-q {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--secondary);
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon-arrow::before,
.faq-icon-arrow::after {
  content: '';
  position: absolute;
  background-color: var(--secondary);
  transition: var(--transition-smooth);
}

.faq-icon-arrow::before {
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
}

.faq-icon-arrow::after {
  top: 3px;
  left: 9px;
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-icon-arrow::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

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

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.about-info h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.about-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.cross-border-box {
  background-color: rgba(13, 148, 136, 0.05);
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 32px;
}

.cross-border-box p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-dark);
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat-item {
  background-color: var(--white);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

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

/* Lead Form Area */
.contact-section {
  background-color: var(--secondary);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  align-items: center;
}

.contact-intro h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.contact-intro p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.form-bullet-points {
  list-style: none;
  margin-bottom: 40px;
}

.form-bullet-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.form-bullet-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.form-privacy-stamp {
  display: flex;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-privacy-stamp span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}

.form-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.phone-input-wrapper {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.phone-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.phone-prefix {
  background-color: var(--light-bg);
  padding: 12px 16px;
  font-weight: 600;
  border-right: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.phone-input-wrapper input {
  border: none !important;
  border-radius: 0 !important;
  width: 100%;
}

.form-help-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.form-group-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

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

/* Success & Error message boxes */
.form-success-container {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 20px;
}

.success-icon {
  width: 48px;
  height: 48px;
  background-color: #22c55e;
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.form-success-container h3 {
  color: #166534;
  margin-bottom: 8px;
}

.form-success-container p {
  font-size: 0.9rem;
  color: #166534;
}

.form-error-container {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  padding: 16px;
  border-radius: var(--radius-md);
  color: #991b1b;
  font-size: 0.9rem;
  margin-top: 20px;
  text-align: center;
}

/* Footer layout */
.main-footer {
  background-color: #0b0f19;
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 0 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
  max-height: 40px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer-legal-desc {
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-address {
  line-height: 1.6;
  font-size: 0.85rem;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
}

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

.contact-highlight {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
  margin-bottom: 12px;
}

.contact-highlight a {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
  font-size: 0.8rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Cookie Banner Styling */
.cookie-banner-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  z-index: 9999;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

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

/* Responsive Breakpoints - Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .trust-logos {
    justify-content: center;
  }
  .hero-media {
    max-width: 550px;
    margin: 0 auto;
  }
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; /* Hide standard nav list */
  }
  .btn-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  
  /* Mobile Open state */
  .main-header.menu-open .main-nav {
    display: block;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 32px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }
  .main-header.menu-open .main-nav ul {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .main-header.menu-open .mobile-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .main-header.menu-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  .main-header.menu-open .mobile-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .benefits-grid,
  .testimonials-grid,
  .process-timeline,
  .about-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .contact-form-wrapper {
    padding: 24px;
  }
  .form-row-grid {
    grid-template-columns: 1fr;
  }
}
