/* ==========================================================================
   New Day Tech — School Management System
   Design tokens
   ========================================================================== */
:root {
  --primary: #0A66C2;
  --primary-dark: #084d94;
  --primary-light: #e8f1fc;
  --secondary: #14B86A;
  --secondary-dark: #0f9456;
  --secondary-light: #e6f9f0;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --border: #E5E9F0;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 48px rgba(16, 24, 40, 0.12);
  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --container: 1240px;
  --header-h: 76px;
}

:root[data-theme="dark"] {
  --bg: #0B1220;
  --surface: #121A2B;
  --text-dark: #F1F5F9;
  --text-light: #94A3B8;
  --border: #223049;
  --primary-light: #16233a;
  --secondary-light: #10281f;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1220;
    --surface: #121A2B;
    --text-dark: #F1F5F9;
    --text-light: #94A3B8;
    --border: #223049;
    --primary-light: #16233a;
    --secondary-light: #10281f;
  }
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
  max-width: 100%;
  overflow-x: hidden;
}

/* Grid/flex items default to a min-width based on their content's
   unwrapped size, which can force ancestors wider than the viewport
   on narrow screens. Allow these containers to shrink freely. */
.hero-grid, .hero-content, .hero-visual, .header-inner, .hero-actions,
.hero-trust-mini, .logo-row, .logo-row .logo-item, .benefits-grid,
.contact-grid, .footer-grid, .dash-mock-body, .dash-preview-grid,
.form-row, .why-grid, .products-grid, .features-grid, .industries-grid,
.pricing-grid, .news-grid, .stats-grid {
  min-width: 0;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}
input, textarea, select { font-family: inherit; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--text-light); font-size: 17px; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-gradient {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 102, 194, 0.28);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(10, 102, 194, 0.35); }
.btn-outline {
  background: var(--surface);
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-ghost { color: var(--primary); font-weight: 600; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
:root[data-theme="dark"] .site-header { background: rgba(11, 18, 32, 0.85); }
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.logo span { color: var(--secondary); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-light); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark);
  transition: border-color .2s ease, color .2s ease;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: 40vh; background: var(--surface); flex-direction: column; align-items: stretch; padding: 20px; gap: 4px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .main-nav.active { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .main-nav .header-actions-mobile { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
  .header-actions .btn-outline, .header-actions .btn-gradient { display: none; }
  .nav-toggle { display: flex; }
}
.header-actions-mobile { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 100px;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  z-index: 0;
}
.hero-bg-shape.s1 { width: 420px; height: 420px; background: var(--primary); top: -120px; right: -80px; }
.hero-bg-shape.s2 { width: 340px; height: 340px; background: var(--secondary); bottom: -100px; left: -100px; opacity: .25; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-content h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 20px; letter-spacing: -0.01em; }
.hero-content h1 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content p.lead { font-size: 18px; color: var(--text-light); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-video { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.btn-video .play-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.hero-trust-mini { display: flex; align-items: center; gap: 14px; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -10px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700;
}
.avatar-stack span:first-child { margin-left: 0; }
.hero-trust-mini small { color: var(--text-light); font-size: 14px; }
.hero-trust-mini strong { color: var(--text-dark); }

.hero-visual { position: relative; }
.dash-mock {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  border: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.dash-mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.dash-mock-head span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dash-mock-head span:nth-child(1) { background: #f97066; }
.dash-mock-head span:nth-child(2) { background: #fdb022; }
.dash-mock-head span:nth-child(3) { background: var(--secondary); }
.dash-mock-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-card { background: var(--bg); border-radius: var(--radius-sm); padding: 14px; border: 1px solid var(--border); }
.dash-card .k { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.dash-card .v { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; }
.dash-card .v.up { color: var(--secondary); }
.dash-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 10px; }
.dash-bars i { flex: 1; background: var(--gradient-brand); border-radius: 4px 4px 0 0; opacity: .85; }
.dash-mock-body .wide { grid-column: 1 / -1; }
.dash-donut {
  width: 84px; height: 84px; border-radius: 50%;
  background: conic-gradient(var(--primary) 0 65%, var(--secondary) 65% 90%, var(--border) 90% 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 4px auto;
}
.dash-donut span { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; font-family: 'Poppins', sans-serif; }

.float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  border: 1px solid var(--border);
  animation: float 5s ease-in-out infinite;
}
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.float-card .ic.blue { background: var(--primary); }
.float-card .ic.green { background: var(--secondary); }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card strong { display: block; font-size: 14px; }
.float-card small { color: var(--text-light); font-size: 12px; }
.float-1 { top: -8%; left: -12%; animation-delay: .2s; }
.float-2 { bottom: -6%; right: -10%; animation-delay: 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .float-card { display: none; }
}

/* ==========================================================================
   Trusted by
   ========================================================================== */
.trusted { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trusted p.label { text-align: center; color: var(--text-light); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 28px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.logo-row .logo-item { display: flex; align-items: center; gap: 8px; color: var(--text-light); font-weight: 700; font-family: 'Poppins', sans-serif; font-size: 16px; opacity: .7; transition: opacity .2s ease, color .2s ease; }
.logo-row .logo-item:hover { opacity: 1; color: var(--primary); }
.logo-row .logo-item svg { width: 22px; height: 22px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-section { background: var(--gradient-brand); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item .num { font-family: 'Poppins', sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: #fff; }
.stat-item .label { color: rgba(255,255,255,.85); font-size: 15px; margin-top: 6px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon-box svg { width: 26px; height: 26px; }
.icon-box.blue { background: var(--primary-light); color: var(--primary); }
.icon-box.green { background: var(--secondary-light); color: var(--secondary-dark); }
.why-card h3 { font-size: 19px; margin-bottom: 8px; }
.why-card p { color: var(--text-light); font-size: 15px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Products
   ========================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card:hover::before { opacity: 1; }
.product-card > * { position: relative; z-index: 1; }
.product-card .icon-box { background: var(--primary-light); color: var(--primary); transition: background-color .3s ease, color .3s ease; }
.product-card:hover .icon-box { background: rgba(255,255,255,.2); color: #fff; }
.product-card h3 { font-size: 17px; margin-bottom: 6px; transition: color .3s ease; }
.product-card:hover h3 { color: #fff; }
.product-card p { font-size: 14px; color: var(--text-light); transition: color .3s ease; }
.product-card:hover p { color: rgba(255,255,255,.85); }
.product-card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--primary); transition: color .3s ease; }
.product-card:hover a.card-link { color: #fff; }
@media (max-width: 1024px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Features
   ========================================================================== */
.features-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.features-tabs button {
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1.5px solid var(--border); color: var(--text-light); background: var(--surface);
  transition: all .2s ease;
}
.features-tabs button.active, .features-tabs button:hover { background: var(--gradient-brand); color: #fff; border-color: transparent; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature-item .fi-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--secondary-light); color: var(--secondary-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item .fi-icon svg { width: 20px; height: 20px; }
.feature-item span.txt { font-size: 14.5px; font-weight: 600; padding-top: 8px; }
@media (max-width: 1024px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Dashboard preview
   ========================================================================== */
.dashboard-preview { background: var(--surface); }
.dash-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.dash-tabs button { padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--text-light); border: 1.5px solid var(--border); transition: all .2s ease; }
.dash-tabs button.active { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.dash-preview-frame {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.dash-preview-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.dpg-panel { background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--border); padding: 20px; }
.dpg-panel h4 { font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.dpg-panel h4 small { color: var(--text-light); font-weight: 400; font-size: 12px; }
.chart-line { height: 160px; display: flex; align-items: flex-end; gap: 10px; }
.chart-line i { flex: 1; border-radius: 6px 6px 0 0; background: var(--gradient-brand); opacity: .85; transition: opacity .2s ease; }
.chart-line i:hover { opacity: 1; }
.dpg-list { display: flex; flex-direction: column; gap: 12px; }
.dpg-list li { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.dpg-list li:last-child { border: none; padding-bottom: 0; }
.pill { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.pill.green { background: var(--secondary-light); color: var(--secondary-dark); }
.pill.blue { background: var(--primary-light); color: var(--primary); }
.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px; }
.mini-cal span { aspect-ratio: 1; border-radius: 6px; background: var(--bg); font-size: 11px; display: flex; align-items: center; justify-content: center; color: var(--text-light); }
.mini-cal span.active { background: var(--gradient-brand); color: #fff; font-weight: 700; }
@media (max-width: 900px) { .dash-preview-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.benefits-visual { position: relative; }
.benefit-blob {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  aspect-ratio: 1/0.9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.benefit-blob svg { width: 62%; opacity: .95; }
.benefit-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
}
.benefit-badge strong { display: block; font-family: 'Poppins', sans-serif; font-size: 20px; color: var(--secondary-dark); }
.benefit-badge small { color: var(--text-light); font-size: 12px; }
.benefits-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.benefit-check { display: flex; align-items: center; gap: 14px; }
.benefit-check .ck { width: 28px; height: 28px; border-radius: 50%; background: var(--secondary-light); color: var(--secondary-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-check .ck svg { width: 15px; height: 15px; }
.benefit-check span { font-weight: 600; font-size: 15.5px; }
@media (max-width: 900px) { .benefits-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ==========================================================================
   Industries
   ========================================================================== */
.industries-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.industry-card {
  text-align: center; padding: 28px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.industry-card:hover { background: var(--gradient-brand); border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry-card .icon-box { margin: 0 auto 14px; background: var(--primary-light); color: var(--primary); }
.industry-card:hover .icon-box { background: rgba(255,255,255,.2); color: #fff; }
.industry-card span { font-weight: 600; font-size: 14.5px; transition: color .25s ease; }
.industry-card:hover span { color: #fff; }
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-slider { max-width: 760px; margin: 0 auto; position: relative; }
.testimonial-track { overflow: hidden; border-radius: var(--radius-lg); }
.testimonial-slides { display: flex; transition: transform .5s ease; }
.testimonial-card {
  flex: 0 0 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #fdb022; display: flex; justify-content: center; gap: 4px; margin-bottom: 20px; }
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-card p.quote { font-size: 18px; color: var(--text-dark); font-style: italic; margin-bottom: 28px; max-width: 560px; margin-inline: auto; }
.testimonial-person { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-family: 'Poppins', sans-serif; }
.testimonial-person .name { font-weight: 700; font-size: 15px; text-align: left; }
.testimonial-person .role { color: var(--text-light); font-size: 13px; text-align: left; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 28px; }
.slider-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all .2s ease; }
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.slider-arrow svg { width: 18px; height: 18px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: all .25s ease; }
.slider-dots button.active { background: var(--primary); width: 24px; border-radius: 999px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient-brand); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 8px; }
.price-card .desc { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }
.price-card .amount { font-family: 'Poppins', sans-serif; font-size: 38px; font-weight: 700; margin-bottom: 4px; }
.price-card .amount span { font-size: 15px; color: var(--text-light); font-weight: 500; font-family: 'Inter', sans-serif; }
.price-card .per { color: var(--text-light); font-size: 13px; margin-bottom: 24px; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex-grow: 1; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.price-features li svg { width: 18px; height: 18px; color: var(--secondary-dark); flex-shrink: 0; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } .price-card.featured { transform: none; } .price-card.featured:hover { transform: translateY(-6px); } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-weight: 600; font-size: 15.5px; }
.faq-question .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s ease; }
.faq-question .plus svg { width: 14px; height: 14px; }
.faq-item.active .faq-question .plus { transform: rotate(135deg); background: var(--gradient-brand); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 24px 22px; color: var(--text-light); font-size: 14.5px; max-width: 640px; }

/* ==========================================================================
   News
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-thumb { height: 170px; background: var(--gradient-brand); position: relative; display: flex; align-items: center; justify-content: center; }
.news-thumb svg { width: 56px; height: 56px; color: rgba(255,255,255,.85); }
.news-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.9); color: var(--primary); font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.news-body { padding: 22px; }
.news-date { color: var(--text-light); font-size: 12.5px; margin-bottom: 8px; }
.news-body h3 { font-size: 17px; margin-bottom: 10px; }
.news-body p { color: var(--text-light); font-size: 14px; margin-bottom: 16px; }
.news-body a { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner { background: var(--gradient-brand); border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 24px; max-width: calc(var(--container) - 48px); margin-inline: auto; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); }
.cta-banner .btn-outline { background: #fff; border-color: #fff; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-of-type { border: none; }
.contact-info-item .icon-box { width: 44px; height: 44px; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.contact-info-item span { color: var(--text-light); font-size: 14px; }
.map-placeholder { margin-top: 20px; border-radius: var(--radius-md); background: var(--bg); border: 1px dashed var(--border); height: 160px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--text-light); font-size: 13px; }
.map-placeholder svg { width: 28px; height: 28px; color: var(--primary); }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text-dark); font-size: 14.5px; transition: border-color .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0F1B2E; color: #A9B4C4; padding: 72px 0 0; }
:root[data-theme="dark"] .site-footer { background: #060B14; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px; color: #fff; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--secondary); }
.footer-about p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; transition: background-color .2s ease; }
.footer-social a:hover { background: var(--secondary); color: #0F1B2E; }
.footer-social svg { width: 17px; height: 17px; }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #fff; font-size: 13.5px; }
.newsletter input::placeholder { color: #7C8AA0; }
.newsletter button { width: 42px; border-radius: 10px; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.newsletter button svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating action button + back to top
   ========================================================================== */
.floating-actions { position: fixed; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 900; }
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .25s ease, opacity .25s ease;
}
.fab svg { width: 24px; height: 24px; }
.fab-chat { background: var(--gradient-brand); color: #fff; }
.fab-chat:hover { transform: scale(1.08); }
.fab-top { background: var(--surface); color: var(--primary); border: 1.5px solid var(--border); width: 44px; height: 44px; align-self: flex-end; opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-aos].in-view { opacity: 1; transform: translateY(0); }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos="fade-left"].in-view { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-right"].in-view { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(.92); }
[data-aos="zoom-in"].in-view { transform: scale(1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 12px 20px; z-index: 2000; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }
