/* SkillDocker Official Website Stylesheet (Static CSS, No External CDN Dependencies) */
:root {
  --bg-main: #0b0f17;
  --bg-card: #131a26;
  --bg-card-hover: #192233;
  --border-color: #222f44;
  --border-light: #334460;
  --text-primary: #f0f4fc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

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

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

a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header.site-header {
  border-bottom: 1px solid rgba(34, 47, 68, 0.85);
  background-color: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: border-color 0.2s ease;
}

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

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.9;
  text-decoration: none !important;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.45);
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  background-color: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  letter-spacing: 0.2px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  text-decoration: none;
}

.lang-switch {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.lang-switch:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  border: 1px solid transparent;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #fff;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-disabled {
  background: rgba(30, 41, 59, 0.6);
  color: var(--text-muted);
  border-color: rgba(51, 65, 85, 0.5);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-disabled:hover {
  filter: none;
  transform: none;
}

/* Feature Grid */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.08);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-free {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pro {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-coming {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Pricing Table */
.pricing-card {
  background: linear-gradient(180deg, rgba(19, 26, 38, 0.95) 0%, rgba(11, 15, 23, 0.98) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 16px;
  padding: 40px;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 28px rgba(6, 182, 212, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 36px rgba(6, 182, 212, 0.18);
}

.pricing-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.price-val {
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.price-sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 4px;
}

.feature-list {
  list-style: none;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.feature-list li .icon-ok {
  color: var(--accent-emerald);
  font-weight: bold;
}

.feature-list li .icon-coming {
  color: var(--accent-amber);
  font-weight: bold;
}

/* Draft Alert Tag */
.draft-banner {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.placeholder-tag {
  background: rgba(244, 63, 94, 0.15);
  border: 1px dashed var(--accent-rose);
  color: #fecdd3;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* Policy Content */
.prose {
  max-width: 840px;
  margin: 0 auto;
}

.prose h1 {
  font-size: clamp(26px, 4vw, 32px);
  margin-bottom: 8px;
}

.prose .meta-text {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.prose h2 {
  font-size: 20px;
  margin: 32px 0 14px;
  color: #fff;
}

.prose p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 15px;
  overflow-wrap: break-word;
}

.prose ul, .prose ol {
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 24px;
  font-size: 14px;
}

.prose li {
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

code, .inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border-color);
  background-color: #070a10;
  padding: 48px 0 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.disclaimer-box {
  max-width: 820px;
  margin: 0 auto 20px;
  text-align: center;
  line-height: 1.6;
  color: #64748b;
  font-size: 12px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #141c2b;
  padding-top: 20px;
  color: #475569;
}

/* Mobile & Tablet Responsive Breakpoints */
@media (max-width: 768px) {
  .nav-row {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .main-nav {
    gap: 14px;
    font-size: 13px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-end;
  }

  .hero {
    padding: 48px 0 36px;
  }

  .section {
    padding: 48px 0;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .card {
    padding: 22px;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-badge {
    font-size: 10px;
    padding: 1px 6px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-group .btn {
    width: 100%;
  }

  .pricing-card {
    padding: 24px 16px;
  }

  .price-val {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
