/* =============================
   RustMastery Pro — Style v2
   Industrial Premium
   ============================= */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #d4740e;
  --primary-dark: #b86209;
  --primary-light: #f08c2e;
  --primary-glow: rgba(212, 116, 14, 0.12);
  --primary-glow-strong: rgba(212, 116, 14, 0.25);

  --secondary: #1a1a2e;
  --bg-dark: #08080e;
  --bg-card: #0f0f1a;
  --bg-card-hover: #18182b;
  --text-primary: #f0ece4;
  --text-secondary: #9e9488;
  --text-muted: #6a6258;
  --border-color: #222238;
  --border-hover: #333355;

  --success: #4ade80;
  --warning: #f59e0b;
  --danger: #ef4444;

  --font-heading: 'Oswald', 'Inter', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --max-width: 1200px;
  --header-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xl: 16px;
}

/* --- Grain Texture Overlay --- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  background-repeat: repeat;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle ambient background glow */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 116, 14, 0.015) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(212, 116, 14, 0.01) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

/* --- Selection --- */
::selection {
  background: rgba(212, 116, 14, 0.3);
  color: #fff;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; letter-spacing: 0.02em; }
h4 { font-size: 1.1rem; letter-spacing: 0.02em; }

p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Header / Nav === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 14, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  transition: border-color 0.3s;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.logo:hover { color: var(--text-primary); }

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), #f59e0b);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 20px rgba(212, 116, 14, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.85rem;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  opacity: 0.9;
  box-shadow: 0 0 24px rgba(212, 116, 14, 0.3) !important;
}
.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 1001;
  transition: transform 0.2s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 8px 32px rgba(212, 116, 14, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(212, 116, 14, 0.2);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* === Hero Section === */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Ambient animated orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 116, 14, 0.06) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
  animation: orbFloat 15s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero entrance animations */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(212, 116, 14, 0.1);
  border: 1px solid rgba(212, 116, 14, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.hero h1 {
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateX(0) translateY(0); }
}

/* Hero Visual */
.hero-visual {
  position: relative;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-visual-inner {
  position: relative;
  background: linear-gradient(135deg, var(--bg-card), #121220);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(212, 116, 14, 0.04);
}

.hero-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(212, 116, 14, 0.06), transparent 60%),
    radial-gradient(circle at 30% 80%, rgba(245, 158, 11, 0.03), transparent 50%);
}

/* Mockup Card */
.mockup-card {
  position: relative;
  z-index: 1;
}
.mockup-card + .mockup-card { margin-top: 1rem; }

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}
.mockup-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.mockup-content {
  background: rgba(8, 8, 14, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.mockup-content:hover {
  border-color: rgba(212, 116, 14, 0.25);
  background: rgba(8, 8, 14, 0.8);
}

.mockup-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mockup-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.mockup-build-icon { background: rgba(212, 116, 14, 0.2); color: var(--primary-light); }
.mockup-electric-icon { background: rgba(74, 222, 128, 0.15); color: var(--success); }
.mockup-pvp-icon { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.mockup-farm-icon { background: rgba(234, 179, 8, 0.15); color: var(--warning); }

.mockup-title {
  font-size: 0.88rem;
  font-weight: 600;
}
.mockup-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.mockup-badge {
  font-size: 0.68rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(212, 116, 14, 0.15);
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(15, 15, 26, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary-light);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}

/* === Section Styles === */
.section {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}
.section-header p {
  max-width: 600px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

.section-header .badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(212, 116, 14, 0.08);
  border: 1px solid rgba(212, 116, 14, 0.18);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  border-color: rgba(212, 116, 14, 0.25);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 40px rgba(212, 116, 14, 0.06);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1);
}
.feature-icon.guide { background: rgba(212, 116, 14, 0.15); color: var(--primary-light); }
.feature-icon.build { background: rgba(74, 222, 128, 0.12); color: var(--success); }
.feature-icon.electric { background: rgba(96, 165, 250, 0.12); color: #60a5fa; }
.feature-icon.farm { background: rgba(234, 179, 8, 0.12); color: var(--warning); }
.feature-icon.pvp { background: rgba(239, 68, 68, 0.12); color: var(--danger); }
.feature-icon.community { background: rgba(168, 85, 247, 0.12); color: #a855f7; }

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  font-family: var(--font-body);
}

/* === Guides Grid === */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}
.guide-card:hover {
  border-color: rgba(212, 116, 14, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(212, 116, 14, 0.06);
}
.guide-card:hover::before { opacity: 1; }

.guide-card-image {
  height: 160px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.guide-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 14, 0.6));
}
.guide-card-image .guide-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
  font-family: var(--font-body);
}

.guide-card-body {
  padding: 1.25rem;
  position: relative;
  z-index: 1;
}
.guide-card-body .guide-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}
.guide-card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
.guide-card-body h3 a { color: var(--text-primary); }
.guide-card-body h3 a:hover { color: var(--primary-light); }
.guide-card-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}
.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}
.guide-card-footer .guide-tag-sm {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(212, 116, 14, 0.12);
  color: var(--primary-light);
  font-weight: 600;
  font-family: var(--font-body);
}
.guide-card-footer .premium-tag {
  background: linear-gradient(135deg, rgba(212, 116, 14, 0.2), rgba(245, 158, 11, 0.15));
  color: #fbbf24;
}

/* === Pricing Section === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.pricing-card:hover {
  border-color: rgba(212, 116, 14, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(212, 116, 14, 0.05);
}

.pricing-card.featured {
  border-color: rgba(212, 116, 14, 0.4);
  background: linear-gradient(180deg, rgba(212, 116, 14, 0.06), var(--bg-card));
  transform: scale(1.04);
  box-shadow: 0 0 60px rgba(212, 116, 14, 0.06);
}
.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 12px 60px rgba(212, 116, 14, 0.1);
}
.pricing-card.featured .pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}

.pricing-amount {
  font-size: 2.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.pricing-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.pricing-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-features .check {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.pricing-features .muted {
  color: var(--text-muted);
}
.pricing-features .x {
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
}
.testimonial-card:hover {
  border-color: rgba(212, 116, 14, 0.2);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-light);
  font-family: var(--font-mono);
}
.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
}
.testimonial-role {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* === FAQ === */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open {
  border-color: rgba(212, 116, 14, 0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
  font-family: var(--font-body);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question .faq-toggle {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
  font-family: var(--font-body);
}
.faq-item.open .faq-question .faq-toggle {
  transform: rotate(180deg);
  color: var(--primary-light);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  background: var(--bg-card);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 116, 14, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p {
  font-size: 0.84rem;
  margin-top: 0.75rem;
  max-width: 300px;
  font-family: var(--font-body);
}
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-col a:hover { color: var(--text-primary); }

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

/* === Guide Detail Page === */
.guide-detail {
  padding: 7rem 0 4rem;
}
.guide-detail article {
  max-width: 760px;
  margin: 0 auto;
}
.guide-detail .guide-header {
  margin-bottom: 2.5rem;
}
.guide-detail .guide-header .guide-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.guide-detail .guide-header .guide-breadcrumb a { color: var(--text-muted); }
.guide-detail .guide-header .guide-breadcrumb a:hover { color: var(--primary-light); }
.guide-detail .guide-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
  text-transform: none;
}
.guide-detail .guide-header .guide-meta-large {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.guide-content h2 {
  font-size: 1.45rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
}
.guide-content h3 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.75rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}
.guide-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.guide-content ul, .guide-content ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}
.guide-content li { margin-bottom: 0.4rem; }
.guide-content strong { color: var(--text-primary); }

.guide-content .premium-block {
  background: linear-gradient(135deg, rgba(212, 116, 14, 0.08), rgba(212, 116, 14, 0.02));
  border: 1px solid rgba(212, 116, 14, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.guide-content .premium-block h4 {
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
}
.guide-content .premium-block p {
  margin-bottom: 0.75rem;
}
.guide-content .premium-block:last-child { margin-bottom: 0; }

.guide-content .tip-box {
  background: rgba(74, 222, 128, 0.05);
  border-left: 3px solid var(--success);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.guide-content .tip-box strong { color: var(--success); }

.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}
.guide-content th {
  background: var(--secondary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.7rem 1rem;
  text-align: left;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
}
.guide-content td {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* === Blog List === */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover {
  border-color: rgba(212, 116, 14, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(212, 116, 14, 0.06);
}
.blog-card .blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}
.blog-card h3 {
  margin-bottom: 0.5rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0;
}
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--primary-light); }
.blog-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* === Premium Gate === */
.premium-gate {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(212, 116, 14, 0.06), var(--bg-card));
  border: 1px solid rgba(212, 116, 14, 0.2);
  border-radius: var(--radius);
  margin: 2rem 0;
}
.premium-gate .lock-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.premium-gate h3 {
  margin-bottom: 0.5rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
}
.premium-gate p {
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, rgba(212, 116, 14, 0.08), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(212, 116, 14, 0.2);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 116, 14, 0.4), transparent);
}
.cta-banner h2 {
  margin-bottom: 0.75rem;
}
.cta-banner p {
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* === Ad Placeholder === */
.adsense-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2rem 0;
}

/* === Page Header === */
.page-header {
  padding: 7rem 0 2.5rem;
  text-align: center;
}
.page-header h1 {
  margin-bottom: 0.5rem;
}
.page-header p {
  max-width: 550px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === Scroll Reveal Animations === */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="left"].revealed {
  opacity: 1;
  transform: translateX(0);
}

[data-reveal="right"] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="right"].revealed {
  opacity: 1;
  transform: translateX(0);
}

[data-reveal="scale"] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="scale"].revealed {
  opacity: 1;
  transform: scale(1);
}

/* === Utility === */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.gap-1 { gap: 1rem; }

/* =============================
   Responsive
   ============================= */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: rgba(8, 8, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a { font-size: 1.05rem; }
  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }
  body.menu-open {
    overflow: hidden;
  }

  .features-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .blog-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero { padding: 6rem 0 3rem; }

  .pricing-card { padding: 2rem 1.5rem; }
  .page-header { padding: 6rem 0 1.5rem; }
}
