/* ============================================================
   Operate AI — Cybersecurity Marketing Site
   Theme: Secur-inspired professional dark
   ============================================================ */

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

/* ── Variables ── */
:root {
  --bg:         #070d1f;
  --bg2:        #0c1428;
  --bg-card:    #101829;
  --bg-card-h:  #141e33;
  --border:     #1c2740;
  --border-a:   rgba(124,58,237,0.35);

  --blue:       #3b82f6;
  --blue-lt:    #60a5fa;
  --blue-dk:    #2563eb;
  --blue-dim:   rgba(59,130,246,0.1);

  --purple:     #7c3aed;
  --purple-lt:  #a78bfa;
  --purple-dim: rgba(124,58,237,0.12);

  --grad:       linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --grad-text:  linear-gradient(90deg, #a78bfa, #60a5fa);

  --green:      #22c55e;
  --red:        #ef4444;
  --amber:      #f59e0b;

  --text:       #f0f4ff;
  --text2:      #7a8faa;
  --text3:      #2f3d52;

  --head:       'Roboto', sans-serif;
  --body:       'Kumbh Sans', sans-serif;

  --r:          8px;
  --r-lg:       16px;
  --r-pill:     999px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-b:   0 0 0 1px rgba(124,58,237,0.2), 0 8px 32px rgba(124,58,237,0.1);
  --tr:         all 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-lt); text-decoration: none; transition: var(--tr); }
a:hover { color: var(--blue); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--body); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text2); }

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

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header p { margin-top: 12px; font-size: 1.0625rem; }

.section-label {
  display: none;
}

.divider { height: 1px; background: var(--border); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,8,16,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border-a); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
  font-family: var(--head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--grad);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--head);
  letter-spacing: 0;
  flex-shrink: 0;
}
.text-blue { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.nav-links a {
  font-family: var(--head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text2);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  transition: var(--tr);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--purple-dim); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: var(--tr);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  font-family: var(--head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
  padding: 10px 12px;
  border-radius: var(--r);
}
.mobile-menu a:hover { color: var(--text); background: var(--blue-dim); }
.mobile-menu.open { display: flex; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  transition: var(--tr);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 10px 24px;
  font-size: 0.9375rem;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover { color: #fff; opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,0.45); }
.btn-outline {
  background: transparent;
  color: var(--text2);
  padding: 9px 22px;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple-lt); color: var(--purple-lt); background: var(--purple-dim); }
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-sm { padding: 7px 18px; font-size: 0.8125rem; }
.btn-ghost { color: var(--purple-lt); padding: 6px 14px; font-size: 0.875rem; background: transparent; }
.btn-ghost:hover { color: #fff; background: var(--purple-dim); }
.w-full { width: 100%; justify-content: center; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--tr);
}
.card:hover {
  border-color: var(--border-a);
  background: var(--bg-card-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow-b);
}

/* ── Product Cards ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  transition: var(--tr);
  overflow: hidden;
}
.product-card:hover {
  border-color: rgba(124,58,237,0.35);
  background: var(--bg-card-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-b);
}
.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.product-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--purple-dim);
  border: 1px solid rgba(124,58,237,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon svg { width: 20px; height: 20px; stroke: var(--purple-lt); fill: none; stroke-width: 2; }
.type-badge {
  font-family: var(--head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-lt);
  background: var(--purple-dim);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.type-badge.green { color: var(--green); background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
.type-badge.amber { color: var(--amber); background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.25); }
.product-card h4 {
  font-family: var(--head);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.product-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text2);
  flex: 1;
}
/* Product card inner (clickable title area) */
.product-card-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 28px 0;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px 28px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
  gap: 12px;
}

/* Product pricing */
.product-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-free {
  font-family: var(--head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
}
.price-was {
  font-size: 0.75rem;
  color: var(--text2);
  text-decoration: line-through;
}
.price-amount {
  font-family: var(--head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.btn-sm.product-cta { white-space: nowrap; }

/* Sidebar pricing */
.sidebar-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
}
.sidebar-price-free {
  font-family: var(--head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
}
.sidebar-price-was {
  font-size: 0.875rem;
  color: var(--text2);
  text-decoration: line-through;
}
.sidebar-price-amount {
  font-family: var(--head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}
.sidebar-files-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 4px;
}

.file-count {
  font-size: 0.8125rem;
  color: var(--text2);
}
.file-count strong { color: var(--text); }

/* Skeleton loader */
.skeleton {
  animation: skeleton-pulse 1.4s ease infinite;
}
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.skel {
  background: linear-gradient(90deg, var(--border) 25%, var(--bg-card-h) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
  border-radius: 4px;
}
.skel-line { height: 14px; }
.skel-title { height: 20px; width: 75%; }
.skel-text  { height: 13px; }
.skel-badge { height: 24px; width: 80px; border-radius: 4px; }
.skel-icon  { width: 44px; height: 44px; border-radius: var(--r); flex-shrink: 0; }
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Waves canvas ── */
.waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.waves canvas { display: block; }

/* ── Hero BG Lines ── */
.hero-bg-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-evenly;
  z-index: 0;
  pointer-events: none;
}
.hbl {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(124,58,237,0.12) 40%, rgba(59,130,246,0.08) 70%, transparent 100%);
}

/* ── Hero ── */
.hero {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0e1535 0%, var(--bg) 60%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.4), transparent);
}
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content {}

/* ── Hero Visual ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-img {
  width: 100%;
  border-radius: var(--r-lg);
  display: block;
}
.hero-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, rgba(59,130,246,0.05) 60%, transparent 100%);
  border-radius: 50%;
}
.hero-img-placeholder svg {
  width: 65%;
  height: 65%;
  filter: drop-shadow(0 0 40px rgba(124,58,237,0.4));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,18,41,0.9);
  border: 1px solid rgba(124,58,237,0.3);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.hero-badge.top-right { top: 8%; right: -5%; animation-delay: 0.5s; }
.hero-badge.bottom-left { bottom: 10%; left: -5%; animation-delay: 1s; }
.hb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}

/* If real image is loaded, hide placeholder */
.hero-img:not([style*="display:none"]) ~ .hero-img-placeholder { display: none; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--purple-lt);
  background: var(--purple-dim);
  border: 1px solid rgba(124,58,237,0.3);
  padding: 7px 18px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}
.hero-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-lt);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 { margin-bottom: 20px; }
.hero p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-item {}
.stat-num {
  font-family: var(--head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-label { font-size: 0.8125rem; color: var(--text2); margin-top: 4px; }

/* Hero Panel (terminal-style) */
.hero-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #22c55e; }
.hero-panel-title {
  flex: 1;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--text2);
}
.hero-panel-body { padding: 24px; }
.terminal-line {
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--text2);
}
.terminal-line .cmd { color: var(--blue-lt); }
.terminal-line .ok  { color: var(--green); }
.terminal-line .val { color: var(--text); }
.terminal-line .comment { color: var(--text3); }
.blink {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--blue);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Trust Bar ── */
.trust-bar {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  font-family: var(--head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── Feature Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.feature-num {
  font-family: var(--head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-lt);
  margin-bottom: 16px;
  display: block;
}
.feature-card h4 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p  { font-size: 0.875rem; }

/* ── Steps (How It Works) ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.step { position: relative; text-align: center; }
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--head);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.step h4 { font-size: 1rem; margin-bottom: 8px; }
.step p  { font-size: 0.875rem; }

/* ── Page Banner ── */
.page-banner {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.page-banner h1 { margin-bottom: 12px; }
.page-banner p   { font-size: 1.0625rem; max-width: 560px; }

/* ── Product Detail ── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.product-detail-main {}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text2);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--blue-lt); }
.breadcrumb span { color: var(--text3); }
.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-detail-main h1 { margin-bottom: 20px; }
.product-detail-main > p {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.detail-section { margin-bottom: 40px; }
.detail-section h3 { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.file-list { display: flex; flex-direction: column; gap: 10px; }
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: var(--tr);
}
.file-item:hover { border-color: var(--border-a); background: var(--bg-card-h); }
.file-info { display: flex; align-items: center; gap: 12px; }
.file-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--blue-dim);
  border: 1px solid var(--border-a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-icon svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 2; }
.file-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
.file-type { font-size: 0.75rem; color: var(--text2); margin-top: 2px; }
.file-item .btn-ghost { font-size: 0.75rem; padding: 6px 14px; }

/* Product sidebar */
.product-sidebar {}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: sticky;
  top: 80px;
}
.sidebar-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.free-badge {
  display: inline-block;
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}
.sidebar-card .btn { margin-bottom: 10px; }
.sidebar-divider { height: 1px; background: var(--border); margin: 20px 0; }
.sidebar-meta { display: flex; flex-direction: column; gap: 12px; }
.sidebar-meta-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; }
.sidebar-meta-item span:first-child { color: var(--text2); }
.sidebar-meta-item span:last-child  { color: var(--text); font-weight: 500; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag {
  font-size: 0.6875rem;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text2);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── CTA Section ── */
.cta-section {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0e1535 0%, var(--bg) 100%);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.4), transparent);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { margin-bottom: 36px; font-size: 1.0625rem; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── FAQ ── */
.faq-grid { display: flex; flex-direction: column; gap: 2px; }
.faq-item {}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  text-align: left;
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: var(--tr);
}
.faq-q:hover { border-color: var(--border-a); color: var(--blue-lt); }
.faq-q.open { border-color: var(--border-a); border-bottom-left-radius: 0; border-bottom-right-radius: 0; color: var(--blue-lt); }
.faq-icon { font-size: 1.25rem; color: var(--blue); flex-shrink: 0; }
.faq-a {
  display: none;
  padding: 16px 20px 18px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text2);
  background: var(--bg2);
  border: 1px solid var(--border-a);
  border-top: none;
  border-radius: 0 0 var(--r) var(--r);
}
.faq-a.open { display: block; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cm-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--blue-dim);
  border: 1px solid var(--border-a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-lt);
  flex-shrink: 0;
}
.cm-icon svg { display: block; }
.cm-label { font-size: 0.8125rem; color: var(--text2); margin-bottom: 2px; }
.cm-value { font-size: 0.9375rem; color: var(--text); font-weight: 500; }
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text2); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px;
  font-family: var(--body);
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: var(--tr);
  appearance: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); }
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--r);
  font-size: 0.9375rem;
  color: var(--green);
  margin-top: 16px;
}

/* ── Feature List ── */
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text2);
}
.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.check svg { display: block; }

/* ── Card Icon ── */
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--purple-dim);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-lt);
  margin-bottom: 16px;
}
.card-icon svg { display: block; }

/* ── Blog Listing ── */
.blog-section { padding: 80px 0; }
.blog-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.blog-header h1 { margin-bottom: 12px; }
.blog-header p { color: var(--text2); font-size: 1.0625rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: var(--tr);
}
.blog-card:hover {
  border-color: rgba(124,58,237,0.35);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}
.blog-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-date { font-size: 0.8125rem; color: var(--text2); }
.blog-card h3 {
  font-family: var(--head);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.blog-card p { font-size: 0.875rem; color: var(--text2); line-height: 1.6; flex: 1; }
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text2);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.blog-card-skel { min-height: 180px; }

/* ── Blog Post ── */
.post-section { padding: 60px 0 80px; }
.post-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: flex-start;
}
.post-body { min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.post-body h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.post-subtitle {
  font-size: 1.125rem;
  color: var(--text2);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0;
}
.post-divider { height: 1px; background: var(--border); margin: 32px 0; }
.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.post-content h2 {
  font-family: var(--head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.post-content h3 {
  font-family: var(--head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.75rem 0 0.75rem;
}
.post-content p { margin-bottom: 1.25rem; color: var(--text2); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: 6px; color: var(--text2); }
.post-content strong { color: var(--text); }
.post-content a { color: var(--blue); }
.post-content pre {
  background: #0f1f3d;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1.5rem 0;
  font-family: 'Courier New', monospace;
}
.post-content code {
  background: rgba(59,130,246,0.08);
  color: var(--blue-lt);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}
.post-content pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.post-content blockquote {
  border-left: 3px solid var(--purple-lt);
  padding: 4px 0 4px 20px;
  margin: 1.5rem 0;
  color: var(--text2);
  font-style: italic;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}
.post-content th {
  background: var(--bg-card-h);
  color: var(--text);
  padding: 10px 14px;
  text-align: left;
  font-family: var(--head);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.post-content td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  vertical-align: top;
}
.post-content .callout {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--r);
  padding: 16px 20px;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  color: var(--text);
}
.post-content .warning {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--r);
  padding: 16px 20px;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  color: var(--amber);
}
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.post-author {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 24px;
}
.post-author strong { color: var(--text); font-family: var(--head); font-size: 1rem; }
.post-author span { font-size: 0.875rem; color: var(--text2); line-height: 1.5; }
.post-sidebar { position: sticky; top: 96px; }
@media (max-width: 900px) {
  .post-container { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

/* ── Footer ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  position: relative;
  overflow: hidden;
}

/* Spinning logo watermark in footer */
.footer-spin-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.footer-spin-logo {
  width: 80px;
  height: 80px;
  opacity: 0.15;
  animation: spin-slow 18s linear infinite;
  filter: invert(1) brightness(2);
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; }
.footer-col h5 {
  font-family: var(--head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: var(--text2); }
.footer-col a:hover { color: var(--blue-lt); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.8125rem; color: var(--text2); }
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 34px;
  height: 34px;
  border-radius: var(--r);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text2);
}
.social-link:hover { border-color: var(--border-a); color: var(--blue-lt); }

/* ── Chat Widgets ── */
.chat-widgets {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}
.chat-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  border: 2px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1rem;
  font-family: var(--head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr);
  position: relative;
  box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.chat-btn.support { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.chat-btn:hover { transform: scale(1.08); }
.chat-tooltip {
  position: absolute;
  right: 56px;
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--r);
  font-size: 0.8125rem;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: var(--tr);
}
.chat-btn:hover .chat-tooltip { opacity: 1; }

/* ── Utility ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.text-muted { color: var(--text2); }
.text-blue  { color: var(--blue); }
.text-green { color: var(--green); }

/* ── AOS animations ── */
[data-aos] { opacity: 0; transform: translateY(32px); transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1); }
[data-aos].aos-in { opacity: 1; transform: translateY(0); }
[data-aos]:nth-child(2) { transition-delay: 0.1s; }
[data-aos]:nth-child(3) { transition-delay: 0.2s; }
[data-aos]:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-container     { grid-template-columns: 1fr; text-align: center; }
  .hero-visual        { order: -1; }
  .hero-img-wrap      { max-width: 300px; }
  .hero-badge.top-right { right: 0; }
  .hero-badge.bottom-left { left: 0; }
  .hero-label, .hero-cta, .hero-stats { justify-content: center; }
  .hero p             { margin-left: auto; margin-right: auto; }
  .hero-panel         { display: none; }
  .product-detail-grid{ grid-template-columns: 1fr; }
  .product-sidebar    { order: -1; }
  .sidebar-card       { position: static; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta  { display: none; }
  .hamburger            { display: flex; }
  .hero                 { padding: 64px 0 48px; }
  .hero-stats           { flex-wrap: wrap; gap: 20px; }
  .steps                { grid-template-columns: 1fr; }
  .contact-grid         { grid-template-columns: 1fr; }
  .form-row             { grid-template-columns: 1fr; }
  .footer-grid          { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .features-grid{ grid-template-columns: 1fr; }
  .hero-cta     { flex-direction: column; }
  .btn-group    { flex-direction: column; align-items: center; }
}
