/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --card: #111111;
  --card-alt: #1a1a1a;
  --gold: #c9a84c;
  --gold-dim: rgba(201, 168, 76, 0.03);
  --gold-10: rgba(201, 168, 76, 0.1);
  --gold-15: rgba(201, 168, 76, 0.15);
  --text: #f0f0f0;
  --text-sec: #888888;
  --border: #2a2a2a;
  --radius: 12px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 720px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--card);
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-sec);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 56px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #d4b45a;
  border-color: #d4b45a;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost-sm {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-ghost-sm:hover {
  transform: translateY(-2px);
  background: var(--gold-10);
}

.btn-full {
  display: block;
  width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-lang {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sec);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s;
}

.nav-lang:hover {
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-sec);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #3a3a3a;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 0.9rem;
  color: var(--text-sec);
  font-weight: 400;
  transition: color 0.2s;
}

.toggle-label.active {
  color: var(--text);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border);
  border: none;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.toggle-switch.active {
  background: var(--gold);
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--text);
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle-switch.active .toggle-knob {
  transform: translateX(22px);
}

.toggle-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-10);
  padding: 4px 10px;
  border-radius: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  text-align: center;
  padding: 36px 28px;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--gold);
  background: var(--card-alt);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-sec);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-sec);
  font-weight: 300;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-sec);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 300;
}

.pricing-features li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 10px;
  font-weight: 600;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-addon {
  text-align: center;
  color: var(--text-sec);
  font-size: 0.85rem;
  font-weight: 300;
  margin-top: 32px;
}

/* ===== PRIVACY ===== */
.section-privacy {
  background: var(--card);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.privacy-item {
  text-align: center;
  padding: 24px 16px;
}

.privacy-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}

.privacy-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.privacy-item-desc {
  font-size: 0.85rem;
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.faq-item[open] {
  border-color: #3a3a3a;
}

.faq-question {
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-sec);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-sec);
  font-weight: 400;
  transition: color 0.2s;
}

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

/* ===== NAV LINK ===== */
.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-sec);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

/* ===== BLOG LIST ===== */
.blog-section {
  padding-top: 120px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-card {
  display: block;
  padding: 0;
  overflow: hidden;
}

.blog-card:hover {
  border-color: var(--gold);
}

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

.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--card-alt) 0%, var(--card) 100%);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-10);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-sec);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: #555;
  font-weight: 300;
}

/* ===== BLOG ARTICLE ===== */
.blog-article {
  padding-top: 120px;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-sec);
}

.blog-article-reading {
  color: #555;
}

.blog-article-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}

.blog-article-lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.blog-article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  font-weight: 300;
}

.blog-article-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin: 48px 0 16px;
}

.blog-article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}

.blog-article-content p {
  margin-bottom: 20px;
}

.blog-article-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article-content a:hover {
  color: #d4b45a;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 16px 0;
  padding-left: 24px;
  list-style: disc;
}

.blog-article-content ol {
  list-style: decimal;
}

.blog-article-content li {
  margin-bottom: 8px;
  color: var(--text-sec);
}

.blog-article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-article-content blockquote p {
  color: var(--text-sec);
  font-style: italic;
  margin-bottom: 0;
}

.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.blog-article-content th,
.blog-article-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: left;
}

.blog-article-content th {
  background: var(--card);
  font-weight: 600;
  color: var(--text);
}

.blog-article-content td {
  color: var(--text-sec);
}

.blog-article-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
  .card {
    padding: 24px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
