﻿:root {
  --primary: #00F2FE;
  --secondary: #4FACFE;
  --accent: #10B981;
  --dark-bg: #0F172A;
  --card-bg: #1E293B;
  --light-text: #F8FAFC;
  --muted-text: #94A3B8;
  --border-color: #334155;
  --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition-speed: 0.3s;
}

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

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

body {
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-speed);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--light-text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000000 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 700 !important;
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: 12rem 0 7rem;
  background: radial-gradient(circle at 10% 20%, rgba(15, 32, 67, 0.6) 0%, rgba(15, 23, 42, 1) 90%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #e2e8f0, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--muted-text);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all var(--transition-speed);
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #0F172A;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
  color: #0F172A;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--border-color);
  color: var(--light-text);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.trust-items {
  display: flex;
  gap: 2rem;
  align-items: center;
  opacity: 0.8;
}

.trust-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--light-text);
  border-left: 2px solid var(--secondary);
  padding-left: 0.75rem;
}

.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.02);
}

/* Base Sections styling */
section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section-tag {
  text-align: center;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--muted-text);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* Value Props (Benefits) Block */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  transition: all var(--transition-speed);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-text);
}

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

/* How It Works Block */
.steps-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.step-card {
  position: relative;
  text-align: center;
  z-index: 2;
}

.step-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--dark-bg);
  border: 3px solid var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--muted-text);
  font-size: 0.9rem;
  padding: 0 0.5rem;
}

/* Features/Services Section (Alternating) */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-info {
  direction: ltr;
}

.feature-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-speed);
}

.feature-image:hover img {
  transform: scale(1.03);
}

.feature-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-info p {
  color: var(--muted-text);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.feature-bullet {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.feature-bullet svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--light-text);
}

.author-meta span {
  font-size: 0.8rem;
  color: var(--primary);
}

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

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition-speed);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-speed);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
  color: var(--muted-text);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 1.5rem;
}

.faq-item.active {
  border-color: var(--primary);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

/* About / Operator Section */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-content p {
  color: var(--muted-text);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.compliance-box {
  background-color: rgba(0, 242, 254, 0.03);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.compliance-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.compliance-box p {
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Form Section */
.lead-section {
  background: radial-gradient(circle at 50% 50%, rgba(15, 32, 67, 0.5) 0%, rgba(15, 23, 42, 1) 100%);
}

.lead-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.form-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.form-info p {
  color: var(--muted-text);
  margin-bottom: 2rem;
}

.form-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-feat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.form-feat svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.form-container {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--dark-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--light-text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-speed);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.form-phone-wrapper {
  display: flex;
  gap: 0.5rem;
}

.phone-prefix {
  width: 80px;
  background-color: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

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

.form-group.checkbox label a {
  text-decoration: underline;
}

.form-container button {
  width: 100%;
  margin-top: 1rem;
}

/* Success Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--card-bg);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
  z-index: 10;
}

.success-icon {
  width: 64px;
  height: 64px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.form-success-overlay h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.form-success-overlay p {
  color: var(--muted-text);
  font-size: 0.95rem;
}

/* Footer & Legal details */
footer {
  background-color: #030712;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
}

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

.footer-brand .logo-wrapper {
  height: 48px;
  margin-bottom: 1.5rem;
}

.footer-brand .logo-wrapper img {
  height: 100%;
  width: auto;
}

.footer-brand p {
  color: var(--muted-text);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted-text);
  font-size: 0.9rem;
}

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

.footer-contact p {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 1rem;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-text);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--card-bg);
  border-top: 2px solid var(--primary);
  padding: 1.5rem 0;
  z-index: 2000;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--muted-text);
  line-height: 1.5;
}

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

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.cookie-accept {
  background-color: var(--primary);
  color: #000;
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--light-text);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
}

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

.back-to-top:hover {
  background-color: var(--primary);
  color: #000;
}

/* Legal Documents layout template */
.legal-page {
  padding: 10rem 0 6rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--primary);
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--muted-text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legal-content ul, .legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Responsive grid layouts */
@media (max-width: 1024px) {
  .benefits-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-container::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-grid, .feature-row, .about-grid, .lead-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .benefits-grid, .testimonials-grid, .steps-container {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}
