@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-deep: #050510;
  --bg: #0a0a1a;
  --bg-surface: #0e0e22;
  --bg-card: rgba(20, 20, 45, 0.6);
  --border: rgba(122, 201, 67, 0.1);
  --border-hover: rgba(122, 201, 67, 0.3);
  --glass: rgba(255, 255, 255, 0.03);
  --text: #b0b0c0;
  --text-strong: #ffffff;
  --text-muted: #5a5a75;
  --accent: #7AC943;
  --accent-hover: #8DD654;
  --accent-dim: #5BA832;
  --accent-glow: rgba(122, 201, 67, 0.08);
  --accent-glow-md: rgba(122, 201, 67, 0.15);
  --accent-glow-strong: rgba(122, 201, 67, 0.25);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

::selection {
  background: var(--accent-glow-strong);
  color: var(--text-strong);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Animations ───────────────────────────────────────────────── */

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 40px var(--accent-glow-md), 0 0 80px var(--accent-glow); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes grid-shift {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.animate {
  animation: fadeUp 0.8s var(--ease) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── Hero ─────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 0 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(122, 201, 67, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 201, 67, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 201, 67, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-shift 20s linear infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  animation: fadeUp 1s var(--ease) both;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo {
  width: 130px;
  height: 130px;
  border-radius: 22px;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(122, 201, 67, 0.12));
}

/* ─── Hero right side ──────────────────────────────────────────── */

.hero-right {
  display: flex;
  flex-direction: column;
  padding-top: 154px;
}

.hero-problem-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-problem-body {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 10px;
}

.hero-problem-body em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ─── Problem ──────────────────────────────────────────────────── */

.problem {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.pain-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.pain-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 16px var(--accent-glow);
  transform: translateY(-3px);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
  color: var(--accent);
  opacity: 0.7;
}

.pain-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.pain-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-tagline {
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tagline-line1 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--text-strong);
}

.tagline-line1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.7;
}

.tagline-line2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  background: linear-gradient(135deg, var(--accent) 0%, #a8e063 40%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline-line2 em {
  font-style: normal;
  -webkit-text-fill-color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow-strong);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 400;
}

/* ─── Scroll Hint ──────────────────────────────────────────────── */

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

.scroll-hint {
  display: block;
  margin-top: 32px;
  color: var(--accent);
  opacity: 0.5;
  transition: opacity 0.3s;
  animation: bounce-down 2s ease-in-out infinite;
  z-index: 1;
}

.scroll-hint:hover {
  opacity: 1;
}

.scroll-hint svg {
  width: 28px;
  height: 28px;
}

/* ─── Buttons ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--bg-deep);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 48px var(--accent-glow-strong), 0 4px 16px var(--accent-glow-md), 0 0 0 1px var(--accent-glow);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:active {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-community {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-community:hover {
  background: rgba(122, 201, 67, 0.1);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ─── Sections ─────────────────────────────────────────────────── */

section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-shadow: 0 0 20px var(--accent-glow-md);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--text-strong);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-body {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 640px;
  line-height: 1.8;
}

.section-body.centered {
  margin: 0 auto;
  text-align: center;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--accent), #a8e063, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

/* ─── Divider ──────────────────────────────────────────────────── */

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* (Problem section merged into hero) */

/* ─── Solution ─────────────────────────────────────────────────── */

.solution {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
}

.solution-visual {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.solution-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.solution-core {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 2px solid var(--accent);
  border-radius: 24px;
  padding: 36px 44px;
  text-align: center;
  box-shadow: 0 0 60px var(--accent-glow-md);
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite;
}

.solution-core h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

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

.solution-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 480px;
  justify-content: center;
  margin-left: -6px;
}

.skill-tag {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s var(--ease);
  cursor: default;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(122, 201, 67, 0.05);
}

.solution-arrow {
  font-size: 2.5rem;
  color: var(--accent);
  padding: 0 20px;
  font-weight: 300;
  opacity: 0.6;
}

/* ─── Features ─────────────────────────────────────────────────── */

.features {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px var(--accent-glow);
  transform: translateY(-4px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--accent);
  opacity: 0.8;
  filter: drop-shadow(0 0 6px var(--accent-glow-md));
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.feature-card:hover .feature-icon {
  opacity: 1;
  filter: drop-shadow(0 0 12px var(--accent-glow-strong));
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 10px;
}

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

/* ─── Origin Story ─────────────────────────────────────────────── */

.origin {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
}

.origin-layout {
  display: flex;
  align-items: center;
  gap: 72px;
  margin-top: 56px;
}

.origin-text {
  flex: 1;
}

.origin-text p {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 2;
}

.origin-text em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.origin-visual {
  flex-shrink: 0;
  position: relative;
}

.origin-visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--accent-glow-md) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.origin-icon {
  width: 240px;
  height: 240px;
  border-radius: 32px;
  position: relative;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(122, 201, 67, 0.1));
}

/* ─── Audience ─────────────────────────────────────────────────── */

.audience {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.audience-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  cursor: default;
}

.audience-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 16px var(--accent-glow);
  transform: translateY(-4px);
}

.audience-emoji {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.audience-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Skills Section ───────────────────────────────────────────── */

.skills-section {
  background: var(--bg-deep);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.skills-category {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s;
}

.skills-category:hover {
  border-color: var(--accent);
}

.skills-cat-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.skills-cat-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skills-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.skills-emoji {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.skills-name {
  font-size: 0.9rem;
  color: var(--text-primary);
  flex: 1;
}

.skills-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-deep);
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 28px;
  text-align: center;
}

.skill-tag-count {
  background: var(--accent) !important;
  color: #111 !important;
  font-weight: 700;
}

.skills-footer {
  margin-top: 36px;
}

.skills-total {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ─── CTA ──────────────────────────────────────────────────────── */

.cta-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, var(--accent-glow) 30%, transparent 60%);
  pointer-events: none;
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.cta-section .btn {
  padding: 18px 52px;
  font-size: 1.15rem;
  border-radius: 16px;
}

/* ─── Footer ───────────────────────────────────────────────────── */

.footer {
  padding: 72px 0 40px;
  border-top: 1px solid rgba(122, 201, 67, 0.06);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  width: 200px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.8;
}

.footer-hl-logo {
  margin-top: 4px;
  opacity: 0.6;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-strong);
  margin-bottom: 16px;
}

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

.footer-phone {
  margin-top: 12px;
}

.footer-phone a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-phone a:hover {
  color: var(--accent);
}

.footer-link {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  color: var(--accent);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.4;
}

/* ─── Booking Modal ────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: 95vw;
  max-width: 900px;
  height: 92vh;
  background: #ffffff;
  border-radius: 20px;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 60px var(--accent-glow-md);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* ─── Legal Pages ─────────────────────────────────────────────── */

.legal-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.legal-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.legal-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 700;
  font-size: 1.05rem;
}

.legal-nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.legal-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s;
}

.legal-nav-back:hover {
  color: var(--accent);
}

.legal-nav-back svg {
  width: 16px;
  height: 16px;
}

.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--bg-deep);
}

.legal-header {
  text-align: center;
  margin-bottom: 64px;
}

.legal-header .section-title {
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

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

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-section a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 16px 24px;
  color: var(--text);
}

.legal-section li {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 6px;
  padding-left: 4px;
}

.legal-section li strong {
  color: var(--text-strong);
}

.legal-callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}

.legal-callout p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-callout strong {
  color: var(--accent);
}

.legal-callout ul {
  margin: 8px 0 8px 20px;
}

.legal-callout li {
  font-size: 0.88rem;
}

.legal-callout-warning {
  border-left-color: #e8a838;
}

.legal-callout-warning strong {
  color: #e8a838;
}

.legal-contact {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 12px;
}

.legal-contact p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 2px;
}

.legal-contact a {
  color: var(--accent);
  text-decoration: none;
}

.legal-contact a:hover {
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.footer-legal-links .footer-link {
  display: inline;
  margin-bottom: 0;
  font-size: 0.75rem;
}

.footer-link-sep {
  color: var(--text-muted);
  opacity: 0.3;
  font-size: 0.75rem;
}

/* ─── Responsive ───────────────────────────────────────────────── */

@media (max-width: 768px) {
  .legal-page {
    padding: 100px 0 60px;
  }

  .legal-header {
    margin-bottom: 40px;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }

  section {
    padding: 80px 0;
  }

  .hero {
    min-height: auto;
    padding: 60px 0 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .hero-tagline {
    align-items: center;
  }

  .hero-right {
    padding-top: 0;
  }

  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .origin-layout {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
  }

  .origin-icon {
    width: 180px;
    height: 180px;
  }

  .solution-diagram {
    flex-direction: column;
    gap: 24px;
  }

  .solution-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .solution-skills {
    margin-left: 0;
  }

  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-socials {
    justify-content: center;
  }
}

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

  .container {
    padding: 0 16px;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-socials {
    justify-content: center;
  }
}
