/*
Theme Name:  TruNXT Technologies
Theme URI:   https://trunxt.io
Author:      TruNXT Technologies
Author URI:  https://trunxt.io
Description: Custom theme for TruNXT Technologies — AI Automation & Business Solutions
Version:     1.2.0
License:     GNU General Public License v2 or later
Text Domain: trunxt
*/

/* ═══════════════════════════════════════════
   0. DESIGN TOKENS - TRUNXT BRAND COLORS
═══════════════════════════════════════════ */
:root {
  --bg:         #fefefe;   /* pure white background */
  --surface:    rgba(255, 255, 255, 0.8);   /* semi-transparent white */
  --card:       rgba(255, 255, 255, 0.9);   /* semi-transparent cards */
  --border:     rgba(0, 0, 0, 0.08);   /* ultra-light borders */
  
  /* TruNXT Brand Colors */
  --primary:    #00B386;   /* TruNXT Teal */
  --primary-light: #00D9A5;   /* TruNXT Light Teal */
  --primary-dark: #008F6B;   /* TruNXT Darker Teal */
  --green:      #00B386;   /* TruNXT Green */
  --green-dim:  rgba(0, 179, 134, 0.3);   /* TruNXT Green dimmed */
  
  --text:       #0F172A;   /* TruNXT Dark Text */
  --muted:      #374151;   /* TruNXT Gray Text */
  --soft:       #636E72;   /* TruNXT Muted */
  
  --accent:     #00C9A7;   /* Light Teal for CTAs */
  --success:    #16A34A;   /* Green for success */
  --warning:    #EF4444;   /* Red for warnings */

  --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm:  12px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --max-w:  1080px;
  --gap:    24px;
  
  /* Antigravity effects */
  --float-shadow: 0 8px 24px rgba(0, 163, 137, 0.1);
  --float-hover: translateY(-4px);
  --transition-speed: 0.4s;
  --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════
   1. RESET & BASE - MINIMALIST ANTIGRAVITY
═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f5 50%, #f8f9fa 100%);
  min-height: 100%;
}

/* Particle canvas background - subtle and performant */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

body {
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Antigravity floating base */
.floating-element {
  transition: all var(--transition-speed) var(--transition-ease);
  will-change: transform, box-shadow;
}

.floating-element:hover {
  transform: var(--float-hover);
  box-shadow: var(--float-shadow);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-speed) var(--transition-ease);
  position: relative;
  outline: none;
}

a:hover,
a:focus {
  color: var(--primary);
  opacity: 0.8;
}

a:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-light);
  border-radius: 2px;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-speed) var(--transition-ease);
}

a:hover::after {
  transform: scaleX(1);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Minimalist container with subtle border */
.container-border {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Antigravity card effect */
.antigravity-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: var(--float-shadow);
  transition: all var(--transition-speed) var(--transition-ease);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
}

.antigravity-card:hover {
  transform: var(--float-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ═══════════════════════════════════════════
   2. TYPOGRAPHY - MINIMALIST WITH CHARACTER
═══════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(28px, 8vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(22px, 6vw, 48px);
  font-weight: 500;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}

h4 {
  font-size: 16px;
  font-weight: 500;
}

p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 16px;
  max-width: 65ch;
}

p:last-child {
  margin-bottom: 0;
}

/* Minimalist eyebrow with subtle animation */
.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 20px;
  opacity: 0.8;
  transition: opacity var(--transition-speed) var(--transition-ease);
}

.eyebrow:hover {
  opacity: 1;
}

.eyebrow::before {
  display: none;
}

/* Minimalist section label */
.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 1px;
  opacity: 0.6;
}

.text-center {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
}

/* Text highlight effect */

/* ═══════════════════════════════════════════
   3. LAYOUT UTILITIES
═══════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin:    0 auto;
  padding:   0 32px;
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section.wp-block { padding: 80px 0; }

/* ═══════════════════════════════════════════
   4. BUTTONS - ANTIGRAVITY FLOATING EFFECTS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: all var(--transition-speed) var(--transition-ease);
  border: none;
  text-decoration: none;
  border-radius: 50px; /* Pill shape for Antigravity feel */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-light), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn:active {
  transform: translateY(-1px);
}

/* Primary button - Teal with Antigravity effect */
.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Secondary button - Teal */
.btn-secondary {
  background: var(--accent);
  color: white;
}

.btn-secondary:hover {
  background: var(--primary-dark);
}

/* Outline button - minimalist with floating effect */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(26, 115, 232, 0.2);
  box-shadow: none;
}

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

/* Button with icon */
.btn-with-icon {
  gap: 8px;
}

.btn-with-icon svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-speed) var(--transition-ease);
}

.btn-with-icon:hover svg {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   5. NAVIGATION - CLEAN ALIGNED DESIGN
═══════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  height: 64px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.site-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.site-logo .brand {
  color: var(--primary);
}

.site-logo .technologies {
  color: var(--text);
  font-weight: 400;
  font-size: 0.9em;
  margin-left: 2px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu .current-menu-item a {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  transform: scaleX(1);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn {
  white-space: nowrap;
}

/* Hide mobile-only CTA item on desktop */
.nav-menu .menu-cta {
  display: none;
}

/* Mobile hamburger menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
  margin-left: auto;
}

.nav-toggle:hover {
  background: var(--primary-light);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform 0.3s ease;
}

/* Fix for mobile gap issue */
@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }
  
  #site-header {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    transform: none;
    padding: 0;
  }
  
  .nav-inner {
    padding: 0 16px;
    width: 100%;
  }
  
  .nav-toggle {
    margin-left: auto;
    flex-shrink: 0;
  }
}

/* ═══════════════════════════════════════════
   6. HERO - ANTIGRAVITY MINIMALIST
═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  position: relative;
  background: transparent;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
}

/* Floating background elements - removed for cleaner look with particles */
/*
#hero::before,
#hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 163, 137, 0.03);
  z-index: 0;
}
*/

#hero::before {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

#hero::after {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  background: rgba(0, 163, 137, 0.02);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-inner h1 {
  margin-bottom: 32px;
  line-height: 1.05;
  width: 100%;
}

.hero-inner h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  width: 100%;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
  text-align: center;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  width: 100%;
}

/* Floating trust indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.trust-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-speed) var(--transition-ease);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-text {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

/* ═══════════════════════════════════════════
   7. PROBLEM SECTION - MINIMALIST FLOATING CARDS
═══════════════════════════════════════════ */
#problem {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

#problem::before {
  display: none;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin: 40px 0 60px;
}

.problem-card {
  padding: 28px 24px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.problem-card p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.problem-card svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  color: var(--primary);
}

/* ═══════════════════════════════════════════
   8. HOW IT WORKS - MINIMALIST STEPS
═══════════════════════════════════════════ */
#how-it-works {
  padding: 120px 0;
  background: transparent;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin: 40px 0;
}

.flow-item {
  padding: 32px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.flow-num {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
  opacity: 0.6;
}

.flow-body strong {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.flow-body span {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   9. SERVICES - MINIMALIST FLOATING GRID
═══════════════════════════════════════════ */
#services {
  padding: 120px 0;
  background: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin: 40px 0;
}

.service-card {
  padding: 32px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.service-icon {
  font-size: 28px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ═══════════════════════════════════════════
   10. USE CASES LIST
═══════════════════════════════════════════ */
#use-cases { 
  padding: 100px 0; 
  background: transparent; 
}

.use-list {
  list-style:            none;
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   12px;
  margin: 32px 0;
}
.use-list li {
  display:    flex;
  gap:        12px;
  align-items: flex-start;
  font-size:  16px;
  color:      var(--soft);
  padding:    18px 20px;
  border:     1px solid var(--border);
  background: var(--card);
  transition: border-color .2s;
}
.use-list li:hover { border-color: var(--green-dim); }
.use-list li::before {
  content:     '→';
  color:       var(--green);
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   11. PROMISE / VALUE PROPS
═══════════════════════════════════════════ */
#what-you-get { 
  padding: 100px 0; 
  background: transparent; 
}

.promise-row {
  display: flex;
  gap: var(--gap);
  margin: 40px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.promise-item {
  background: var(--card);
  padding: 28px 20px;
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.promise-icon {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--primary);
  display: block;
  text-align: center;
}
.promise-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 6px;
  text-align: center;
}
.promise-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* ═══════════════════════════════════════════
   12. WHY TRUNXT
═══════════════════════════════════════════ */
#why-us { 
  padding: 100px 0; 
  background: transparent; 
}

.why-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   var(--gap);
  background:            var(--border);
  margin-top: 40px;
}
.why-item {
  background: var(--card);
  padding:    32px 28px;
  display:    flex;
  gap:        18px;
  align-items: flex-start;
}
.why-num {
  font-family: var(--font-head);
  font-size:   32px;
  font-weight: 800;
  color:       var(--green);
  flex-shrink: 0;
  line-height: 1;
  margin-top:  2px;
}
.why-body h3 { font-size: 15px; margin-bottom: 8px; }
.why-body p  { font-size: 15px; color: var(--soft); }

/* ═══════════════════════════════════════════
   13. CTA BANNER - MINIMALIST FLOATING
═══════════════════════════════════════════ */
#cta-banner {
  padding: 80px 0;
  background: transparent;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px;
}

.cta-text-block h2 {
  font-size: clamp(24px, 5vw, 36px);
  color: var(--text);
  margin-bottom: 12px;
}

.cta-text-block p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   14. CONTACT SECTION - MINIMALIST
═══════════════════════════════════════════ */
#contact {
  padding: 120px 0;
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-details h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-details p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-item {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
}

.ci-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  color: var(--primary);
}

.ci-text strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
}

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

/* Minimalist form */
.contact-form {
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all var(--transition-speed) var(--transition-ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

#form-success {
  display: none;
  margin-top: 16px;
  color: var(--success);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ═══════════════════════════════════════════
   15. FOOTER
═══════════════════════════════════════════ */
#site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding:    60px 0 28px;
}

.footer-grid {
  display:               grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap:                   48px;
  margin-bottom:         48px;
}
.footer-brand p {
  font-size:   13px;
  color:       var(--muted);
  margin-top:  12px;
  max-width:   280px;
}
.footer-brand .site-logo {
  font-size: 20px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text);
  margin-top: 8px;
  font-weight: 500;
}
.footer-col h4 {
  font-family:    var(--font-head);
  font-size:      11px;
  font-weight:    700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          var(--soft);
  margin-bottom:  16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size:  13px;
  color:      var(--muted);
  transition: color .2s;
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--green); opacity: 1; }

.footer-bottom {
  border-top:  1px solid var(--border);
  padding-top: 24px;
  display:     flex;
  justify-content: space-between;
  align-items: center;
  font-size:   12px;
  color:       var(--muted);
  flex-wrap:   wrap;
  gap:         12px;
}
.social-links { display: flex; gap: 8px; }
.social-links a {
  width:           32px;
  height:          32px;
  background:      var(--card);
  border:          1px solid var(--border);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       11px;
  font-weight:     700;
  color:           var(--muted);
  font-family:     var(--font-head);
  transition:      border-color .2s, color .2s;
  text-decoration: none;
}
.social-links a:hover { border-color: var(--primary); color: var(--primary); opacity: 1; }

/* ═══════════════════════════════════════════
   16. RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .problem-cards,
  .services-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 900px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Mobile navigation - fix gap issue */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-right: 0;
  }
  
  .nav-menu,
  .nav-cta {
    display: none;
  }
  
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 998;
    margin: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-menu.open .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-menu.open a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
  }
  
  .nav-menu.open a:hover {
    background: var(--primary-light);
  }
  
  /* nav-cta is always hidden on mobile — CTA appears in dropdown via .menu-cta */

  /* Mobile "Get Started" in dropdown */
  .nav-menu.open .menu-cta {
    display: block;
  }

  .nav-menu.open .menu-cta > a::after {
    display: none;
  }

  .nav-menu.open .menu-cta > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    padding: 10px 16px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
  }

  /* Hostinger grid optimizations */
  .flow-grid,
  .use-list,
  .why-grid,
  .problem-cards,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .promise-row {
    flex-direction: column;
    gap: 16px;
  }

  .promise-item {
    flex: none;
    width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Hostinger mobile spacing */
  .container,
  .container--narrow {
    padding: 0 16px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  section.wp-block {
    padding: 50px 0;
  }
  
  /* Mobile hero optimizations for Hostinger */
  #hero {
    padding: 60px 0 40px;
    min-height: auto;
  }
  
  #hero .hero-inner {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-inner h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
  
  /* Trust indicators mobile layout */
  .trust-indicators {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .trust-indicator {
    white-space: normal;
    flex-shrink: 1;
  }
  
  /* Hostinger-specific mobile nav adjustment */
  #site-header {
    height: auto;
    min-height: 56px;
    width: 100%;
    padding: 8px 8px;
  }

  .nav-inner {
    padding: 6px 12px;
  }

  .btn,
  .btn-primary {
    min-height: 44px;
  }

  /* Section padding reduced for mobile */
  body { font-size: 16px; padding-top: 72px !important; }

  #problem,
  #how-it-works,
  #services,
  #use-cases,
  #what-you-get,
  #why-us,
  #contact {
    padding: 60px 0;
  }
}

/* ════╕═════════════════════════════════════════
   17. HOSTINGER-SPECIFIC OPTIMIZATIONS
══════════════════════════════════════════ */
/* LiteSpeed cache-friendly optimizations */
html {
  scroll-behavior: smooth;
}

/* Critical CSS optimization for Hostinger */
body {
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: 64px;
}

/* Ensure first section is not hidden behind fixed header */
#hero,
#problem,
#how-it-works,
#services,
#use-cases,
#what-you-get,
#why-us,
#cta-banner,
#contact {
  scroll-margin-top: 80px;
}

/* Hostinger-specific performance tweaks */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optimize for Hostinger's LiteSpeed caching */
#site-header, .btn, .antigravity-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Hostinger image optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img.lazyloaded {
  opacity: 1;
}

/* Critical above-the-fold CSS for Hostinger */
.above-fold {
  content-visibility: auto;
}

.below-fold {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════
   18. WORDPRESS CORE OVERRIDES
═══════════════════════════════════════════ */
.wp-block-image img { height: auto; }
.aligncenter { text-align: center; }
.alignleft   { float: left; margin-right: 1.5rem; }
.alignright  { float: right; margin-left: 1.5rem; }

/* Admin bar offset */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

/* ==========================================================================
   HOSTINGER WORDPRESS OPTIMIZATION NOTES
   ==========================================================================
   
   WORDPRESS-SPECIFIC OPTIMIZATIONS FOR HOSTINGER:
   
   1. LiteSpeed Cache Plugin Configuration:
      - Enable CSS/JS Combine & Minify
      - Enable CSS/JS Defer
      - Enable HTML Minify
      - Enable Lazy Load Images
      - Enable Browser Cache
   
   2. Hostinger Object Cache:
      - Enable Redis Object Cache
      - Set TTL to 3600 seconds
      - Enable cache for transients
   
   3. Recommended Hostinger Plugins:
      - LiteSpeed Cache (essential)
      - Hostinger WP Optimizer
      - Autoptimize (with Hostinger settings)
      - Smush (for image optimization)
   
   4. Hostinger hPanel Settings:
      - Enable Brotli compression
      - Enable HTTP/2
      - Enable OPcache
      - Set PHP to 8.1 or higher
      - Enable GZIP compression
   
   5. WordPress Config for Hostinger:
      define('WP_CACHE', true);
      define('WP_MEMORY_LIMIT', '256M');
      define('WP_MAX_MEMORY_LIMIT', '512M');
      define('DISABLE_WP_CRON', true);
   
   6. Hostinger CDN Setup:
      - Enable Hostinger CDN in hPanel
      - Exclude: /wp-admin/, /wp-json/, /xmlrpc.php
      - Set cache TTL to 1 day
   
   PERFORMANCE EXPECTATIONS ON HOSTINGER:
   - GTmetrix: 90-95% (with caching)
   - PageSpeed: 85-92% (mobile)
   - Load Time: 0.5-1.2s (cached)
   - TTFB: 100-300ms (with LiteSpeed)
   
   TROUBLESHOOTING FOR HOSTINGER:
   - Clear LiteSpeed cache after updates
   - Disable query monitor on production
   - Use Hostinger's staging for testing
   - Check hPanel > Advanced > PHP Info for optimizations
   ========================================================================== */

/* Lazy loading for images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].lazyloaded {
  opacity: 1;
}
