/* =============================================
   ILLUMINANT – Premium Solar Landing Page CSS
   Primary: #00A86B | Gold: #FFD700 | Dark: #333
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --green: #00A86B;
  --green-dark: #008755;
  --green-light: #e6f7f1;
  --gold: #FFD700;
  --gold-dark: #e6c200;
  --white: #FFFFFF;
  --gray-bg: #F5F5F5;
  --dark: #333333;
  --dark-2: #444444;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e8e8e8;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.14);
  --shadow-green: 0 8px 32px rgba(0, 168, 107, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 76px;
  --max-w: 1160px;
  --container-px: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

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

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(36px, 5vw, 48px);
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
}

h3 {
  font-size: clamp(20px, 3vw, 24px);
}

h4 {
  font-size: 18px;
}

/* ---- Section Base ---- */
.section {
  padding: 96px 0;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--gray-bg);
}

.section-green {
  background: linear-gradient(135deg, #004d30 0%, var(--green-dark) 40%, var(--green) 100%);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ---- Section Chip ---- */
.section-chip {
  display: inline-block;
  padding: 6px 16px;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.chip-white {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(0, 168, 107, 0.3);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 168, 107, 0.45);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.35);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: scale(1.05);
}

.full-width {
  width: 100%;
  justify-content: center;
}

.mt-20 {
  margin-top: 20px;
}

/* ---- Text Links ---- */
.text-link {
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.text-link:hover {
  color: var(--green-dark);
  gap: 10px;
}

.link-green {
  color: var(--green);
  font-weight: 600;
}

.link-green:hover {
  text-decoration: underline;
}

.link-underline {
  color: var(--green);
  text-decoration: underline;
}

/* ---- Text Colors ---- */
.text-white {
  color: white;
}

.text-white-muted {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  line-height: 1.7;
}

/* ==================================
   HEADER
   ================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  font-size: 28px;
  color: var(--green);
  filter: drop-shadow(0 2px 4px rgba(0, 168, 107, 0.3));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-tagline {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1;
  margin-top: 3px;
  white-space: nowrap;
}

/* Navigation */
.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-2);
  transition: all var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--green);
}

.nav-link:hover::after {
  left: 14px;
  right: 14px;
}

/* Demo Button in Header */
#header-demo-btn {
  margin-left: 16px;
  padding: 11px 22px;
  font-size: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--gray-bg);
}

.bar {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  backdrop-filter: blur(2px);
}

.mobile-overlay.active {
  display: block;
}

/* ==================================
   HERO
   ================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 50, 30, 0.82) 0%,
      rgba(0, 120, 70, 0.6) 50%,
      rgba(0, 50, 30, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px var(--container-px);
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: white;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
  }
}

.hero-title {
  color: white;
  font-size: clamp(36px, 5.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  color: var(--gold);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  width: fit-content;
}

.stat-item {
  text-align: center;
  padding: 0 28px;
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: bounce 2.5s infinite;
}

.scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  margin-top: -4px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ==================================
   CARDS GRID (Overview)
   ================================== */
.cards-grid {
  display: grid;
  gap: 24px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
}

.card-white {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-dark {
  background: linear-gradient(135deg, #1a2e25 0%, var(--dark) 100%);
  color: white;
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-card {
  border-color: var(--green) !important;
  box-shadow: var(--shadow-green) !important;
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.card-white .card-icon-wrap {
  background: var(--green-light);
  color: var(--green);
}

.icon-gold {
  background: rgba(255, 215, 0, 0.15) !important;
  color: var(--gold-dark) !important;
}

.icon-white {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

/* ==================================
   FEATURE ROWS
   ================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse>* {
  direction: ltr;
}

.feature-image-wrap {
  position: relative;
}

.feature-image-card {
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.feature-image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.08), transparent 60%);
}

.green-gradient {
  background: linear-gradient(135deg, #003d20 0%, var(--green) 100%);
}

.gold-gradient {
  background: linear-gradient(135deg, #7a6000 0%, var(--gold) 60%, #ffec80 100%);
}

.blue-gradient {
  background: linear-gradient(135deg, #0a2540 0%, #1a5276 100%);
}

.dark-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #333 100%);
}

.feature-icon-large {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon-large svg {
  width: 56px;
  height: 56px;
}

.feature-stat-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  z-index: 1;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-number {
  font-size: 72px;
  font-weight: 900;
  color: var(--green-light);
  line-height: 0.8;
  letter-spacing: -0.05em;
  user-select: none;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.check-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==================================
   APP & SECURITY
   ================================== */
.app-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.app-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Phone Mockup */
.app-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 240px;
  background: #1a1a2e;
  border-radius: 36px;
  border: 8px solid #333;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 2px #444;
  overflow: hidden;
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 8px;
  background: #333;
  border-radius: 4px;
  z-index: 10;
}

.phone-screen {
  background: linear-gradient(160deg, #0d1f15 0%, #1a3a25 100%);
  padding: 32px 16px 16px;
  min-height: 420px;
}

/* App UI */
.app-ui {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.app-greeting {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.app-status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.app-power-gauge {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.gauge-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0deg, var(--green) 270deg, rgba(255, 255, 255, 0.1) 270deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gauge-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  background: #1a3a25;
  border-radius: 50%;
}

.gauge-value {
  font-size: 18px;
  font-weight: 800;
  color: white;
  z-index: 1;
  line-height: 1;
}

.gauge-label {
  font-size: 9px;
  color: var(--green);
  z-index: 1;
}

.app-metrics {
  display: flex;
  justify-content: space-between;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 10px;
}

.metric-icon {
  font-size: 16px;
}

.metric-val {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.metric-name {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

.app-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  padding: 0 4px;
}

.chart-bar {
  flex: 1;
  background: rgba(0, 168, 107, 0.3);
  border-radius: 4px 4px 0 0;
  transition: all 0.3s;
}

.chart-bar.active {
  background: var(--green);
}

/* App features */
.panel-content h3 {
  color: var(--dark);
  margin-bottom: 12px;
}

.panel-content p {
  color: var(--text-muted);
  line-height: 1.7;
}

.app-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  padding: 6px 14px;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* Security Cards */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: center;
}

.security-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.security-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}

.sec-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 12px;
}

.sec-icon svg {
  width: 22px;
  height: 22px;
}

.security-card h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.security-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================================
   PILLARS (Why Section)
   ================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.pillar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
}

.pillar-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.pillar-featured {
  border-color: var(--green) !important;
  background: linear-gradient(135deg, #f0fbf6 0%, white 100%);
}

.pillar-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
}

.pillar-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Trust Bar */
.trust-bar {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
  padding: 8px 40px;
}

.trust-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.trust-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

.trust-divider {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
}

/* ==================================
   TESTIMONIALS
   ================================== */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 4px;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.stars {
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 18px;
  line-height: 1.7;
  color: var(--dark-2);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  padding-left: 24px;
}

.testimonial-card blockquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--green), var(--gold));
  border-radius: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-light);
}

.author-info strong {
  display: block;
  font-size: 16px;
  color: var(--dark);
}

.author-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.t-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  font-size: 18px;
  color: var(--dark);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.t-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
}

.t-dot.active {
  background: var(--green);
  width: 28px;
  border-radius: 5px;
}

/* ==================================
   DEMO SECTION
   ================================== */
.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.demo-info {
  padding-top: 24px;
}

.demo-info h2 {
  margin-bottom: 0;
}

.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.demo-benefits li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-benefits li::before {
  /* overriding check-list */
  content: none;
}

.demo-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

/* Form Styles */
.form-row {
  display: flex;
  gap: 16px;
}

.two-col>.form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--dark);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green);
}

.form-check label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 32px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.form-success h4 {
  font-size: 22px;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-muted);
}

/* ==================================
   FAQ
   ================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(0, 168, 107, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color var(--transition);
  background: none;
}

.faq-question:hover {
  color: var(--green);
}

.faq-icon {
  font-size: 24px;
  color: var(--green);
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==================================
   CONTACT
   ================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* ==================================
   FOOTER
   ================================== */
.site-footer {
  background: var(--dark);
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo .logo-icon {
  color: var(--green);
  font-size: 26px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--green);
}

.newsletter-col p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-input-wrap {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

#newsletter-email {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 14px;
  color: white;
}

#newsletter-email::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

#newsletter-btn {
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

#newsletter-btn:hover {
  background: var(--green-dark);
  transform: scale(1.03);
}

.footer-compliance {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--green);
}

.sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ==================================
   PRICING SECTION
   ================================== */

/* Toggle */
.pricing-toggle {
  display: flex;
  gap: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 56px;
  box-shadow: var(--shadow);
}

.ptoggle-btn {
  padding: 11px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  background: none;
}

.ptoggle-btn.active {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3);
}

.ptoggle-btn:not(.active):hover {
  color: var(--green);
}

/* Inverter Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-5px);
}

/* Featured card (most popular) */
.pricing-card-featured {
  background: linear-gradient(160deg, #00873e 0%, var(--green) 60%, #00c97e 100%);
  border-color: transparent !important;
  color: white;
  box-shadow: 0 12px 40px rgba(0, 168, 107, 0.35);
  transform: translateY(-8px);
}

.pricing-card-featured:hover {
  transform: translateY(-14px);
}

/* Dark commercial card */
.pricing-card-dark {
  background: linear-gradient(160deg, #1a2e1f 0%, #243020 60%, var(--dark) 100%);
  border-color: transparent !important;
  color: white;
}

.pricing-card-dark:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-5px);
}

/* Popular tag */
.pricing-popular-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 20px;
  border-radius: 0 0 12px 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Card header */
.pricing-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-top: 12px;
}

.pricing-model-badge {
  display: inline-block;
  padding: 3px 12px;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.badge-white {
  background: rgba(255, 255, 255, 0.25) !important;
  color: white !important;
}

.badge-gold {
  background: var(--gold) !important;
  color: var(--dark) !important;
}

.pricing-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pricing-icon svg {
  width: 24px;
  height: 24px;
}

.icon-white-bg {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.icon-dark-bg {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--gold) !important;
}

.pricing-model-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 2px;
  line-height: 1.1;
}

.pricing-card-featured .pricing-model-name,
.pricing-card-dark .pricing-model-name {
  color: white;
}

.pricing-model-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card-featured .pricing-model-sub {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card-dark .pricing-model-sub {
  color: rgba(255, 255, 255, 0.55);
}

/* Price display */
.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-card-featured .pricing-price-wrap,
.pricing-card-dark .pricing-price-wrap {
  border-color: rgba(255, 255, 255, 0.15);
}

.pricing-from {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  align-self: center;
}

.pricing-card-featured .pricing-from,
.pricing-card-dark .pricing-from {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-amount {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-card-featured .pricing-amount {
  color: var(--gold);
}

.pricing-card-dark .pricing-amount {
  color: var(--gold);
}

.pricing-to {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  align-self: flex-end;
}

.pricing-card-featured .pricing-to,
.pricing-card-dark .pricing-to {
  color: rgba(255, 255, 255, 0.55);
}

/* Ideal for */
.pricing-ideal {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pricing-card-featured .pricing-ideal,
.pricing-card-dark .pricing-ideal {
  color: rgba(255, 255, 255, 0.7);
}

/* Feature list */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--dark-2);
  line-height: 1.5;
}

.pricing-card-featured .pricing-features li,
.pricing-card-dark .pricing-features li {
  color: rgba(255, 255, 255, 0.85);
}

.pf-check {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  background: var(--green-light);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card-featured .pf-check {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.pf-gold {
  background: rgba(255, 215, 0, 0.15) !important;
  color: var(--gold) !important;
}

.pf-dot {
  color: var(--text-light);
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
  width: 18px;
  text-align: center;
}

.pricing-card-dark .pf-dot {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-card-featured .pf-dot {
  color: rgba(255, 255, 255, 0.5);
}

/* Outline green button */
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn-outline-green:hover {
  background: var(--green);
  color: white;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 168, 107, 0.3);
}

/* ==================================
   BUNDLE PACKAGES
   ================================== */
.bundle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.bundle-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bundle-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.bundle-card-featured {
  background: linear-gradient(160deg, #00873e 0%, var(--green) 100%);
  border-color: transparent !important;
  color: white;
  box-shadow: 0 12px 40px rgba(0, 168, 107, 0.35);
}

.bundle-card-featured:hover {
  transform: translateY(-8px);
}

.bundle-popular-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bundle-chip {
  display: inline-block;
  padding: 4px 14px;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.bundle-chip.chip-white {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.bundle-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 6px 0 8px;
}

.bundle-card-featured .bundle-header h3 {
  color: white;
}

.bundle-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.bundle-card-featured .bundle-sub {
  color: rgba(255, 255, 255, 0.7);
}

.bundle-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 20px 0;
}

.bundle-card-featured .bundle-price {
  border-color: rgba(255, 255, 255, 0.2);
}

.bundle-from {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.bundle-card-featured .bundle-from {
  color: rgba(255, 255, 255, 0.6);
}

.bundle-amount {
  font-size: 26px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.02em;
}

.bundle-card-featured .bundle-amount {
  color: var(--gold);
}

.bundle-to {
  font-size: 14px;
  color: var(--text-muted);
}

.bundle-card-featured .bundle-to {
  color: rgba(255, 255, 255, 0.6);
}

.bundle-includes {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 12px;
}

.bundle-includes li {
  font-size: 13px;
  color: var(--dark-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bundle-card-featured .bundle-includes li {
  color: rgba(255, 255, 255, 0.85);
}

.bundle-note {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
}

.bundle-card-featured .bundle-note {
  color: rgba(255, 255, 255, 0.45);
}

/* ==================================
   PRICING NOTES BAR
   ================================== */
.pricing-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-note-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.pricing-note-item:last-child {
  border-right: none;
}

.pricing-note-item:hover {
  background: var(--green-light);
}

.pn-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.pn-icon svg {
  width: 20px;
  height: 20px;
}

.pricing-note-item strong {
  display: block;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 4px;
}

.pricing-note-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Responsive pricing */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-notes {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-note-item:nth-child(2) {
    border-right: none;
  }

  .pricing-note-item:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .pricing-note-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .bundle-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .pricing-notes {
    grid-template-columns: 1fr;
  }

  .pricing-note-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .pricing-note-item:last-child {
    border-bottom: none;
  }

  .pricing-toggle {
    width: 100%;
    justify-content: center;
  }

  .ptoggle-btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 24px 20px 28px;
  }

  .bundle-card {
    padding: 28px 20px;
  }
}

/* ==================================
   BACK TO TOP
   ================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 168, 107, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ==================================
   RESPONSIVE — 1024px
   ================================== */
@media (max-width: 1024px) {
  .three-col {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row {
    gap: 40px;
  }

  .app-security-grid {
    gap: 40px;
  }

  .demo-container {
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .trust-bar {
    gap: 0;
  }

  .trust-item {
    padding: 8px 24px;
  }

  .contact-grid {
    gap: 40px;
  }
}

/* ==================================
   RESPONSIVE — 768px
   ================================== */
@media (max-width: 768px) {
  :root {
    --container-px: 20px;
  }

  .section {
    padding: 72px 0;
  }

  /* Header */
  .hamburger {
    display: flex;
  }

  #header-demo-btn {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    background: white;
    z-index: 999;
    padding: 80px 32px 32px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 0;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: var(--green-light);
  }

  /* Hero */
  .hero-stats {
    flex-wrap: wrap;
    padding: 16px 20px;
    width: 100%;
  }

  .stat-item {
    padding: 8px 16px;
  }

  .stat-divider {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    text-align: center;
    justify-content: center;
  }

  /* Cards */
  .three-col {
    grid-template-columns: 1fr;
  }

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

  /* Feature rows */
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .feature-number {
    font-size: 48px;
  }

  /* App & Security */
  .app-security-grid {
    grid-template-columns: 1fr;
  }

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

  /* Demo */
  .demo-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-form-wrap {
    padding: 28px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Trust bar */
  .trust-bar {
    flex-direction: column;
    padding: 32px;
  }

  .trust-divider {
    width: 80%;
    height: 1px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 32px;
  }

  .testimonial-card blockquote {
    font-size: 16px;
  }
}

/* ==================================
   RESPONSIVE — 480px
   ================================== */
@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-content {
    padding: 60px var(--container-px);
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-card blockquote {
    font-size: 15px;
    padding-left: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .pillar-card {
    padding: 28px;
  }

  .form-row.two-col {
    flex-direction: column;
  }

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

  .stat-num {
    font-size: 22px;
  }

  .trust-num {
    font-size: 26px;
  }

  .demo-form-wrap {
    padding: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* ==================================
   ANIMATIONS & UTILITIES
   ================================== */
[data-aos] {
  transition-duration: 0.7s !important;
}

[data-aos="fade-right"] {
  transform: translateX(-30px) !important;
}

[data-aos="fade-left"] {
  transform: translateX(30px) !important;
}

[data-aos].aos-animate {
  transform: none !important;
}

/* Smooth hover on all cards */
.feature-card,
.security-card,
.pillar-card,
.testimonial-card {
  will-change: transform;
}

/* Focus visible styles for accessibility */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}