/* Import Outfit Google Font for modern premium typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --bg-dark: #0f0a06;
  --bg-darker: #080503;
  --bg-card: rgba(26, 18, 12, 0.7);
  --bg-card-hover: rgba(38, 27, 18, 0.85);
  --primary: #d97706;
  --primary-rgb: 217, 119, 6;
  --primary-hover: #f59e0b;
  --secondary: #92400e;
  --secondary-hover: #b45309;
  --accent: #f59e0b;
  --text-main: #fde68a;
  --text-body: #f3e8df;
  --text-muted: #c2b3a3;
  --border-color: rgba(217, 119, 6, 0.18);
  --border-hover: rgba(217, 119, 6, 0.45);
  --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.25);
  --shadow-glow-strong: 0 0 35px rgba(217, 119, 6, 0.45);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Outfit', 'Noto Sans SC', sans-serif;
  --font-sans: 'Noto Sans SC', sans-serif;
}

/* Reset and Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Desert sand drift animation overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(circle at 20% 30%, rgba(217, 119, 6, 0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(146, 64, 14, 0.05) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

a:hover {
  color: #fff;
}

/* Grid & Layout System */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Particles background component */
.sand-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  animation: floatUpwards 25s infinite linear;
}

@keyframes floatUpwards {
  0% {
    transform: translateY(105%) translateX(0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-5%) translateX(80px) scale(1.2);
    opacity: 0;
  }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 10, 6, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(8, 5, 3, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

header.scrolled .nav-container {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  text-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

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

.logo img {
  height: 32px;
  width: auto;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Premium Dynamic CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(254, 230, 138, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
  z-index: -1;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-strong);
  color: #fff;
}

.cta-button:hover::before {
  left: 100%;
}

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

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-body);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  background: radial-gradient(circle at center, rgba(146, 64, 14, 0.15) 0%, var(--bg-dark) 80%);
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.badge span.dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
}

.hero-content h1 span {
  background: linear-gradient(to right, #f59e0b, #d97706, #c2410c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 27, 18, 0.6);
  color: var(--text-body);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(217, 119, 6, 0.1);
  border-color: var(--primary);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 400;
}

/* Hero Interactive Visual - Sand Glass Art */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sand-sphere-outer {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(217, 119, 6, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: rotateSlow 30s infinite linear;
}

.sand-sphere-inner {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(8, 5, 3, 0.4) 70%);
  border: 1px dashed rgba(217, 119, 6, 0.4);
  position: relative;
  animation: rotateSlowReverse 15s infinite linear;
}

.sand-core {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, rgba(217, 119, 6, 0.7) 100%);
  box-shadow: 0 0 40px rgba(217, 119, 6, 0.6);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseScale 4s infinite ease-in-out;
}

.floating-node {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.fn-1 { top: -20px; left: 50%; transform: translateX(-50%); }
.fn-2 { bottom: -20px; left: 50%; transform: translateX(-50%); }
.fn-3 { left: -20px; top: 50%; transform: translateY(-50%); }
.fn-4 { right: -20px; top: 50%; transform: translateY(-50%); }

@keyframes rotateSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateSlowReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulseScale {
  0%, 100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; box-shadow: 0 0 60px rgba(217, 119, 6, 0.8); }
}

/* Section Header styling */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.section-title h2 span {
  color: var(--primary);
}

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

/* Glass Cards style */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(217, 119, 6, 0.1);
}

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

/* Core Advantages section */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.adv-card .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(217, 119, 6, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 24px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.adv-card:hover .icon-box {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}

.adv-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.adv-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Pricing Section (Pass Packages) */
.pricing-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 750px;
}

.pricing-table th, .pricing-table td {
  padding: 24px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.pricing-table th {
  background: rgba(28, 19, 12, 0.8);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.pricing-table tr {
  transition: var(--transition);
}

.pricing-table tr:hover {
  background: rgba(217, 119, 6, 0.04);
}

.pricing-table td.package-name {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.pricing-table td.package-name span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-table td.flow-data {
  font-weight: 600;
  font-size: 17px;
  color: var(--accent);
}

.pricing-table td.price {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-body);
}

.pricing-table td.price .currency {
  font-size: 12px;
  color: var(--text-muted);
}

.pricing-table td.price .num {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.pricing-table td.not-available {
  color: rgba(255,255,255,0.25);
  font-style: italic;
  font-size: 14px;
}

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

.table-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.table-cta-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.3);
}

/* For mobile stacking card layout instead of horizontal scroll option if needed */
.pricing-notice {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.pricing-notice a {
  text-decoration: underline;
}

/* Target Audience section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.audience-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.audience-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audience-card h3::before {
  content: "♦";
  color: var(--primary);
  font-size: 14px;
}

.audience-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tutorial Section */
.tutorial-tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.tab-btn {
  background: rgba(38, 27, 18, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.step-card {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.step-content h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 14px;
}

.code-box {
  background: #080503;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 8px;
  padding: 12px 18px;
  font-family: monospace;
  font-size: 13px;
  color: #fde68a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.copy-btn {
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* User Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 16px;
}

.review-content {
  font-style: italic;
  color: var(--text-body);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  border: 1px solid rgba(254, 230, 138, 0.3);
}

.reviewer-info h4 {
  font-size: 14px;
  color: #fff;
}

.reviewer-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ Accordion Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Articles Section on Index */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}

.post-card h3 {
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 12px;
  transition: var(--transition);
}

.post-card:hover h3 {
  color: var(--primary-hover);
}

.post-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more::after {
  content: "→";
  transition: var(--transition);
}

.post-card:hover .read-more::after {
  transform: translateX(4px);
}

/* Footer Section */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 16px 0 24px 0;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-hover);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(217, 119, 6, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

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

.legal-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

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

/* SEO Article Template Layout Styles */
.article-page {
  padding-top: 120px;
}

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 500;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}

.article-body-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 16px 0;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.article-content h3 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px 0;
}

.article-content p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.8;
  font-weight: 300;
}

.article-content ul, .article-content ol {
  margin-left: 20px;
  margin-bottom: 24px;
}

.article-content li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text-body);
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: rgba(217, 119, 6, 0.06);
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-main);
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
}

.sidebar-box h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  padding-bottom: 10px;
}

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

.sidebar-cta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 12px;
}

.sidebar-links a {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}

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

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  list-style: none;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.2);
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: var(--text-muted);
}

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

/* Sitemap Page Styling */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.sitemap-col h3 {
  font-size: 20px;
  color: #fff;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

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

.sitemap-col li {
  margin-bottom: 12px;
}

.sitemap-col a {
  font-size: 14px;
  color: var(--text-body);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 42px;
  }
  .article-body-wrapper {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-darker);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    align-items: flex-start;
    transition: var(--transition);
    border-top: 1px solid var(--border-color);
  }
  
  header.scrolled .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .sand-sphere-outer {
    width: 240px;
    height: 240px;
  }
  
  .sand-sphere-inner {
    width: 180px;
    height: 180px;
  }
  
  .sand-core {
    width: 100px;
    height: 100px;
  }
  
  .step-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
}
