/* ═══════════════════════════════════════════════════════════════════════════
   GOD MODE CSS — INX System Solution
   Comprehensive overlay: theme fixes, responsiveness, animations, effects
   ═══════════════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════════════
   1. GLOBAL THEME TRANSITION — smooth toggle between dark / light
   ═══════════════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  transition:
    background-color 0.35s cubic-bezier(0.4,0,0.2,1),
    color 0.3s cubic-bezier(0.4,0,0.2,1),
    border-color 0.3s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.3s cubic-bezier(0.4,0,0.2,1),
    fill 0.3s ease;
}

/* Exclude elements where transition interferes with purpose */
.btn::before,
.btn::after,
.toggle-slider::before,
.hamburger span,
.skeleton,
[class*="animate-"],
canvas,
video,
.no-transition,
.no-transition * {
  transition: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   2. DARK / LIGHT MODE FIXES — Full coverage
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Body & Root Background ──────────────────────────────────────────── */
body {
  background-color: var(--theme-bg-deep, #020817);
  color: var(--theme-text, #E2E8F0);
}
html.light-mode body {
  background-color: var(--theme-bg-deep, #F8FAFC);
  color: var(--theme-text, #0F172A);
}

/* ─── Card Backgrounds ────────────────────────────────────────────────── */
html.light-mode .glass-card,
html.light-mode .product-card,
html.light-mode .feat-card,
html.light-mode .plan-card,
html.light-mode .pricing-card,
html.light-mode .info-card,
html.light-mode .form-card,
html.light-mode .enterprise-card,
html.light-mode .service-card,
html.light-mode .testimonial-card,
html.light-mode .stat-item {
  background: var(--theme-bg-card, rgba(255,255,255,0.85));
  border-color: var(--theme-border, rgba(148,163,184,0.2));
  color: var(--theme-text, #0F172A);
}
html.light-mode .glass-card:hover,
html.light-mode .product-card:hover,
html.light-mode .feat-card:hover,
html.light-mode .plan-card:hover {
  border-color: var(--theme-border-hover, rgba(59,130,246,0.3));
  box-shadow: var(--theme-shadow, 0 4px 24px rgba(0,0,0,0.08));
}

/* ─── Text Colors ─────────────────────────────────────────────────────── */
html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4,
html.light-mode h5,
html.light-mode h6,
html.light-mode .plan-name,
html.light-mode .product-name,
html.light-mode .section-title,
html.light-mode .feat-card h3 {
  color: var(--theme-text, #0F172A);
}
html.light-mode p,
html.light-mode .product-short,
html.light-mode .plan-tagline,
html.light-mode .feat-card p,
html.light-mode .section-sub,
html.light-mode .hero p,
html.light-mode .page-hero p,
html.light-mode .plan-features li,
html.light-mode .product-features li,
html.light-mode .footer-brand p {
  color: var(--theme-text-muted, #475569);
}
html.light-mode .spec-item .spec-label,
html.light-mode .price-period {
  color: var(--theme-text-dim, #94A3B8);
}
html.light-mode .spec-item .spec-val {
  color: var(--theme-text, #0F172A);
}

/* ─── Spec Items (plan cards) ─────────────────────────────────────────── */
html.light-mode .spec-item,
html.light-mode .spec {
  background: rgba(0,0,0,0.03);
  border-color: var(--theme-border, rgba(148,163,184,0.2));
}

/* ─── Form Inputs, Textareas, Selects ─────────────────────────────────── */
html.light-mode .form-control,
html.light-mode input[type="text"],
html.light-mode input[type="email"],
html.light-mode input[type="password"],
html.light-mode input[type="tel"],
html.light-mode input[type="url"],
html.light-mode input[type="number"],
html.light-mode input[type="search"],
html.light-mode input[type="date"],
html.light-mode textarea,
html.light-mode select {
  background: var(--theme-bg-input, rgba(0,0,0,0.03));
  border-color: var(--theme-border, rgba(148,163,184,0.2));
  color: var(--theme-text, #0F172A);
}
html.light-mode .form-control:focus,
html.light-mode input:focus,
html.light-mode textarea:focus,
html.light-mode select:focus {
  border-color: var(--theme-accent, #3B82F6);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
  background: rgba(59,130,246,0.04);
}
html.light-mode .form-control::placeholder,
html.light-mode input::placeholder,
html.light-mode textarea::placeholder {
  color: var(--theme-text-dim, #94A3B8);
}

/* ─── Tables ──────────────────────────────────────────────────────────── */
html.light-mode .table th {
  background: rgba(0,0,0,0.03);
  color: var(--theme-text-muted, #475569);
  border-bottom-color: var(--theme-border, rgba(148,163,184,0.2));
}
html.light-mode .table td {
  color: var(--theme-text, #0F172A);
  border-bottom-color: var(--theme-border, rgba(148,163,184,0.15));
}
html.light-mode .table tr:hover td {
  background: rgba(59,130,246,0.04);
}
html.light-mode .table-wrap {
  border-color: var(--theme-border, rgba(148,163,184,0.2));
}

/* ─── Modal ───────────────────────────────────────────────────────────── */
html.light-mode .modal-overlay {
  background: rgba(0,0,0,0.35);
}
html.light-mode .modal {
  background: var(--theme-bg-card, rgba(255,255,255,0.95));
  border-color: var(--theme-border, rgba(148,163,184,0.2));
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ─── Dropdown Menus ──────────────────────────────────────────────────── */
html.light-mode .dropdown-menu,
html.light-mode [class*="dropdown"] ul {
  background: var(--theme-bg-card, rgba(255,255,255,0.95));
  border-color: var(--theme-border, rgba(148,163,184,0.2));
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
html.light-mode .dropdown-item,
html.light-mode .dropdown-menu a {
  color: var(--theme-text, #0F172A);
}
html.light-mode .dropdown-item:hover,
html.light-mode .dropdown-menu a:hover {
  background: rgba(59,130,246,0.06);
  color: var(--theme-accent, #3B82F6);
}

/* ─── Code Blocks / Pre ───────────────────────────────────────────────── */
html.light-mode pre,
html.light-mode code,
html.light-mode .code-block,
html.light-mode kbd {
  background: rgba(0,0,0,0.05);
  color: var(--theme-text, #0F172A);
  border-color: var(--theme-border, rgba(148,163,184,0.2));
}
pre, code {
  background: rgba(255,255,255,0.04);
  color: var(--theme-text, #E2E8F0);
  border-radius: var(--theme-radius, 8px);
  padding: 0.15em 0.4em;
  font-family: var(--theme-font-mono, 'JetBrains Mono', monospace);
  font-size: 0.88em;
}
pre {
  padding: 1rem 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--theme-border, rgba(99,179,237,0.15));
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
html.light-mode .footer {
  background: var(--theme-bg-footer, rgba(241,245,249,0.95));
  border-top-color: var(--theme-border, rgba(148,163,184,0.2));
}
html.light-mode .footer-col h4 {
  color: var(--theme-text, #0F172A);
}
html.light-mode .footer-links a {
  color: var(--theme-text-muted, #475569);
}
html.light-mode .footer-links a:hover {
  color: var(--theme-accent, #3B82F6);
}
html.light-mode .footer-bottom {
  border-top-color: var(--theme-border, rgba(148,163,184,0.2));
}
html.light-mode .footer-bottom p {
  color: var(--theme-text-dim, #94A3B8);
}
html.light-mode .social-btn {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.12);
  color: var(--theme-text-muted, #475569);
}

/* ─── Status Badges ───────────────────────────────────────────────────── */
html.light-mode .badge-primary {
  background: rgba(59,130,246,0.1);
  color: #2563EB;
  border-color: rgba(59,130,246,0.2);
}
html.light-mode .badge-success {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border-color: rgba(16,185,129,0.2);
}
html.light-mode .badge-warning {
  background: rgba(245,158,11,0.1);
  color: #D97706;
  border-color: rgba(245,158,11,0.2);
}
html.light-mode .badge-danger {
  background: rgba(239,68,68,0.1);
  color: #DC2626;
  border-color: rgba(239,68,68,0.2);
}
html.light-mode .badge-purple {
  background: rgba(139,92,246,0.1);
  color: #7C3AED;
  border-color: rgba(139,92,246,0.2);
}

/* ─── Alerts / Notification Boxes ─────────────────────────────────────── */
html.light-mode .alert-info {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.15);
  color: #2563EB;
}
html.light-mode .alert-success {
  background: rgba(16,185,129,0.06);
  border-color: rgba(16,185,129,0.15);
  color: #059669;
}
html.light-mode .alert-warning {
  background: rgba(245,158,11,0.06);
  border-color: rgba(245,158,11,0.15);
  color: #D97706;
}
html.light-mode .alert-danger {
  background: rgba(239,68,68,0.06);
  border-color: rgba(239,68,68,0.15);
  color: #DC2626;
}

/* ─── Category Tabs (produkte.php) ────────────────────────────────────── */
html.light-mode .cat-tab {
  color: var(--theme-text-muted, #475569);
  border-color: var(--theme-border, rgba(148,163,184,0.2));
  background: transparent;
}
html.light-mode .cat-tab:hover {
  border-color: var(--theme-accent, #3B82F6);
  color: var(--theme-accent, #3B82F6);
}
html.light-mode .cat-tab.active {
  background: var(--theme-accent, #3B82F6);
  color: #fff;
  border-color: var(--theme-accent, #3B82F6);
}

/* ─── Cat Header + Icon ───────────────────────────────────────────────── */
html.light-mode .cat-icon {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.15);
}
html.light-mode .cat-header h2 {
  color: var(--theme-text, #0F172A);
}

/* ─── Featured Badge (product card) ───────────────────────────────────── */
html.light-mode .featured-badge {
  box-shadow: 0 2px 12px rgba(139,92,246,0.2);
}

/* ─── Plan features list lines ────────────────────────────────────────── */
html.light-mode .plan-features li {
  border-bottom-color: rgba(0,0,0,0.05);
}
html.light-mode .product-features li {
  color: var(--theme-text-muted, #475569);
}

/* ─── Recommended Plan Cards ──────────────────────────────────────────── */
html.light-mode .plan-card.recommended,
html.light-mode .plan-card.recommended-blue {
  border-color: var(--theme-accent, #3B82F6);
  box-shadow: 0 0 0 1px var(--theme-accent, #3B82F6), 0 4px 24px rgba(59,130,246,0.12);
}
html.light-mode .plan-card.recommended-purple {
  border-color: #8B5CF6;
  box-shadow: 0 0 0 1px #8B5CF6, 0 4px 24px rgba(139,92,246,0.12);
}

/* ─── Tabs Component ──────────────────────────────────────────────────── */
html.light-mode .tabs {
  border-bottom-color: var(--theme-border, rgba(148,163,184,0.2));
}
html.light-mode .tab {
  color: var(--theme-text-muted, #475569);
}
html.light-mode .tab:hover {
  color: var(--theme-text, #0F172A);
}
html.light-mode .tab.active {
  color: var(--theme-accent, #3B82F6);
}

/* ─── Toggle Switch ───────────────────────────────────────────────────── */
html.light-mode .toggle-slider {
  background: rgba(0,0,0,0.06);
  border-color: var(--theme-border, rgba(148,163,184,0.2));
}
html.light-mode .toggle-slider::before {
  background: var(--theme-text-dim, #94A3B8);
}

/* ─── Progress Bar Track ──────────────────────────────────────────────── */
html.light-mode .progress {
  background: rgba(0,0,0,0.06);
}

/* ─── Tooltips ────────────────────────────────────────────────────────── */
html.light-mode [data-tooltip]::after {
  background: var(--theme-bg-card, rgba(255,255,255,0.95));
  border-color: var(--theme-border, rgba(148,163,184,0.2));
  color: var(--theme-text, #0F172A);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ─── Section Tag ─────────────────────────────────────────────────────── */
html.light-mode .section-tag {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.2);
}

/* ─── Hero Sections ───────────────────────────────────────────────────── */
html.light-mode .hero h1,
html.light-mode .page-hero h1 {
  /* Keep gradient text visible in light mode */
  filter: brightness(0.85) saturate(1.3);
}

/* ─── Grid Overlay & BG Canvas in Light Mode ──────────────────────────── */
html.light-mode .grid-overlay,
html.light-mode .bg-grid {
  opacity: 0.3;
}
html.light-mode .bg-canvas {
  opacity: 0.5;
}

/* ─── Enterprise Card ─────────────────────────────────────────────────── */
html.light-mode .enterprise-card {
  background: linear-gradient(135deg, rgba(139,92,246,0.06), rgba(59,130,246,0.04));
  border-color: rgba(139,92,246,0.15);
}

/* ─── Nav Links in Light Mode ─────────────────────────────────────────── */
html.light-mode .nav-links a {
  color: var(--theme-text-muted, #475569);
}
html.light-mode .nav-links a:hover,
html.light-mode .nav-links a.active {
  color: var(--theme-text, #0F172A);
}

/* ─── Divider ─────────────────────────────────────────────────────────── */
html.light-mode .divider {
  background: linear-gradient(90deg, transparent, var(--theme-border, rgba(148,163,184,0.25)), transparent);
}

/* ─── Scrollbar Light Mode ────────────────────────────────────────────── */
html.light-mode ::-webkit-scrollbar-track {
  background: #F1F5F9;
}
html.light-mode ::-webkit-scrollbar-thumb {
  background: #94A3B8;
}
html.light-mode ::-webkit-scrollbar-thumb:hover {
  background: #64748B;
}

/* ─── Checkbox / Radio Labels ─────────────────────────────────────────── */
html.light-mode .checkbox-group label,
html.light-mode .form-check-label {
  color: var(--theme-text-muted, #475569);
}

/* ─── Contact Page Info Cards ─────────────────────────────────────────── */
html.light-mode .info-card {
  background: var(--theme-bg-card, rgba(255,255,255,0.85));
  border-color: var(--theme-border, rgba(148,163,184,0.2));
}
html.light-mode .info-card h3 {
  color: var(--theme-text, #0F172A);
}
html.light-mode .info-card p,
html.light-mode .info-card a {
  color: var(--theme-text-muted, #475569);
}

/* ─── Submit Button styles ────────────────────────────────────────────── */
html.light-mode .submit-btn {
  box-shadow: 0 2px 12px rgba(59,130,246,0.2);
}

/* ─── Response / Hero Badges ──────────────────────────────────────────── */
html.light-mode .response-badge,
html.light-mode .hero-badge {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.15);
  color: #2563EB;
}


/* ═══════════════════════════════════════════════════════════════════════════
   3. MOBILE RESPONSIVENESS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet & Small Desktop (max-width: 1024px) ───────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid,
  .pricing-grid-2,
  .pricing-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .enterprise-card {
    flex-direction: column;
    text-align: center;
  }
  .enterprise-card .btn {
    align-self: center;
  }
  .enterprise-features {
    justify-content: center;
  }
}

/* ── Mobile (max-width: 768px) ────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Pricing grids to single column */
  .pricing-grid,
  .pricing-grid-2,
  .pricing-grid-3,
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  /* Feature grids stack */
  .features-row {
    grid-template-columns: 1fr !important;
  }

  /* Cards should not overflow viewport */
  .glass-card,
  .product-card,
  .plan-card,
  .feat-card,
  .pricing-card,
  .enterprise-card,
  .info-card,
  .form-card {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
  }

  /* Font size scaling */
  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }
  .hero p,
  .page-hero p {
    font-size: 0.95rem;
  }
  .section-title {
    font-size: clamp(1.25rem, 4vw, 1.6rem) !important;
  }
  .plan-price {
    font-size: 1.8rem;
  }
  .price-amount {
    font-size: 1.8rem;
  }

  /* Hero sections less padding */
  .hero,
  .page-hero {
    padding: 5rem 0 2.5rem !important;
  }
  section {
    padding: 3rem 0;
  }

  /* Spec grids stack vertically */
  .spec-grid {
    grid-template-columns: 1fr !important;
  }

  /* Navigation fully mobile-friendly — handled by hamburger already */
  .nav-inner {
    padding: 0 1rem;
  }

  /* Tables scroll horizontally */
  .table-wrap,
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table {
    min-width: 600px;
  }

  /* Footer grid stacks */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  /* Footer bottom stacks */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  /* Form rows single column */
  .form-row {
    grid-template-columns: 1fr !important;
  }

  /* Category tabs scroll */
  .cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0.4rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-tabs::-webkit-scrollbar {
    display: none;
  }
  .cat-tab {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
  }

  /* Enterprise card */
  .enterprise-card {
    padding: 1.5rem;
    text-align: center;
  }
  .enterprise-card h3 {
    font-size: 1.15rem;
  }

  /* Plan card adjustments */
  .plan-card {
    padding: 1.5rem;
  }
  .plan-rec-badge,
  .plan-rec-badge-blue,
  .plan-rec-badge-purple {
    font-size: 0.7rem;
    padding: 0.15rem 0.75rem;
  }

  /* Product specs wrap */
  .product-specs {
    gap: 0.5rem;
  }

  /* Stat items */
  .stat-item {
    padding: 1rem;
  }

  /* Testimonial cards */
  .testimonial-card {
    padding: 1.25rem;
  }

  /* Pricing section labels */
  .pricing-section-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Address section in footer */
  .address-section {
    padding: 2rem 1rem;
  }

  /* Payment icons in footer */
  .footer-payments {
    justify-content: flex-start;
    gap: 0.4rem;
  }
  .payment-icon {
    height: 24px;
    font-size: 0.62rem;
    padding: 0 0.4rem;
  }
}

/* ── Small Mobile (max-width: 480px) ──────────────────────────────────── */
@media (max-width: 480px) {
  /* Even more compact layouts */
  .container {
    padding: 0 1rem;
  }

  /* Reduce all padding/margins */
  .hero,
  .page-hero {
    padding: 4rem 0 2rem !important;
  }
  section {
    padding: 2rem 0;
  }
  .glass-card,
  .plan-card,
  .product-card,
  .feat-card {
    padding: 1.25rem;
  }

  /* Smaller headings */
  .hero h1,
  .page-hero h1 {
    font-size: 1.5rem !important;
  }
  .section-title {
    font-size: 1.15rem !important;
  }
  .plan-price {
    font-size: 1.6rem;
  }
  .price-amount {
    font-size: 1.6rem;
  }

  /* Product card tweaks */
  .product-name {
    font-size: 1rem;
  }
  .product-short {
    font-size: 0.8rem;
  }
  .product-features li,
  .plan-features li {
    font-size: 0.82rem;
  }

  /* Button sizing */
  .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
  }
  .btn-lg {
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
  }

  /* Product specs even more compact */
  .product-specs {
    flex-direction: column;
  }

  /* Nav inner */
  .nav-inner {
    padding: 0 0.75rem;
  }
  .nav-logo span {
    font-size: 0.9rem;
  }

  /* Footer compact */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  .footer-col h4 {
    font-size: 0.85rem;
  }
  .footer-links a {
    font-size: 0.78rem;
  }

  /* Enterprise card */
  .enterprise-card {
    padding: 1.25rem;
  }
  .enterprise-features {
    gap: 0.75rem;
  }

  /* Badge sizing */
  .badge,
  .badge-purple {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  /* Testimonial */
  .testimonial-card img {
    width: 60px;
    height: 60px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   4. KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Entrance Animations ─────────────────────────────────────────────── */
@keyframes godFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes godFadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes godFadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes godFadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes godScaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* ─── CTA Glow Pulse ─────────────────────────────────────────────────── */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(59,130,246,0.3); }
  50%      { box-shadow: 0 0 35px rgba(59,130,246,0.5), 0 0 60px rgba(59,130,246,0.15); }
}

/* ─── Shimmer / Loading Highlight ─────────────────────────────────────── */
@keyframes godShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─── Float — Gentle hover for icons ──────────────────────────────────── */
@keyframes godFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ─── Gradient Shift — Animated background gradients ──────────────────── */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── Typewriter Cursor Blink ─────────────────────────────────────────── */
@keyframes typewriterBlink {
  0%, 100% { border-right-color: transparent; }
  50%      { border-right-color: var(--theme-accent, #3B82F6); }
}

/* ─── Border Glow ─────────────────────────────────────────────────────── */
@keyframes borderGlow {
  0%, 100% { border-color: var(--theme-border, rgba(99,179,237,0.15)); }
  50%      { border-color: var(--theme-accent, #3B82F6); }
}

/* ─── Count Up Entrance ───────────────────────────────────────────────── */
@keyframes countUpEntrance {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Subtle Pulse for Badges ─────────────────────────────────────────── */
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

/* ─── Spin animation ──────────────────────────────────────────────────── */
@keyframes godSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── Slide In from Bottom (for footer) ───────────────────────────────── */
@keyframes slideInBottom {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Ripple Effect ───────────────────────────────────────────────────── */
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ─── Underline Expand ────────────────────────────────────────────────── */
@keyframes underlineExpand {
  from { width: 0; }
  to   { width: 100%; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   5. APPLYING ANIMATIONS TO ELEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero Sections ───────────────────────────────────────────────────── */
.hero > .container > *,
.page-hero > .container > * {
  animation: godFadeInUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.hero > .container > *:nth-child(1) { animation-delay: 0.1s; }
.hero > .container > *:nth-child(2) { animation-delay: 0.2s; }
.hero > .container > *:nth-child(3) { animation-delay: 0.3s; }
.hero > .container > *:nth-child(4) { animation-delay: 0.4s; }

/* ─── Cards: Hover Scale + Shadow ─────────────────────────────────────── */
.glass-card,
.product-card,
.feat-card,
.plan-card,
.pricing-card,
.info-card,
.service-card,
.testimonial-card,
.stat-item {
  transition:
    transform 0.35s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.35s cubic-bezier(0.22,1,0.36,1),
    border-color 0.3s ease !important;
}
.glass-card:hover,
.product-card:hover,
.feat-card:hover {
  transform: translateY(-4px) scale(1.015);
}
.plan-card:hover,
.pricing-card:hover {
  transform: translateY(-5px) scale(1.02);
}
.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px) scale(1.02);
}

/* ─── Buttons: Hover Glow + Scale ─────────────────────────────────────── */
.btn-primary {
  transition:
    transform 0.25s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.25s ease,
    background 0.3s ease !important;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(59,130,246,0.4), 0 0 40px rgba(59,130,246,0.15);
}
.btn-success:hover {
  transform: translateY(-2px) scale(1.03);
}
.btn-outline:hover {
  transform: translateY(-1px) scale(1.02);
}

/* ─── Stats Numbers — Count-Up Entrance ───────────────────────────────── */
.stat-item h3,
.stat-item h5,
.stat-item .stats-number {
  animation: countUpEntrance 0.6s cubic-bezier(0.22,1,0.36,1) both;
}

/* ─── Feature Icons — Float ───────────────────────────────────────────── */
.feat-icon,
.service-icon,
.product-icon,
.feature-icon {
  animation: godFloat 3s ease-in-out infinite;
}
.feat-card:hover .feat-icon,
.service-card:hover .service-icon {
  animation-play-state: paused;
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

/* ─── Pricing Card Recommended — Subtle Continuous Glow ───────────────── */
.plan-card.recommended,
.plan-card.recommended-blue,
.plan-card.recommended-purple,
.pricing-card.featured {
  animation: borderGlow 3s ease-in-out infinite;
}

/* ─── Section Title — Fade In Up ──────────────────────────────────────── */
.section-title {
  /* Handled by scroll-triggered .reveal class, but add base transition */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ─── Nav Link — Underline Animation ──────────────────────────────────── */
.nav-links a::after {
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}

/* ─── Badge — Subtle Pulse ────────────────────────────────────────────── */
.featured-badge,
.plan-rec-badge,
.plan-rec-badge-blue,
.plan-rec-badge-purple {
  animation: badgePulse 2.5s ease-in-out infinite;
}

/* ─── Footer — Entrance ──────────────────────────────────────────────── */
.footer .footer-grid > * {
  animation: slideInBottom 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.footer .footer-grid > *:nth-child(1) { animation-delay: 0.1s; }
.footer .footer-grid > *:nth-child(2) { animation-delay: 0.15s; }
.footer .footer-grid > *:nth-child(3) { animation-delay: 0.2s; }
.footer .footer-grid > *:nth-child(4) { animation-delay: 0.25s; }


/* ═══════════════════════════════════════════════════════════════════════════
   6. SCROLL-TRIGGERED ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* The base .reveal class is in navbar_style.php; enhance it here */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Direction variants */
.animate-on-scroll.from-left {
  transform: translateX(-30px);
}
.animate-on-scroll.from-left.visible {
  transform: translateX(0);
}
.animate-on-scroll.from-right {
  transform: translateX(30px);
}
.animate-on-scroll.from-right.visible {
  transform: translateX(0);
}
.animate-on-scroll.from-scale {
  transform: scale(0.9);
}
.animate-on-scroll.from-scale.visible {
  transform: scale(1);
}

/* Stagger delays for grid children */
.animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════════════════════════
   7. HOVER EFFECTS & MICRO-INTERACTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Card Border Color on Hover ──────────────────────────────────────── */
.glass-card:hover,
.product-card:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 8px 40px rgba(59,130,246,0.12), 0 0 0 1px rgba(59,130,246,0.08);
}

/* ─── Images — Subtle Zoom on Hover ───────────────────────────────────── */
.glass-card img,
.product-card img,
.feat-card img,
.testimonial-card img {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.glass-card:hover img,
.product-card:hover img,
.feat-card:hover img {
  transform: scale(1.05);
}

/* ─── Link Smooth Underline ───────────────────────────────────────────── */
.footer-links a {
  position: relative;
  display: inline-block;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--theme-accent, #3B82F6);
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}
.footer-links a:hover::after {
  width: 100%;
}

/* ─── Input Focus Glow ────────────────────────────────────────────────── */
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  border-color: var(--theme-accent, #3B82F6);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12), 0 0 20px rgba(59,130,246,0.08);
  outline: none;
}

/* ─── Checkbox/Radio Custom Animations ────────────────────────────────── */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--theme-accent, #3B82F6);
  transition: transform 0.2s ease;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  animation: godScaleIn 0.2s ease;
}

/* ─── Accordion Smooth Expand ─────────────────────────────────────────── */
.accordion-body,
.collapse,
[class*="accordion"] [class*="body"] {
  transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease, padding 0.3s ease;
}

/* ─── Smooth Tab Switch ───────────────────────────────────────────────── */
.tab {
  transition: color 0.2s ease, border-color 0.3s ease;
}
.tab.active {
  position: relative;
}

/* ─── Cat Tab Click Effect ────────────────────────────────────────────── */
.cat-tab {
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.cat-tab:active {
  transform: scale(0.95);
}

/* ─── Social Button Hover ─────────────────────────────────────────────── */
.social-btn {
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.social-btn:hover {
  transform: translateY(-2px) scale(1.1);
}

/* ─── Back to Top Button ──────────────────────────────────────────────── */
.back-to-top {
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.back-to-top:hover {
  transform: scale(1.15) translateY(-3px);
}

/* ─── Payment Icon Hover ──────────────────────────────────────────────── */
.payment-icon {
  transition: all 0.25s ease;
}
.payment-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* ═══════════════════════════════════════════════════════════════════════════
   8. PREMIUM VISUAL EFFECTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Enhanced Glassmorphism ──────────────────────────────────────────── */
.glass-effect {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
html.light-mode .glass-effect {
  background: rgba(255,255,255,0.72);
  border-color: rgba(0,0,0,0.08);
}

/* ─── Gradient Text Utility (enhanced) ────────────────────────────────── */
.gradient-text-accent {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #F59E0B, #EF4444, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: linear-gradient(135deg, #10B981, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Animated Gradient Background ────────────────────────────────────── */
.gradient-bg-animated {
  background: linear-gradient(-45deg, #020817, #0F172A, #1E1B4B, #172554);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* ─── Smooth Scrollbar (all browsers) ─────────────────────────────────── */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--theme-bg-deep, #020817);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--theme-accent, #3B82F6), var(--theme-accent-2, #8B5CF6));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--theme-accent-2, #8B5CF6), var(--theme-accent, #3B82F6));
}
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--theme-accent, #3B82F6) var(--theme-bg-deep, #020817);
}
html.light-mode * {
  scrollbar-color: #94A3B8 #F1F5F9;
}

/* ─── Custom Selection Colors ─────────────────────────────────────────── */
::selection {
  background: rgba(59,130,246,0.3);
  color: #fff;
}
html.light-mode ::selection {
  background: rgba(59,130,246,0.2);
  color: #0F172A;
}
::-moz-selection {
  background: rgba(59,130,246,0.3);
  color: #fff;
}
html.light-mode ::-moz-selection {
  background: rgba(59,130,246,0.2);
  color: #0F172A;
}

/* ─── Focus-Visible Outlines (Accessibility) ──────────────────────────── */
:focus-visible {
  outline: 2px solid var(--theme-accent, #3B82F6);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.3);
}
.nav-links a:focus-visible,
.footer-links a:focus-visible {
  outline-offset: 4px;
}

/* ─── Shimmer Loading Effect Class ────────────────────────────────────── */
.shimmer-loading {
  background: linear-gradient(
    90deg,
    var(--theme-bg-glass, rgba(255,255,255,0.04)) 25%,
    rgba(59,130,246,0.08) 50%,
    var(--theme-bg-glass, rgba(255,255,255,0.04)) 75%
  );
  background-size: 200% 100%;
  animation: godShimmer 1.8s ease-in-out infinite;
  border-radius: var(--theme-radius, 12px);
}

/* ─── Mouse-Following Glow (enhanced) ─────────────────────────────────── */
.hover-glow-enhanced {
  position: relative;
  overflow: hidden;
}
.hover-glow-enhanced::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.hover-glow-enhanced:hover::before {
  opacity: 1;
}
.hover-glow-enhanced > * {
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   9. PAYMENT ICONS IN FOOTER (Enhanced)
   ═══════════════════════════════════════════════════════════════════════════ */

.payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.payment-icons .payment-icon-img {
  height: 28px;
  width: auto;
  filter: grayscale(1) brightness(1.5);
  transition: filter 0.3s ease, transform 0.3s ease;
  border-radius: 4px;
}
.payment-icons .payment-icon-img:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.1);
}
html.light-mode .payment-icons .payment-icon-img {
  filter: grayscale(1) brightness(0.8);
}
html.light-mode .payment-icons .payment-icon-img:hover {
  filter: grayscale(0) brightness(1);
}

/* Footer payment icon enhancements (existing .payment-icon spans) */
html.light-mode .payment-icon {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.08);
}
html.light-mode .payment-icon:hover {
  background: rgba(59,130,246,0.06);
  border-color: rgba(59,130,246,0.2);
}
html.light-mode .payment-icon.stripe { color: #635BFF; }
html.light-mode .payment-icon.visa   { color: #1A1F71; }
html.light-mode .payment-icon.mastercard { color: #EB001B; }
html.light-mode .payment-icon.sepa   { color: #2566AF; }
html.light-mode .payment-icon.paypal { color: #003087; }


/* ═══════════════════════════════════════════════════════════════════════════
   10. UTILITY ANIMATION CLASSES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Apply directly via HTML class attributes */
.god-fade-in-up   { animation: godFadeInUp 0.6s cubic-bezier(0.22,1,0.36,1) both; }
.god-fade-in-down { animation: godFadeInDown 0.6s cubic-bezier(0.22,1,0.36,1) both; }
.god-fade-in-left { animation: godFadeInLeft 0.6s cubic-bezier(0.22,1,0.36,1) both; }
.god-fade-in-right{ animation: godFadeInRight 0.6s cubic-bezier(0.22,1,0.36,1) both; }
.god-scale-in     { animation: godScaleIn 0.4s cubic-bezier(0.22,1,0.36,1) both; }
.god-float        { animation: godFloat 3s ease-in-out infinite; }
.god-glow-pulse   { animation: glowPulse 2s ease-in-out infinite; }
.god-shimmer      { animation: godShimmer 1.8s ease-in-out infinite; }
.god-spin         { animation: godSpin 1s linear infinite; }

/* Delay modifiers */
.god-delay-1 { animation-delay: 0.1s; }
.god-delay-2 { animation-delay: 0.2s; }
.god-delay-3 { animation-delay: 0.3s; }
.god-delay-4 { animation-delay: 0.4s; }
.god-delay-5 { animation-delay: 0.5s; }
.god-delay-6 { animation-delay: 0.6s; }
.god-delay-8 { animation-delay: 0.8s; }
.god-delay-10{ animation-delay: 1.0s; }

/* Duration modifiers */
.god-duration-fast   { animation-duration: 0.3s; }
.god-duration-normal { animation-duration: 0.6s; }
.god-duration-slow   { animation-duration: 1s; }
.god-duration-slower { animation-duration: 1.5s; }


/* ═══════════════════════════════════════════════════════════════════════════
   11. ENHANCED COMPONENT STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── CTA Buttons Premium Glow ────────────────────────────────────────── */
.btn-primary.god-glow,
.cta-section .btn-primary {
  animation: glowPulse 2.5s ease-in-out infinite;
}

/* ─── Typewriter Effect Class ─────────────────────────────────────────── */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--theme-accent, #3B82F6);
  animation: typewriterBlink 0.8s step-end infinite;
}

/* ─── Glassmorphism Card Variant ──────────────────────────────────────── */
.glass-card-premium {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--theme-radius-lg, 20px);
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
}
.glass-card-premium:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 8px 32px rgba(59,130,246,0.12);
  transform: translateY(-3px);
}
html.light-mode .glass-card-premium {
  background: rgba(255,255,255,0.75);
  border-color: rgba(0,0,0,0.08);
}
html.light-mode .glass-card-premium:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(59,130,246,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* ─── Gradient Border Card ────────────────────────────────────────────── */
.gradient-border {
  position: relative;
  background: var(--theme-bg-glass, rgba(255,255,255,0.04));
  border-radius: var(--theme-radius-lg, 20px);
  padding: 2rem;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--theme-radius-lg, 20px) + 1px);
  background: linear-gradient(135deg, var(--theme-accent, #3B82F6), var(--theme-accent-2, #8B5CF6), var(--theme-accent-3, #06B6D4));
  z-index: -1;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}
.gradient-border:hover::before {
  opacity: 0.6;
}

/* ─── Notification Toast ──────────────────────────────────────────────── */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--theme-bg-nav-scroll, rgba(2,8,23,0.97));
  border: 1px solid var(--theme-border, rgba(99,179,237,0.15));
  border-radius: var(--theme-radius, 12px);
  padding: 1rem 1.5rem;
  color: var(--theme-text, #E2E8F0);
  box-shadow: var(--theme-shadow-lg, 0 8px 40px rgba(0,0,0,0.4));
  animation: godFadeInUp 0.4s cubic-bezier(0.22,1,0.36,1);
  max-width: 380px;
}
html.light-mode .toast-notification {
  background: rgba(255,255,255,0.95);
  color: var(--theme-text, #0F172A);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

/* ─── Loading Spinner ─────────────────────────────────────────────────── */
.god-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--theme-border, rgba(99,179,237,0.15));
  border-top-color: var(--theme-accent, #3B82F6);
  border-radius: 50%;
  animation: godSpin 0.8s linear infinite;
}

/* ─── Dot Separator ───────────────────────────────────────────────────── */
.dot-separator {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--theme-text-dim, #475569);
  margin: 0 0.5rem;
  vertical-align: middle;
}


/* ═══════════════════════════════════════════════════════════════════════════
   12. REDUCED MOTION — Respect user accessibility preferences
   ═══════════════════════════════════════════════════════════════════════════ */

@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;
  }
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .feat-icon,
  .service-icon,
  .product-icon,
  .feature-icon {
    animation: none !important;
  }
  .plan-card.recommended,
  .plan-card.recommended-blue,
  .plan-card.recommended-purple,
  .pricing-card.featured {
    animation: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   13. ADDITIONAL LIGHT-MODE FIXES — Edge cases
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── CTA Section in light mode ───────────────────────────────────────── */
html.light-mode .cta-section {
  background: linear-gradient(135deg, #1E3A5F, #0F172A);
  color: #fff;
}
html.light-mode .cta-section h2,
html.light-mode .cta-section p {
  color: #fff;
}

/* ─── Hero gradient text in light mode stays vibrant ──────────────────── */
html.light-mode .gradient-text {
  filter: brightness(0.8) saturate(1.4);
}

/* ─── Newsletter Form ─────────────────────────────────────────────────── */
html.light-mode .newsletter-form .form-control {
  background: #fff;
  border-color: var(--theme-border, rgba(148,163,184,0.2));
  color: var(--theme-text, #0F172A);
}
html.light-mode .newsletter-form .btn {
  background: var(--theme-accent, #3B82F6);
  border-color: var(--theme-accent, #3B82F6);
  color: #fff;
}

/* ─── AdSense blocks ──────────────────────────────────────────────────── */
html.light-mode .adsbygoogle {
  background: rgba(0,0,0,0.02);
}

/* ─── Carousel Captions in light mode ─────────────────────────────────── */
html.light-mode .carousel-caption h5,
html.light-mode .carousel-caption p {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* ─── Icon list items light mode ──────────────────────────────────────── */
html.light-mode ul.i-list .icon-content .title {
  color: var(--theme-text, #0F172A);
}
html.light-mode ul.i-list .icon-content p {
  color: var(--theme-text-muted, #475569);
}
html.light-mode .iconlist-timeline {
  border-color: var(--theme-border, rgba(148,163,184,0.2));
}

/* ─── Mobile Menu ─────────────────────────────────────────────────────── */
html.light-mode .mobile-menu {
  background: rgba(248,250,252,0.97);
}
html.light-mode .mobile-menu a {
  color: var(--theme-text, #0F172A);
}
html.light-mode .mobile-menu a:hover {
  color: var(--theme-accent, #3B82F6);
}
html.light-mode .mobile-close {
  color: var(--theme-text, #0F172A);
}

/* ─── Hamburger Lines ─────────────────────────────────────────────────── */
html.light-mode .hamburger span {
  background: var(--theme-text, #0F172A);
}

/* ─── Plan Features List Check Color (keep green) ─────────────────────── */
html.light-mode .plan-features li::before,
html.light-mode .product-features li::before {
  color: #059669;
}

/* ─── Section Subtitle ────────────────────────────────────────────────── */
html.light-mode .section-sub-title {
  color: var(--theme-text-muted, #475569);
}

/* ─── Price Tag (styless.css) ─────────────────────────────────────────── */
html.light-mode .price-tag {
  color: var(--theme-accent, #3B82F6);
}

/* ─── Feature List Borders ────────────────────────────────────────────── */
html.light-mode .feature-list li {
  border-bottom-color: rgba(0,0,0,0.06);
}
html.light-mode .feature-list li:hover {
  border-bottom-color: var(--theme-accent, #3B82F6);
}

/* ─── Stat Item Hover Override for Light ──────────────────────────────── */
html.light-mode .stat-item:hover {
  background: var(--theme-accent, #3B82F6);
  color: #fff;
}
html.light-mode .stat-item:hover i,
html.light-mode .stat-item:hover h5 {
  color: #fff !important;
}

/* ─── Skeleton Loader Light Mode ──────────────────────────────────────── */
html.light-mode .skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.04) 25%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.04) 75%);
  background-size: 200% 100%;
}

/* ─── Pulse Dot Light Mode ────────────────────────────────────────────── */
html.light-mode .pulse-dot.green { background: #059669; }
html.light-mode .pulse-dot.green::after { border-color: #059669; }
html.light-mode .pulse-dot.red { background: #DC2626; }
html.light-mode .pulse-dot.red::after { border-color: #DC2626; }
html.light-mode .pulse-dot.yellow { background: #D97706; }
html.light-mode .pulse-dot.yellow::after { border-color: #D97706; }


/* ═══════════════════════════════════════════════════════════════════════════
   14. ENHANCED RESPONSIVENESS — Extra polish
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Landscape phones ─────────────────────────────────────────────────── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero,
  .page-hero {
    padding: 4rem 0 2rem !important;
    min-height: auto;
  }
  .hero h1,
  .page-hero h1 {
    font-size: 1.8rem !important;
  }
}

/* ── Large desktop (1440px+) ──────────────────────────────────────────── */
@media (min-width: 1440px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Container max-width safety ───────────────────────────────────────── */
.container,
.container-lg {
  width: 100%;
  overflow-wrap: break-word;
}

/* ── Image responsive safety ──────────────────────────────────────────── */
img {
  max-width: 100%;
  height: auto;
}

/* ── Prevent horizontal overflow globally ─────────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}


/* ═══════════════════════════════════════════════════════════════════════════
   15. INLINE SCROLL REVEAL OBSERVER HELPER
   ═══════════════════════════════════════════════════════════════════════════ */

/*
   Usage: Add this to any page that includes godmode.css to auto-trigger
   scroll animations on .animate-on-scroll and .reveal elements.

   <script>
   document.addEventListener('DOMContentLoaded',()=>{
     const obs = new IntersectionObserver((entries)=>{
       entries.forEach(e => {
         if (e.isIntersecting) {
           e.target.classList.add('visible');
           obs.unobserve(e.target);
         }
       });
     }, { threshold: 0.1, rootMargin: '0px 0px -40px 0px' });
     document.querySelectorAll('.animate-on-scroll,.reveal').forEach(el => obs.observe(el));
   });
   </script>
*/
