:root {
  --primary-color: #0A192F;
  --secondary-color: #172A45;
  --accent-color: #C5A880;
  --accent-hover: #E2C9A1;
  --text-dark: #1E2229;
  --text-light: #F4F6F9;
  --text-muted: #8892B0;
  --bg-light: #FFFFFF;
  --bg-section: #0F1E36;
}

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

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.8;
  font-size: 18px; /* High legibility for seniors */
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--accent-hover);
}

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

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent-color);
  color: var(--primary-color);
  padding: 10px 20px;
  z-index: 1000;
  transition: top 0.2s;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header & Nav */
.site-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid var(--accent-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 45px;
  height: 45px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.desktop-nav a {
  color: var(--text-light);
  font-weight: 500;
}

.desktop-nav a:hover, .desktop-nav a:focus {
  color: var(--accent-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-panel {
  display: none;
  background-color: var(--secondary-color);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-bottom: 2px solid var(--accent-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.mobile-nav-panel.active {
  display: block;
}

.mobile-nav-panel ul {
  list-style: none;
  padding: 20px;
}

.mobile-nav-panel li {
  margin-bottom: 15px;
}

.mobile-nav-panel a {
  color: var(--text-light);
  font-size: 1.2rem;
  display: block;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('images/hero.jpg') no-repeat center center/cover;
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.hero-section p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-muted);
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* Statistics */
.stats-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  padding: 50px 0;
  border-top: 1px solid var(--accent-color);
}

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

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* How It Works (Process) */
.process-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 15px auto 0 auto;
}

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

.process-card {
  text-align: center;
  padding: 30px;
  background-color: var(--text-light);
  border-radius: 8px;
  border-top: 4px solid var(--accent-color);
}

.process-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

/* Trust Blocks */
.trust-section {
  background-color: var(--bg-section);
  color: var(--text-light);
  padding: 80px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* Services section */
.services-section {
  padding: 80px 0;
}

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

.service-card {
  background-color: var(--bg-light);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.service-card-body {
  padding: 25px;
}

.service-card-body h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Features - Asymmetric */
.features-section {
  padding: 80px 0;
  background-color: var(--text-light);
}

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

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.features-content ul {
  list-style-type: none;
  margin-top: 20px;
}

.features-content li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.features-content li::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f00c';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.features-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-light);
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(10, 25, 71, 0.1);
}

.pricing-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 35px;
  text-align: left;
}

.pricing-card li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.pricing-card li::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f105';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.pricing-card .btn-primary {
  margin-top: auto;
  width: 100%;
}

/* Form Section (Lead Capture) */
.form-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.lead-form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--secondary-color);
  padding: 50px;
  border-radius: 8px;
  border: 1px solid var(--accent-color);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #4A5568;
  border-radius: 5px;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 1rem;
}

.form-control:focus {
  outline: 2px solid var(--accent-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 30px;
}

.checkbox-group input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.15rem;
}

/* FAQ Accordion inside Page */
.faq-teaser {
  padding: 80px 0;
  text-align: center;
}

.accordion {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.accordion-item {
  border-bottom: 1px solid #E2E8F0;
  padding: 15px 0;
}

.accordion-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  display: none;
  padding: 15px 0;
  color: #4A5568;
}

/* Trust Layer (Global Footer Trust) */
.trust-layer {
  background-color: #E2E8F0;
  padding: 40px 0;
  font-size: 0.95rem;
  color: #4A5568;
  border-top: 4px solid var(--accent-color);
}

.trust-layer h4 {
  color: var(--primary-color);
  margin-bottom: 12px;
}

.trust-links {
  margin-top: 15px;
}

.trust-links a {
  margin-right: 15px;
  font-weight: bold;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 40px 0;
  font-size: 0.9rem;
  border-top: 1px solid #1E2D4A;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h5 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--text-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #172A45;
  color: var(--text-muted);
}

/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 20px;
  z-index: 10000;
  border-top: 3px solid var(--accent-color);
  display: none;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.btn-cookie-decline {
  background: none;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 4px;
}

.btn-cookie-decline:hover {
  background-color: rgba(197, 168, 128, 0.1);
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}