﻿:root {
  --primary: #0f766e;
  --primary-hover: #115e59;
  --primary-light: #ccfbf1;
  --secondary: #059669;
  --accent: #d97706;
  --bg: #fbf9f5;
  --card-bg: #ffffff;
  --surface: #f4efe6;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 20px -2px rgba(15, 118, 110, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.brand-icon {
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

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

.btn-nav {
  background: var(--primary) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 10px !important;
}

.btn-nav:hover {
  background: var(--primary-hover) !important;
}

/* Hero Section */
.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary-hover);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.2rem;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
  transition: all 0.2s ease;
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #e9e3d8;
}

/* Features Grid */
.features-section {
  max-width: 1140px;
  margin: 3rem auto 5rem;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(15, 118, 110, 0.12);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

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

/* Legal & Policy Page Container */
.legal-container {
  max-width: 860px;
  margin: 2.5rem auto 5rem;
  padding: 0 1.5rem;
}

.legal-card {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.legal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.meta-info {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #f1f5f9;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1.3rem 0 0.5rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

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

.legal-content li {
  margin-bottom: 0.5rem;
}

.notice-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
}

.notice-box.warning {
  background: #fffbeb;
  border-left-color: var(--accent);
}

.notice-box.success {
  background: #ecfdf5;
  border-left-color: var(--secondary);
}

.notice-box p {
  margin-bottom: 0;
  color: #0f172a;
  font-size: 0.95rem;
}

.steps-list {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  margin: 1.5rem 0;
}

.steps-list li {
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 1.5rem 2.5rem;
  border-top: 1px solid #1e293b;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.2rem;
}

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

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1140px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.1rem;
  }
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .legal-card {
    padding: 1.8rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
