/* =============================================================
   PlugIQ WordPress Theme — theme.css
   Descasio Technology
   ============================================================= */

/* ----------------------------------------------------------------
   Google Fonts
   ---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

/* ----------------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg:            #0A0A0A;
  --bg-alt:        #0F0F0F;
  --bg-card:       #141414;
  --bg-card-elev:  #111111;
  --bg-dark:       #080808;

  /* Primary */
  --primary:       #14C187;
  --primary-dark:  #0fa870;
  --primary-light: rgba(20, 193, 135, 0.15);

  /* Text */
  --text-heading:  #EDEDED;
  --text-body:     #C8C8C8;
  --text-muted:    #999999;
  --text-dim:      #888888;

  /* Borders */
  --border:         rgba(255, 255, 255, 0.08);
  --border-primary: rgba(20, 193, 135, 0.15);

  /* Sizing */
  --radius:        0.75rem;
  --max-w:         1280px;

  /* Typography */
  --font:          'Nunito', sans-serif;
}

/* ----------------------------------------------------------------
   Forest-Green Theme (html.light)
   ---------------------------------------------------------------- */
html.light {
  --bg:            #0B1913;
  --bg-alt:        #111C16;
  --bg-card:       #172A1F;
  --bg-card-elev:  #1A2B21;
  --bg-dark:       #091511;

  --primary:       #14C187;
  --primary-dark:  #0fa870;
  --primary-light: rgba(20, 193, 135, 0.15);

  --text-heading:  #EDEDED;
  --text-body:     #C2D0C7;
  --text-muted:    #8A9990;
  --text-dim:      #7A8A82;

  --border:         rgba(20, 193, 135, 0.14);
  --border-primary: rgba(20, 193, 135, 0.28);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  color: var(--text-body);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--primary); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
}

/* ----------------------------------------------------------------
   Layout Utilities
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-pad {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.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: 2rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.text-center { text-align: center; }
.text-left   { text-align: left; }

.w-full  { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* ----------------------------------------------------------------
   Backgrounds & Special Effects
   ---------------------------------------------------------------- */

/* Subtle white-line grid overlay */
.grid-bg {
  position: relative;
}
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* Hero radial gradient with green hint */
.hero-gradient {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(20, 193, 135, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(20, 193, 135, 0.06) 0%, transparent 60%),
    var(--bg);
}

/* Alternate section background */
.section-alt {
  background-color: var(--bg-alt);
}

/* Green glow box shadow */
.glow-primary {
  box-shadow: 0 0 32px rgba(20, 193, 135, 0.25), 0 0 64px rgba(20, 193, 135, 0.1);
}

/* Gradient border via pseudo-element */
.gradient-border {
  position: relative;
  border-radius: var(--radius);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(20,193,135,0.5), rgba(20,193,135,0.05) 50%, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Screenshot glow effect */
.screenshot-glow {
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(20, 193, 135, 0.15),
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(20, 193, 135, 0.1);
}

/* ----------------------------------------------------------------
   Animations
   ---------------------------------------------------------------- */

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.animate-float {
  animation: float 7s ease-in-out infinite;
}

/* Pulse glow */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Marquee */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 40s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

/* Fade up */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ----------------------------------------------------------------
   Navbar
   ---------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
html.light .site-nav.scrolled {
  background: rgba(11, 25, 19, 0.93);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
  background: rgba(255,255,255,0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-signin {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.nav-signin:hover {
  color: var(--text-heading);
  background: rgba(255,255,255,0.05);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-body);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Theme toggle button */
.theme-toggle {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-body);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}
.theme-toggle svg {
  width: 1rem;
  height: 1rem;
  position: absolute;
  transition: opacity 0.25s, transform 0.3s;
}
/* Dark mode: show moon, hide sun */
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-sun  { opacity: 0; transform: rotate(-90deg) scale(0.5); color: #14C187; }
/* Forest-green mode: show sun, hide moon */
html.light .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.5); }
html.light .theme-toggle .icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
html.light .theme-toggle {
  background: rgba(20, 193, 135, 0.12);
  border-color: rgba(20, 193, 135, 0.30);
}
html.light .theme-toggle:hover {
  background: rgba(20, 193, 135, 0.20);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  border-radius: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-heading);
}
.mobile-menu .mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 0.625rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #0A0A0A;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #0A0A0A;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(20, 193, 135, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 2px solid rgba(255,255,255,0.18);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--text-heading);
  transform: translateY(-1px);
}

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

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ----------------------------------------------------------------
   Cards
   ---------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.card-elevated {
  background: var(--bg-card-elev);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.card-green {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  padding: 1.75rem;
}

/* ----------------------------------------------------------------
   Badges / Pills
   ---------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.badge-green {
  background: rgba(20, 193, 135, 0.12);
  color: var(--primary);
  border: 1px solid var(--border-primary);
}

.badge-outline {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   Section Headers
   ---------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--text-body);
}

/* ----------------------------------------------------------------
   Form Inputs
   ---------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text-heading);
  font-size: 0.9375rem;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 193, 135, 0.12);
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}
.form-select option {
  background: #1a1a1a;
  color: var(--text-body);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.form-checkbox-wrap input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

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

.form-error {
  font-size: 0.8125rem;
  color: #f87171;
}

.form-message {
  padding: 0.875rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(20, 193, 135, 0.12);
  border: 1px solid var(--border-primary);
  color: var(--primary);
}
.form-message.error {
  display: block;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

/* ----------------------------------------------------------------
   Tab Component
   ---------------------------------------------------------------- */
.tabs-list {
  display: flex;
  gap: 0.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 0.25rem;
}

.tab-btn {
  flex: 1;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 0.5rem;
  transition: all 0.25s ease;
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
}
.tab-btn:hover {
  color: var(--text-body);
}
.tab-btn.active {
  background: var(--bg-card);
  color: var(--text-heading);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* Vertical tabs (use cases) */
.tabs-vertical {
  display: flex;
  gap: 0;
}
.tabs-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 220px;
  flex-shrink: 0;
}
.tabs-vertical-btn {
  width: 100%;
  text-align: left;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
}
.tabs-vertical-btn:hover {
  color: var(--text-body);
  background: rgba(255,255,255,0.04);
}
.tabs-vertical-btn.active {
  color: var(--primary);
  background: rgba(20, 193, 135, 0.07);
  border-color: var(--border-primary);
}
.tabs-vertical-content {
  flex: 1;
  padding-left: 2rem;
}

/* Solution tabs progress */
.solution-tabs-wrap {
  position: relative;
}
.solution-tab-btn {
  position: relative;
  overflow: hidden;
}
.solution-tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--primary);
  width: 0%;
  transition: width 0.1s linear;
}
.solution-tab-btn.active .solution-tab-progress {
  transition: width 5s linear;
  width: 100%;
}

/* ----------------------------------------------------------------
   Marquee / Logo Cloud
   ---------------------------------------------------------------- */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  align-items: center;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.logo-item:hover {
  border-color: var(--border-primary);
  color: var(--text-body);
}
.logo-item img {
  height: 28px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(100%) brightness(1.5);
}

/* ----------------------------------------------------------------
   Stats Section
   ---------------------------------------------------------------- */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.stat-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.25rem;
  display: block;
}
.stat-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
}

/* ----------------------------------------------------------------
   Feature Cards
   ---------------------------------------------------------------- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 20px rgba(20,193,135,0.06);
}
.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(20, 193, 135, 0.1);
  border: 1px solid var(--border-primary);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}
.feature-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   Testimonials
   ---------------------------------------------------------------- */
.testimonials-section {
  position: relative;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.2s;
}
.testimonial-card:hover {
  border-color: var(--border-primary);
}
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  font-size: 0.875rem;
}
.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
}
.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary), #0fa870);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0A0A0A;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
}
.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.carousel-btn:hover {
  border-color: var(--border-primary);
  background: rgba(20,193,135,0.07);
  color: var(--primary);
}
.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.carousel-dot.active {
  background: var(--primary);
  width: 20px;
}

/* ----------------------------------------------------------------
   FAQ / Accordion
   ---------------------------------------------------------------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: var(--border-primary);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: none;
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s;
}
.faq-question:hover {
  background: rgba(255,255,255,0.02);
}
.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-card);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ----------------------------------------------------------------
   CTA Section
   ---------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, rgba(20, 193, 135, 0.08) 0%, transparent 60%),
              var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 6rem 0;
}
.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   Hero Section
   ---------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 193, 135, 0.08);
  border: 1px solid var(--border-primary);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 9999px;
  animation: pulseGlow 2s ease-in-out infinite;
}
.hero-h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}
.hero-italic {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.trust-signals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-check {
  width: 1rem;
  height: 1rem;
  background: rgba(20,193,135,0.12);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.625rem;
  font-weight: 800;
}

/* Hero glow blobs */
.hero-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20,193,135,0.08) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20,193,135,0.05) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
}

/* Abstract dashboard mockup */
.hero-dashboard {
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}
.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid rgba(20,193,135,0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(20,193,135,0.08);
}
.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.dashboard-dots {
  display: flex;
  gap: 0.4rem;
}
.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
}
.dashboard-dot:nth-child(1) { background: #ff5f56; }
.dashboard-dot:nth-child(2) { background: #ffbd2e; }
.dashboard-dot:nth-child(3) { background: #27c93f; }
.dashboard-title-bar {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}
.dashboard-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.dash-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1rem;
}
.dash-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dash-card-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}
.status-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
}
.status-approved { background: rgba(20,193,135,0.12); color: #14C187; }
.status-pending  { background: rgba(245,158,11,0.12); color: #f59e0b; }
.status-review   { background: rgba(99,102,241,0.12); color: #818cf8; }

/* ----------------------------------------------------------------
   Problem Section
   ---------------------------------------------------------------- */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
}
.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.problem-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.problem-bridge {
  text-align: center;
  background: rgba(20,193,135,0.05);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  padding: 1.75rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.problem-bridge p {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* ----------------------------------------------------------------
   Solution Section
   ---------------------------------------------------------------- */
.solution-section {
  position: relative;
}
.solution-tabs-header {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.solution-tab-btn {
  padding: 0.75rem 1.75rem;
  border-radius: 0.625rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.solution-tab-btn:hover {
  color: var(--text-body);
  border-color: rgba(255,255,255,0.14);
}
.solution-tab-btn.active {
  color: var(--text-heading);
  border-color: var(--border-primary);
  background: rgba(20,193,135,0.07);
}
.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.solution-text-col h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.875rem;
}
.solution-text-col p {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.solution-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.solution-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-body);
}
.bullet-dot {
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(20,193,135,0.12);
  border: 1px solid var(--border-primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--primary);
  font-size: 0.6rem;
  font-weight: 900;
}
.solution-img-col img {
  width: 100%;
  border-radius: 0.75rem;
}

/* ----------------------------------------------------------------
   Showcase Section
   ---------------------------------------------------------------- */
.showcase-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.showcase-tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 0.625rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}
.showcase-tab-btn:hover { color: var(--text-body); }
.showcase-tab-btn.active {
  color: var(--primary);
  border-color: var(--border-primary);
  background: rgba(20,193,135,0.07);
}
.showcase-panel {
  display: none;
  text-align: center;
}
.showcase-panel.active { display: block; }
.showcase-panel img {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0.75rem;
}

/* ----------------------------------------------------------------
   Use Cases Section
   ---------------------------------------------------------------- */
.use-cases-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.use-cases-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  position: sticky;
  top: 100px;
}
.use-case-tab {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}
.use-case-tab:hover {
  color: var(--text-body);
  background: rgba(255,255,255,0.03);
}
.use-case-tab.active {
  color: var(--primary);
  background: rgba(20,193,135,0.07);
  border-color: var(--border-primary);
}
.use-case-panel {
  display: none;
}
.use-case-panel.active {
  display: block;
}
.use-case-stat {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.use-case-panel > p {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.use-case-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.use-case-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-body);
}
.use-case-check {
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(20,193,135,0.12);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.6rem;
  font-weight: 900;
  margin-top: 0.1rem;
}

/* ----------------------------------------------------------------
   Descasio Section
   ---------------------------------------------------------------- */
.descasio-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.descasio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.descasio-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.2s;
}
.descasio-stat:hover {
  border-color: var(--border-primary);
}
.descasio-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 0.375rem;
}
.descasio-stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.375rem;
  display: block;
}
.descasio-stat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: block;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-logo img {
  height: 30px;
  width: auto;
}
.footer-tagline {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}
.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-body);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text-heading);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.social-icon:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-heading);
}
.social-icon svg {
  width: 1rem;
  height: 1rem;
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.875rem;
  color: var(--text-dim);
}
.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: var(--text-body);
}

/* ----------------------------------------------------------------
   About Page
   ---------------------------------------------------------------- */
.about-hero {
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}
.about-hero p {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
}
.mission-card.green-border {
  border-color: var(--border-primary);
  background: rgba(20,193,135,0.03);
}
.mission-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.mission-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.875rem;
}
.mission-card p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

.who-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.who-col h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
.who-col p {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.client-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.client-chip {
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.diff-card:hover {
  border-color: var(--border-primary);
}
.diff-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.diff-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}
.diff-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.team-stat {
  text-align: center;
}
.team-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.team-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   Contact Page
   ---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-left h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.contact-left > p {
  font-size: 1.0625rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.value-props {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.value-prop {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.value-prop-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(20,193,135,0.1);
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}
.value-prop-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}
.value-prop-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.contact-testimonial p {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 1rem;
}
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
}
.contact-form-wrap h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.contact-form-wrap > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reassurance-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.reassurance-item {
  text-align: center;
}
.reassurance-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}
.reassurance-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.next-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}
.next-step-num {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(20,193,135,0.1);
  border: 1px solid var(--border-primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 1rem;
}
.next-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.next-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------
   404 Page
   ---------------------------------------------------------------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.error-num {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.error-page p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ----------------------------------------------------------------
   Utility / Helpers
   ---------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 9999px;
  margin: 0 auto 2rem;
}
.text-green { color: var(--primary); }
.text-muted  { color: var(--text-muted); }
.text-dim    { color: var(--text-dim); }
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }

/* ----------------------------------------------------------------
   Responsive Breakpoints
   ---------------------------------------------------------------- */

/* MD — 768px */
@media (max-width: 768px) {
  .section-pad { padding-top: 4rem; padding-bottom: 4rem; }
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }

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

  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .nav-signin { display: none; }
  .nav-actions .btn-primary { display: none; }

  .hero-section { padding-top: 7rem; padding-bottom: 3rem; }
  .hero-h1 { font-size: clamp(1.875rem, 7vw, 2.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-signals { flex-direction: column; gap: 0.75rem; }
  .dashboard-body { grid-template-columns: 1fr; }

  .problem-cards { grid-template-columns: 1fr; }
  .solution-content { grid-template-columns: 1fr; gap: 2rem; }
  .solution-tabs-header { flex-direction: column; align-items: stretch; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .use-cases-layout { grid-template-columns: 1fr; }
  .use-cases-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .use-case-tab { flex: 0 0 auto; }

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

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .mission-grid { grid-template-columns: 1fr; }
  .who-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .diff-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .team-stats { grid-template-columns: repeat(2, 1fr); }

  .descasio-stats { grid-template-columns: repeat(2, 1fr); }
  .reassurance-strip { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* LG — 1024px */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .descasio-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .use-cases-layout { grid-template-columns: 200px 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .contact-layout { gap: 3rem; }
  .solution-content { gap: 2.5rem; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------------------------------------------------------
   WP Editor content — rendered inside theme templates
   Ensures headings, lists, etc. from Gutenberg match site styles
---------------------------------------------------------------- */
.wp-content h1, .wp-content h2 { color: #fff; font-weight: 700; line-height: 1.3; margin: 40px 0 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.wp-content h1:first-child, .wp-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.wp-content h3 { color: #fff; font-size: 1.0625rem; font-weight: 600; margin: 24px 0 10px; }
.wp-content h4 { color: #fff; font-weight: 600; margin: 20px 0 8px; }
.wp-content p { margin: 0 0 16px; }
.wp-content ul, .wp-content ol { padding-left: 1.5rem; margin: 0 0 16px; }
.wp-content li { margin-bottom: 6px; }
.wp-content strong { color: #fff; }
.wp-content a { color: #14C187; text-decoration: none; }
.wp-content a:hover { text-decoration: underline; }
.wp-content pre { background: #111; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 16px 20px; overflow-x: auto; font-size: 0.875rem; margin: 0 0 16px; }
.wp-content code { background: rgba(20,193,135,0.1); border-radius: 4px; padding: 2px 6px; font-size: 0.875em; color: #14C187; }
.wp-content pre code { background: none; padding: 0; color: inherit; }
.wp-content blockquote { border-left: 3px solid #14C187; margin: 0 0 16px; padding: 8px 0 8px 20px; color: #8A9990; }
.wp-content hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 32px 0; }
.wp-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.wp-content th, .wp-content td { padding: 10px 14px; border: 1px solid rgba(255,255,255,0.08); text-align: left; }
.wp-content th { color: #fff; background: rgba(255,255,255,0.04); }

/* ================================================================
   FLUENT FORMS — Dark theme overrides
   Matches the site's dark background palette and green accent
================================================================ */

/* Container */
.ff-form-wrap { color: var(--text-body, #C8C8C8); }

/* Labels */
.ff-el-input--label label,
.ff-el-form-check label {
    color: var(--text-body, #C8C8C8) !important;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
}
.ff-el-req-tag { color: #14C187 !important; }

/* Inputs, textareas, selects */
.ff-el-form-control,
.ff-form-wrap input[type="text"],
.ff-form-wrap input[type="email"],
.ff-form-wrap input[type="tel"],
.ff-form-wrap input[type="number"],
.ff-form-wrap input[type="url"],
.ff-form-wrap input[type="date"],
.ff-form-wrap textarea,
.ff-form-wrap select {
    background: #111 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 0.9375rem !important;
    padding: 10px 14px !important;
    transition: border-color .2s !important;
    box-shadow: none !important;
}
.ff-el-form-control:focus,
.ff-form-wrap input:focus,
.ff-form-wrap textarea:focus,
.ff-form-wrap select:focus {
    border-color: rgba(20,193,135,0.6) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(20,193,135,0.1) !important;
}
.ff-form-wrap select option { background: #111; color: #fff; }

/* Checkboxes & Radios */
.ff-el-form-check-input { accent-color: #14C187; }

/* Help text */
.ff-el-help-message { color: #666 !important; font-size: 0.8125rem !important; }

/* Error state */
.ff-form-wrap .error,
.ff-form-wrap .ff-el-is-error .ff-el-form-control {
    border-color: #d63638 !important;
}
.ff-form-wrap .error { color: #ff6b6b !important; font-size: 0.8125rem !important; margin-top: 4px; }

/* Submit button */
.ff-btn-submit,
.ff-form-wrap button[type="submit"] {
    background: #14C187 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #0A0A0A !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    padding: 12px 28px !important;
    cursor: pointer !important;
    transition: opacity .2s !important;
}
.ff-btn-submit:hover,
.ff-form-wrap button[type="submit"]:hover { opacity: 0.88 !important; }
.ff-btn-submit:disabled { opacity: 0.5 !important; cursor: not-allowed !important; }

/* Success message */
.ff-success-inner,
.ff-message-success {
    background: rgba(20,193,135,0.08) !important;
    border: 1px solid rgba(20,193,135,0.3) !important;
    border-radius: 10px !important;
    color: #14C187 !important;
    padding: 20px 24px !important;
}

/* Section headings inside form */
.ff-form-wrap .ff-section-title { color: #fff !important; font-weight: 700 !important; }
.ff-form-wrap .ff-section-break { border-color: rgba(255,255,255,0.08) !important; }

/* ================================================================
   WPFORMS — Dark theme overrides
================================================================ */

/* Labels */
.wpforms-form .wpforms-field-label,
.wpforms-form .wpforms-field-sublabel {
    color: var(--text-body, #C8C8C8) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}
.wpforms-form .wpforms-required-label { color: #14C187 !important; }

/* Inputs */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="number"],
.wpforms-form input[type="url"],
.wpforms-form input[type="date"],
.wpforms-form textarea,
.wpforms-form select {
    background: #111 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 0.9375rem !important;
    padding: 10px 14px !important;
    box-shadow: none !important;
    transition: border-color .2s !important;
}
.wpforms-form input:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus {
    border-color: rgba(20,193,135,0.6) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(20,193,135,0.1) !important;
}
.wpforms-form select option { background: #111; color: #fff; }

/* Error */
.wpforms-form .wpforms-error { color: #ff6b6b !important; font-size: 0.8125rem !important; }
.wpforms-form .wpforms-has-error input,
.wpforms-form .wpforms-has-error textarea { border-color: #d63638 !important; }

/* Submit */
.wpforms-form .wpforms-submit,
.wpforms-form button[type="submit"] {
    background: #14C187 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #0A0A0A !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    padding: 12px 28px !important;
    cursor: pointer !important;
    transition: opacity .2s !important;
}
.wpforms-form .wpforms-submit:hover { opacity: 0.88 !important; }

/* Confirmation */
.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
    background: rgba(20,193,135,0.08) !important;
    border: 1px solid rgba(20,193,135,0.3) !important;
    border-radius: 10px !important;
    color: #14C187 !important;
    padding: 20px 24px !important;
}
