/* ======================================================
   SERPGROUP — Company Website Stylesheet
   Designed by SERPGROUP Dev Team
   ====================================================== */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  --brand-primary: #7c5cfc;
  --brand-primary-rgb: 124, 92, 252;
  --brand-secondary: #5a3fd6;
  --brand-accent: #a78bfa;
  --brand-glow: rgba(124, 92, 252, 0.2);

  --bg-body: #ffffff;
  --bg-surface: #f5f5f7;
  --bg-surface-alt: #ebebef;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #aeaeb2;
  --border-color: #e5e5ea;
  --border-subtle: #f2f2f7;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(124, 92, 252, 0.12);

  --gradient-brand: linear-gradient(135deg, #7c5cfc 0%, #5a3fd6 100%);
  --gradient-card: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-surface-alt) 100%);

  --nav-height: 64px;
  --section-padding: 96px;
  --container-max: 1140px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-normal: 0.25s var(--ease-out);
  --transition-slow: 0.4s var(--ease-out);
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --bg-body: #000000;
  --bg-surface: #0a0a0a;
  --bg-surface-alt: #050505;
  --bg-glass: rgba(0, 0, 0, 0.88);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  --border-color: #1a1a1a;
  --border-subtle: #141414;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.7);
  --gradient-card: linear-gradient(145deg, #0a0a0a 0%, #0f0f0f 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
}

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

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1.4;
}

.btn i { font-size: 1rem; }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb), 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--brand-primary-rgb), 0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid rgba(var(--brand-primary-rgb), 0.35);
}
.btn-outline:hover {
  background: rgba(var(--brand-primary-rgb), 0.06);
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
}

.btn-lg { padding: 13px 30px; font-size: 0.925rem; }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }

.btn-light-outline {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}
.btn-light-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}
.theme-toggle:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.nav-cta-btn { white-space: nowrap; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile Navigation ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 12px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open {
  display: block;
  animation: slideDown 0.3s var(--ease-out);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.mobile-nav a i { font-size: 1.1rem; color: var(--text-muted); width: 20px; text-align: center; }
.mobile-nav a:hover, .mobile-nav a.active {
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
}
.mobile-nav a.active i, .mobile-nav a:hover i { color: var(--brand-primary); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 48px) 0 60px;
  background: var(--bg-body);
}
.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--brand-primary-rgb), 0.1);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: 28px;
}
.hero-badge i { font-size: 0.9rem; }
.hero h1 {
  color: var(--text-primary);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.03em;
}
.hero h1 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-accent);
  letter-spacing: -0.02em;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Mockup Image */
.hero-mockup {
  margin-top: 56px;
  position: relative;
}
.hero-mockup img {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 20px 60px rgba(var(--brand-primary-rgb), 0.15));
}

/* ---------- Floating Grid ---------- */
.hero-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.06;
}
.hero-grid .grid-line { position: absolute; background: var(--brand-primary); }
.hero-grid .grid-line.horizontal { width: 100%; height: 1px; }
.hero-grid .grid-line.vertical { width: 1px; height: 100%; }

/* ---------- Section Base ---------- */
.section { padding: var(--section-padding) 0; }

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--brand-primary-rgb), 0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--brand-primary-rgb), 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}
.feature-card:hover .feature-icon {
  background: var(--gradient-brand);
  color: #fff;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; }

/* ---------- Product Showcase ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }

.product-info .product-badge {
  display: inline-block;
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
}
.product-info h2 { margin-bottom: 14px; }
.product-info > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.product-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.product-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.product-feature-item .check {
  width: 20px; height: 20px; min-width: 20px;
  background: rgba(var(--brand-primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 0.65rem;
}

/* Product Mockup */
.product-visual { position: relative; }
.product-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
.product-mockup::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--brand-primary-rgb), 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }
.mockup-content { display: flex; flex-direction: column; gap: 10px; }
.mockup-bar { border-radius: var(--radius-sm); height: 10px; background: var(--bg-surface-alt); }
.mockup-bar.w-80 { width: 80%; }
.mockup-bar.w-60 { width: 60%; }
.mockup-bar.w-90 { width: 90%; }
.mockup-bar.w-70 { width: 70%; }
.mockup-bar.w-50 { width: 50%; }
.mockup-bar.accent { background: rgba(var(--brand-primary-rgb), 0.15); }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.mockup-card { background: var(--bg-surface-alt); border-radius: var(--radius-sm); padding: 14px; height: 56px; }
.mockup-card.active {
  border: 1px solid rgba(var(--brand-primary-rgb), 0.25);
  background: rgba(var(--brand-primary-rgb), 0.04);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition-normal);
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.pricing-card.popular {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-glow);
}
.pricing-card.popular::before {
  content: 'PALING POPULER';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.pricing-product { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.55;
}
.pricing-amount { margin-bottom: 6px; }
.pricing-amount .currency {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: top;
  color: var(--text-secondary);
}
.pricing-amount .price {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.pricing-amount .period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-note {
  font-size: 0.78rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pricing-note i { font-size: 0.85rem; }
.pricing-divider {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: 0 0 20px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.pricing-feature .icon {
  color: var(--brand-primary);
  font-size: 0.9rem;
  min-width: 16px;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ---------- Articles / Blog ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--brand-primary-rgb), 0.2);
}
.article-thumb {
  width: 100%;
  height: 185px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-thumb .placeholder-icon {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.15);
}
.article-body { padding: 22px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.article-category {
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-date { font-size: 0.78rem; color: var(--text-muted); }
.article-body h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-body h3 a { color: var(--text-primary); text-decoration: none; }
.article-body h3 a:hover { color: var(--brand-primary); }
.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.article-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}
.article-read-more:hover { gap: 8px; }

/* Article Detail */
.article-detail-header {
  text-align: center;
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 36px;
  background: var(--bg-body);
}
.article-detail-header .article-category { margin-bottom: 14px; }
.article-detail-header h1 {
  max-width: 720px;
  margin: 0 auto 14px;
  color: var(--text-primary);
}
.article-detail-meta { color: var(--text-muted); font-size: 0.88rem; }
.article-detail-image {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 44px;
}
.article-content {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.article-content p { margin-bottom: 18px; }
.article-content h2, .article-content h3 { margin-top: 36px; margin-bottom: 14px; color: var(--text-primary); }
.article-content ul, .article-content ol { margin-bottom: 18px; padding-left: 22px; }
.article-content li { margin-bottom: 6px; list-style: disc; }
.article-content ol li { list-style: decimal; }

/* Category Filter */
.category-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.category-filter a {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.category-filter a:hover,
.category-filter a.active {
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  border-color: rgba(var(--brand-primary-rgb), 0.25);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -25%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-info-card h3 { color: var(--text-primary); font-size: 1.35rem; margin-bottom: 10px; }
.contact-info-card > p { color: var(--text-secondary); margin-bottom: 32px; font-size: 0.9rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(var(--brand-primary-rgb), 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-accent);
}
.contact-item-text h4 { color: var(--text-primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 3px; }
.contact-item-text p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; }

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.contact-form-card h3 { margin-bottom: 6px; }
.contact-form-card > p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 24px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.form-group label .required { color: #ef4444; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M1.41.59L6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ---------- Alerts ---------- */
.alert {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert i { font-size: 1.05rem; }
.alert-success {
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
}
.alert-error {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--bg-body);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section h2 { color: var(--text-primary); margin-bottom: 12px; }
.cta-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 28px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-body);
  border-top: 1px solid var(--border-color);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.84rem;
  padding: 4px 0;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.footer-col a:hover { color: var(--brand-primary); padding-left: 3px; }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.footer-social a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.04);
  transform: translateY(-1px);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 44px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.pagination a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.04);
}
.pagination .current {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}
.pagination .disabled { opacity: 0.35; pointer-events: none; }

/* ---------- Empty State ---------- */
.empty-state { text-align: center; padding: 72px 20px; color: var(--text-muted); }
.empty-state .icon { font-size: 3rem; margin-bottom: 14px; opacity: 0.3; }
.empty-state h3 { color: var(--text-secondary); margin-bottom: 6px; }
.empty-state p { font-size: 0.9rem; }

/* ---------- Page Header ---------- */
.page-header {
  padding: calc(var(--nav-height) + 52px) 0 44px;
  background: var(--bg-body);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 { color: var(--text-primary); margin-bottom: 10px; position: relative; }
.page-header p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 3px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3px;
  width: fit-content;
  margin: 0 auto 44px;
}
.tab-btn {
  padding: 9px 24px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.tab-btn.active {
  background: var(--bg-surface);
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}
.tab-content { display: none; }
.tab-content.active {
  display: block;
  animation: fadeIn 0.3s var(--ease-out);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Module List ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.module-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.module-item:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.2);
  box-shadow: var(--shadow-md);
}
.module-item .icon {
  font-size: 1.2rem;
  color: var(--brand-primary);
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-primary-rgb), 0.06);
  border-radius: var(--radius-sm);
}
.module-item h4 { font-size: 0.9rem; margin-bottom: 3px; }
.module-item p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s var(--ease-out);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 380px;
    justify-self: center;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 56px; }
  .nav-links { display: none; }
  .nav-cta-btn { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .hero-stats { gap: 28px; }
  .features-grid, .articles-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid .pricing-card:last-child { max-width: none; grid-column: auto; }
  .product-showcase, .product-showcase.reverse {
    grid-template-columns: 1fr; gap: 28px; direction: ltr;
  }
  .product-features-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-body);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  width: 56px;
  height: 56px;
  animation: loaderPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(var(--brand-primary-rgb), 0.35));
}
.loader-bar-track {
  width: 200px;
  height: 3px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  margin-top: 28px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  animation: loaderFill 1.6s ease-out forwards;
}
.loader-text {
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; filter: drop-shadow(0 0 12px rgba(var(--brand-primary-rgb), 0.2)); }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 28px rgba(var(--brand-primary-rgb), 0.5)); }
}
@keyframes loaderFill {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

/* ---------- Checkout Page ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: start;
}
.checkout-summary {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.checkout-summary h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.checkout-summary h3 i {
  color: var(--brand-primary);
  font-size: 1.2rem;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.summary-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.summary-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.summary-total .summary-value {
  font-size: 1.15rem;
  color: var(--brand-primary);
  font-weight: 800;
}
.summary-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(var(--brand-primary-rgb), 0.06);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.12);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-note i { font-size: 1rem; }

.checkout-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.checkout-form-card h3 { margin-bottom: 6px; color: var(--text-primary); }
.checkout-form-card > p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 24px; }
.checkout-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
