/* =====================================================
   BIGOOLS — SITE CSS
   Azure-inspired corporate, clean, modern
   Font: Sora (display) + DM Sans (body)
   ===================================================== */

:root {
  --blue: #0066cc;
  --blue-dark: #004fa3;
  --blue-light: #e8f0fb;
  --green: #00b388;
  --purple: #6f42c1;
  --orange: #fd7e14;
  --teal: #20c997;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #868e96;
  --gray-700: #495057;
  --gray-900: #212529;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --header-h: 64px;
  --transition: 0.2s ease;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}
.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}
.nav-link:hover { background: var(--blue-light); color: var(--blue); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,102,204,.3); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--text); }
.btn-white { background: white; color: var(--blue); border-color: white; }
.btn-white:hover { background: var(--blue-light); }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: white; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.w-100 { width: 100%; justify-content: center; }
.ml-auto { margin-left: auto; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; display: block; width: fit-content; }

/* ---- HERO ---- */
.hero {
  margin-top: var(--header-h);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(var(--header-h) + 0px);
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,179,136,.06) 0%, rgba(0,102,204,.1) 50%, rgba(111,66,193,.06) 100%);
  border-radius: 50% 0 0 50%;
  z-index: 0;
}
.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-subtitle strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  flex: 1;
  max-width: 520px;
  position: relative;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,204,.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-dashboard {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: floatUp 3s ease-in-out infinite alternate;
}
@keyframes floatUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
.dash-header {
  background: var(--gray-900);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-dot { width: 12px; height: 12px; border-radius: 50%; }
.dash-dot.red { background: #ff5f56; }
.dash-dot.yellow { background: #ffbd2e; }
.dash-dot.green { background: #27c93f; }
.dash-title { color: rgba(255,255,255,.5); font-size: 0.78rem; margin-left: 8px; font-family: 'Sora', sans-serif; }
.dash-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.dash-metric { display: flex; justify-content: space-between; align-items: center; }
.metric-label { font-size: 0.82rem; color: var(--text-muted); }
.metric-value { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; }
.metric-value.green { color: var(--green); }
.dash-chart { display: flex; align-items: flex-end; gap: 4px; height: 80px; background: var(--gray-50); border-radius: 8px; padding: 12px 10px 6px; }
.chart-bar { flex: 1; background: var(--blue-light); border-radius: 3px 3px 0 0; transition: all var(--transition); }
.chart-bar.active { background: var(--blue); }
.dash-log { display: flex; flex-direction: column; gap: 6px; }
.log-line { font-size: 0.75rem; padding: 6px 10px; border-radius: 4px; font-family: 'DM Sans', monospace; }
.log-line.ok { background: rgba(0,179,136,.1); color: var(--green); }
.log-line.warn { background: rgba(253,126,20,.1); color: var(--orange); }

/* ---- PAGE NAV BAR ---- */
.page-nav-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.page-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 52px;
  overflow-x: auto;
}
.page-nav-link {
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.page-nav-link:hover, .page-nav-link.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.section-light { background: #f6f8fc; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-action { text-align: center; margin-top: 40px; }

/* ---- CARDS GRID ---- */
.cards-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-light); }
.card-blog { cursor: pointer; }
.card-img-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-light), #e0f0ff);
  font-size: 2.5rem;
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-date, .read-time { font-size: 0.8rem; color: var(--text-muted); }
.card-title { font-size: 1rem; font-weight: 700; line-height: 1.4; flex: 1; }
.card-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.card-footer-link { margin-top: auto; }
.card-author { font-size: 0.82rem; color: var(--text-muted); margin-top: auto; }
.arrow-link { font-size: 0.88rem; font-weight: 600; color: var(--blue); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* card-product */
.card-product {
  padding: 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-product-icon { font-size: 2.2rem; }
.card-badge {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---- FEATURED PRODUCT ---- */
.featured-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.featured-icon { font-size: 3rem; margin-bottom: 8px; }
.featured-title { font-size: 2rem; margin-bottom: 8px; }
.featured-slogan { color: var(--blue); font-weight: 600; font-size: 1.05rem; margin-bottom: 16px; }
.featured-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.feature-list li::before { content: '✓ '; color: var(--blue); font-weight: 700; }
.featured-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.product-card-large {
  background: linear-gradient(135deg, var(--product-color, #0066cc), color-mix(in srgb, var(--product-color, #0066cc) 60%, black));
  color: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.product-card-icon { font-size: 4rem; margin-bottom: 16px; }
.product-card-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.8rem; margin-bottom: 6px; }
.product-card-tag { opacity: .7; font-size: 0.85rem; margin-bottom: 32px; }
.product-stats { display: flex; justify-content: space-around; border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.stat-n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.4rem; }
.stat-l { font-size: 0.75rem; opacity: .7; }

/* ---- CTA SECTION ---- */
.section-cta {
  background: linear-gradient(135deg, var(--blue), #004fa3, #003d80);
  padding: 80px 0;
}
.cta-block { text-align: center; color: white; }
.cta-title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: white; margin-bottom: 16px; }
.cta-subtitle { font-size: 1.05rem; opacity: .85; margin-bottom: 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---- PAGE HERO ---- */
.page-hero {
  margin-top: var(--header-h);
  padding: 80px 0;
  background: linear-gradient(160deg, #f6f8fc 0%, #e8f0fb 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-sm { padding: 60px 0; }
.page-hero-title { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 16px; }
.page-hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; }

/* ---- FILTER TABS ---- */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tab {
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  border: 1.5px solid var(--border);
  background: white;
  transition: all var(--transition);
  cursor: pointer;
}
.filter-tab:hover { border-color: var(--blue); color: var(--blue); }
.filter-tab.active { background: var(--blue); color: white; border-color: var(--blue); }

/* ---- PRODUCTS GRID ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card-full {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.product-card-full:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pcf-header {
  padding: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--product-color) 15%, white), color-mix(in srgb, var(--product-color) 8%, white));
  display: flex;
  align-items: center;
  gap: 16px;
}
.pcf-icon { font-size: 2.4rem; }
.pcf-cat { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--product-color); }
.pcf-body { padding: 28px; flex: 1; }
.pcf-name { font-size: 1.4rem; margin-bottom: 6px; }
.pcf-slogan { color: var(--blue); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.pcf-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.pcf-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.pcf-features li { font-size: 0.85rem; color: var(--gray-700); padding-left: 16px; position: relative; }
.pcf-features li::before { content: '•'; position: absolute; left: 0; color: var(--blue); }
.pcf-plans { display: flex; gap: 8px; flex-wrap: wrap; }
.plan-pill { padding: 4px 12px; background: var(--gray-100); border-radius: 20px; font-size: 0.78rem; font-weight: 600; color: var(--gray-700); }
.pcf-footer { padding: 16px 28px; border-top: 1px solid var(--border); }

/* ---- PRODUCT HERO ---- */
.product-hero {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, color-mix(in srgb, var(--product-color) 10%, white) 0%, color-mix(in srgb, var(--product-color) 5%, #f6f8fc) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.product-hero::after {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, color-mix(in srgb, var(--product-color) 20%, transparent) 0%, transparent 70%);
  border-radius: 50%;
}
.product-hero-inner { max-width: 800px; margin: 0 auto; padding: 80px 24px; position: relative; z-index: 1; }
.product-hero-icon { font-size: 4rem; margin-bottom: 16px; }
.ph-cat { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--product-color); margin-bottom: 12px; }
.ph-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.ph-slogan { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; margin-bottom: 16px; }
.ph-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; line-height: 1.7; }
.ph-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- PRODUCT TABS ---- */
.product-tabs-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  background: white;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.product-tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 62px;
  overflow-x: auto;
}
.ptab {
  padding: 0 20px;
  height: 52px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition);
}
.ptab:hover, .ptab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ---- OVERVIEW ---- */
.overview-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.overview-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.for-whom-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.for-whom-list li { padding: 10px 14px 10px 36px; background: var(--blue-light); border-radius: var(--radius-sm); position: relative; font-size: 0.9rem; }
.for-whom-list li::before { content: '→'; position: absolute; left: 14px; color: var(--blue); font-weight: 700; }
.overview-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); text-align: center; }
.ov-card-icon { font-size: 3rem; margin-bottom: 12px; }
.ov-card-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.4rem; margin-bottom: 8px; }
.ov-card-slogan { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }

/* ---- PRICING ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-plan-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.pricing-price { margin-bottom: 24px; }
.pricing-amount { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--text); }
.pricing-period { font-size: 0.9rem; color: var(--text-muted); margin-left: 4px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 0.88rem; display: flex; gap: 10px; align-items: flex-start; }
.check { font-weight: 700; flex-shrink: 0; }

/* ---- DOCS ---- */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition);
  cursor: pointer;
}
.doc-card:hover { box-shadow: var(--shadow); border-color: var(--blue); transform: translateY(-2px); }
.doc-card-all { background: var(--blue-light); border-color: var(--blue-light); }
.doc-card-all:hover { background: white; }
.doc-icon { font-size: 1.4rem; }
.doc-title { font-size: 0.9rem; font-weight: 600; flex: 1; }
.doc-arrow { color: var(--text-muted); font-size: 1rem; }

/* ---- FEATURES GRID ---- */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: white; border-radius: var(--radius); border: 1px solid var(--border); }
.feature-check { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.feature-text { font-size: 0.9rem; line-height: 1.5; }

/* ---- ACCORDION / FAQ ---- */
.accordion { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  background: white;
  cursor: pointer;
  transition: background var(--transition);
  gap: 16px;
}
.accordion-trigger:hover { background: var(--gray-50); }
.accordion-trigger[aria-expanded="true"] { background: var(--blue-light); color: var(--blue); }
.accordion-icon { font-size: 1.4rem; font-weight: 300; flex-shrink: 0; transition: transform var(--transition); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { padding: 0 24px 20px; background: var(--blue-light); }
.accordion-panel p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.accordion-panel[hidden] { display: none; }

/* ---- BLOG GRID ---- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-blog-lg .card-img-placeholder { height: 220px; }
.blog-img-placeholder { background: linear-gradient(135deg, #e8f0fb, #d1e3f8); }
.page-hero-blog { padding: 80px 0; }
.blog-post-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.post-author { font-size: 0.88rem; color: var(--text-muted); margin-top: 16px; }
.post-content { line-height: 1.8; color: var(--gray-700); font-size: 1.02rem; }
.post-content h2 { font-size: 1.5rem; margin: 36px 0 16px; color: var(--text); }
.post-content p { margin-bottom: 20px; }
.post-content blockquote { border-left: 4px solid var(--blue); padding: 16px 20px; background: var(--blue-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; font-style: italic; color: var(--text); }
.post-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.post-cta p { color: var(--text-muted); }

/* ---- DOCS PAGE ---- */
.docs-section { margin-bottom: 56px; }
.docs-section-title { font-size: 1.4rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.docs-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc-link-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all var(--transition);
  cursor: pointer;
}
.doc-link-card:hover { box-shadow: var(--shadow); border-color: var(--blue); transform: translateY(-2px); }
.dlc-icon { font-size: 1.6rem; flex-shrink: 0; }
.dlc-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.dlc-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ---- FOOTER ---- */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,.8);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.logo-light .logo-mark { background: rgba(255,255,255,.15); }
.logo-light .logo-text { color: white; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: white; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; min-height: auto; gap: 40px; padding: 60px 24px; }
  .hero-visual { max-width: 100%; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 16px; box-shadow: var(--shadow-lg); z-index: 999; }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .header-actions .btn:not(.hamburger) { display: none; }
  .header-actions .btn-primary { display: inline-flex; }
  .featured-product { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .docs-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .ph-actions { flex-direction: column; }
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

/* --- Form wrap --- */
.contact-form-header { margin-bottom: 32px; }
.contact-form-title { font-size: 1.6rem; margin-bottom: 8px; }
.contact-form-sub { color: var(--text-muted); font-size: 0.95rem; }
.email-link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.email-link:hover { color: var(--blue-dark); }

/* --- Form elements --- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
}
.required { color: #e53e3e; margin-left: 2px; }
.optional { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }

.form-input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,204,.12);
}
.form-input::placeholder { color: #adb5bd; }
.form-input.input-error { border-color: #e53e3e; }
.form-select {
  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 d='M1 1l5 5 5-5' stroke='%23868e96' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-error {
  font-size: 0.8rem;
  color: #e53e3e;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-error:not(:empty)::before { content: '⚠ '; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  flex-wrap: wrap;
}
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.form-disclaimer a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* --- Success state --- */
.contact-success {
  text-align: center;
  padding: 64px 40px;
  background: #f0faf6;
  border: 1.5px solid #b2e8d4;
  border-radius: var(--radius-lg);
}
.success-icon {
  width: 64px; height: 64px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  font-weight: 700;
}
.success-title { font-size: 1.8rem; margin-bottom: 12px; color: var(--text); }
.success-text { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* --- Sidebar cards --- */
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow); }
.cic-icon { font-size: 1.8rem; margin-bottom: 10px; }
.cic-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.cic-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 4px; }
.cic-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  word-break: break-all;
}
.cic-email:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-sidebar { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .form-footer .btn { width: 100%; justify-content: center; }
}

/* =====================================================
   LOGO OFICIAL
   ===================================================== */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* Logo tem fundo transparente — funciona no header branco */
}
.logo-img-footer {
  /* No footer escuro, aplica filtro para clarear o logo */
  filter: brightness(0) invert(1);
  height: 32px;
}

/* Remove os estilos antigos do logo de texto (não usados mais) */
.logo-mark { display: none; }
.logo-text { display: none; }
