/* ============================================================
   DataGenius – Main Stylesheet
   Color Palette:
     Primary Blue  : #2563EB
     Accent Green  : #10B981
     Dark          : #0F172A
     Surface Dark  : #1E293B
     Light Grey    : #F1F5F9
     Text Muted    : #64748B
   ============================================================ */

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #0F172A;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- CSS Variables ---------- */
:root {
  --primary    : #2563EB;
  --primary-dk : #1D4ED8;
  --accent     : #10B981;
  --accent-dk  : #059669;
  --dark       : #0F172A;
  --surface    : #1E293B;
  --light      : #F1F5F9;
  --muted      : #64748B;
  --border     : #E2E8F0;
  --white      : #ffffff;
  --radius     : 12px;
  --radius-sm  : 8px;
  --shadow-sm  : 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md  : 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg  : 0 10px 40px rgba(0,0,0,.14);
  --transition : 0.25s ease;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p  { color: var(--muted); line-height: 1.75; }

.section-tag {
  display: inline-block;
  background: rgba(37,99,235,.1);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-header p { margin-top: .75rem; font-size: 1.05rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(16,185,129,.35);
}
.btn-accent:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,.45);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo .logo-icon svg { width: 20px; height: 20px; fill: white; }
.nav-logo span.accent { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  border-radius: 6px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--light); }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav — hidden by default, shown only on mobile via .open */
.mobile-nav { display: none; }

/* ---------- Hero Section ---------- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--surface) 50%, #162035 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(16,185,129,.12) 0%, transparent 50%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(16,185,129,.15);
  color: var(--accent);
  border: 1px solid rgba(16,185,129,.3);
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: #94A3B8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: #64748B;
  font-weight: 500;
  margin-top: .3rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 380px;
  height: 420px;
}
.hero-card {
  position: absolute;
  background: rgba(30,41,59,.8);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.hero-card-main {
  width: 320px;
  top: 40px;
  left: 30px;
  z-index: 3;
}
.hero-card-back {
  width: 300px;
  top: 10px;
  left: 55px;
  z-index: 1;
  opacity: .6;
  transform: rotate(3deg);
}
.hero-card-front {
  width: 280px;
  top: 70px;
  left: 70px;
  z-index: 2;
  opacity: .7;
  transform: rotate(-2deg);
}
.card-header-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.card-icon-circle {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon-circle svg { width: 20px; height: 20px; fill: white; }
.card-title-sm { color: var(--white); font-size: .95rem; font-weight: 600; }
.card-sub-sm   { color: #64748B; font-size: .78rem; }

.progress-bar-wrap { margin-top: 1rem; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: #94A3B8;
  margin-bottom: .35rem;
}
.progress-track {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: .6rem;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: grow 2s ease forwards;
}
@keyframes grow { from { width: 0; } }

.badge-success {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(16,185,129,.15);
  color: var(--accent);
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  margin-top: .75rem;
}
.badge-success::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Features Section ---------- */
.features { background: var(--light); }

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 28px; height: 28px; }
.icon-blue  { background: rgba(37,99,235,.1);  color: var(--primary); }
.icon-green { background: rgba(16,185,129,.1); color: var(--accent); }
.icon-purple{ background: rgba(139,92,246,.1); color: #8B5CF6; }
.icon-orange{ background: rgba(249,115,22,.1); color: #F97316; }

.feature-card h3 { margin-bottom: .5rem; }

/* ---------- Products Preview (Homepage) ---------- */
.products-preview { background: var(--white); }

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-img svg { width: 72px; height: 72px; opacity: .9; }

.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-body h3 { margin-bottom: .5rem; }
.product-card-body p  { font-size: .9rem; flex: 1; }

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}
.price sup { font-size: .9rem; font-weight: 600; vertical-align: super; }

.badge-new {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 999px;
}
.badge-hot {
  position: absolute;
  top: 12px; right: 12px;
  background: #EF4444;
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 999px;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--dark); }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p  { color: #94A3B8; }
.testimonials .section-tag {
  background: rgba(16,185,129,.15);
  color: var(--accent);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  font-family: Georgia, serif;
  opacity: .5;
  position: absolute;
  top: .75rem;
  left: 1.5rem;
}
.testimonial-text {
  color: #CBD5E1;
  font-size: .95rem;
  margin: 1.5rem 0 1.5rem;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.author-name  { font-weight: 600; color: var(--white); font-size: .95rem; }
.author-title { font-size: .78rem; color: #64748B; margin-top: .1rem; }

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: .5rem;
}
.stars svg { width: 16px; height: 16px; fill: #FBBF24; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  padding: 4rem 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-text h2 { color: var(--white); font-size: 1.8rem; }
.newsletter-text p  { color: rgba(255,255,255,.75); margin-top: .5rem; }

.newsletter-form {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.newsletter-form input {
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .95rem;
  min-width: 280px;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.6); }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand p {
  color: #64748B;
  font-size: .9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: .75rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-links li + li { margin-top: .6rem; }
.footer-links a {
  color: #64748B;
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: #475569;
  font-size: .85rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: #475569;
  font-size: .85rem;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ---------- Page Hero Banner ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--surface));
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.2) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: #94A3B8; font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* ---------- Products Page ---------- */
.products-section { background: var(--light); }

.filter-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-tab {
  padding: .5rem 1.25rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--muted);
  background: var(--white);
  transition: all var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37,99,235,.06);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---------- Blog Page ---------- */
.blog-section { background: var(--light); }

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-card-img svg { width: 64px; height: 64px; opacity: .85; }

.blog-card-category {
  position: absolute;
  bottom: 12px; left: 16px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 999px;
  color: white;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: .75rem;
}
.blog-meta span {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.blog-meta svg { width: 13px; height: 13px; fill: var(--muted); }
.blog-card-body h3 { margin-bottom: .6rem; font-size: 1.1rem; }
.blog-card-body p  { font-size: .9rem; flex: 1; }
.blog-card-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* ---------- Contact Page ---------- */
.contact-section { background: var(--light); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-info-card h4 { color: var(--dark); margin-bottom: .25rem; }
.contact-info-card p  { font-size: .9rem; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { margin-bottom: .5rem; }
.contact-form-card > p { margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group .error-msg {
  display: none;
  font-size: .78rem;
  color: #EF4444;
  margin-top: .3rem;
}
.form-group.error input,
.form-group.error textarea,
.form-group.error select { border-color: #EF4444; }
.form-group.error .error-msg { display: block; }

.form-success {
  display: none;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  color: var(--accent-dk);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 500;
}

/* FAQ Section */
.faq-section { background: var(--white); }

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-question.open   { background: var(--light); color: var(--primary); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  fill: var(--muted);
}
.faq-question.open .faq-chevron {
  transform: rotate(180deg);
  fill: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-card-stack { width: 320px; height: 360px; }
  .hero-card-main { width: 270px; }
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .contact-layout{ grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Mobile nav */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 69px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    flex-direction: column;
    gap: .25rem;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-weight: 500;
    transition: background var(--transition);
  }
  .mobile-nav a:hover { background: var(--light); }
  .mobile-nav .btn { width: 100%; justify-content: center; margin-top: .5rem; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-desc    { margin-left: auto; margin-right: auto; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }

  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .newsletter-form { flex-direction: column; width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .btn { padding: .65rem 1.25rem; font-size: .875rem; }
  .hero { min-height: auto; padding: 4rem 0; }
  .contact-form-card { padding: 1.5rem; }
}
