/* ==========================================================================
   KTRA SMART SOLUTIONS — MASTER STYLESHEET (RTL FIRST)
   ========================================================================== */

@import url('design-tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  text-align: right;
  color-scheme: dark;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--ktra-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(139, 92, 246, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Subtle Grid Background Pattern */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* --- Typography Helpers --- */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 10%, #93c5fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #a5f3fc 0%, #06b6d4 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  color: var(--ktra-blue-light);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Header & Navbar --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 10, 19, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--ktra-glass-border);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 10, 19, 0.96);
  border-bottom-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--ktra-cyan-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.5px;
}

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

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.logo-subtitle {
  font-size: 0.72rem;
  color: var(--ktra-blue-light);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ktra-cyan);
  border-radius: 9999px;
  box-shadow: 0 0 8px var(--ktra-cyan);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 320px;
  background: var(--ktra-surface);
  border: 1px solid var(--ktra-glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 110;
  animation: fadeInDown 0.2s ease forwards;
}

.has-dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--ktra-surface-hover);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.dropdown-item-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.dropdown-item-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--ktra-glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25d366;
  color: #070a13;
  font-weight: 800;
  box-shadow: 0 4px 14px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background: #22c35e;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--ktra-blue-light);
  border-color: rgba(56, 189, 248, 0.4);
}

.btn-outline-cyan:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--ktra-blue-light);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius-md);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 5.5rem 0 4.5rem 0;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  color: var(--ktra-blue-light);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
  animation: pulseBadge 3s infinite;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  background: rgba(19, 28, 49, 0.5);
  border: 1px solid var(--ktra-glass-border);
  border-radius: var(--border-radius-lg);
  max-width: 980px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--ktra-blue-light);
}

/* --- Stats & Metrics Bar --- */
.stats-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--ktra-glass-border);
  border-bottom: 1px solid var(--ktra-glass-border);
  background: rgba(13, 19, 34, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1rem;
}

.stat-value {
  font-size: 2.75rem;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Products Section (Tabs + Bento Grid) --- */
.products-section {
  padding: 6.5rem 0;
  position: relative;
}

.products-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ktra-glass-border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  border-color: var(--ktra-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.bento-card {
  background: var(--ktra-surface-card);
  border: 1px solid var(--ktra-glass-border);
  border-radius: var(--border-radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.bento-card:hover {
  border-color: var(--ktra-glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(14, 165, 233, 0.08);
}

/* Card Column Sizes */
.bento-large {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 2.5rem;
  align-items: center;
}

.bento-medium-6 {
  grid-column: span 6;
}

.bento-medium-4 {
  grid-column: span 4;
}

/* Bento Card Elements */
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.badge-erp {
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--ktra-blue-light);
}

.badge-aarasna {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.badge-radio {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

.card-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.card-features li svg {
  color: var(--ktra-cyan);
  flex-shrink: 0;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Card Visual Mockups */
.card-mockup {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  box-shadow: var(--shadow-lg);
}

.card-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.bento-card:hover .card-mockup img {
  transform: scale(1.025);
}

.mockup-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Core Services Grid --- */
.services-section {
  padding: 6.5rem 0;
  background: rgba(13, 19, 34, 0.5);
  border-top: 1px solid var(--ktra-glass-border);
  border-bottom: 1px solid var(--ktra-glass-border);
}

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

.service-card {
  background: var(--ktra-surface-card);
  border: 1px solid var(--ktra-glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--border-radius-md);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ktra-blue-light);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Comparison Matrix (Why Ktra) --- */
.comparison-section {
  padding: 6.5rem 0;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ktra-glass-border);
  border-radius: var(--border-radius-lg);
  background: var(--ktra-surface-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--ktra-glass-border);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.02);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.comparison-table th.col-ktra {
  color: var(--ktra-blue-light);
  background: rgba(14, 165, 233, 0.06);
}

.comparison-table td.col-ktra {
  color: #38bdf8;
  font-weight: 700;
  background: rgba(14, 165, 233, 0.03);
}

.comparison-table td.col-other {
  color: var(--text-dim);
}

/* --- Testimonials --- */
.testimonials-section {
  padding: 6.5rem 0;
  background: rgba(13, 19, 34, 0.35);
  border-top: 1px solid var(--ktra-glass-border);
}

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

.testimonial-card {
  background: var(--ktra-surface-card);
  border: 1px solid var(--ktra-glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- CTA & Contact Section --- */
.cta-section {
  padding: 7rem 0;
  position: relative;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(19, 28, 49, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--border-radius-xl);
  padding: 4.5rem 2rem;
  box-shadow: 0 0 50px rgba(14, 165, 233, 0.1);
  max-width: 960px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #070a13;
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #000;
}

.whatsapp-icon-circle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #04060c;
  border-top: 1px solid var(--ktra-glass-border);
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--ktra-blue-light);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Animations --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBadge {
  0%, 100% {
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
  }
  50% {
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.35);
  }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .bento-large {
    grid-template-columns: 1fr;
  }
  .bento-medium-6, .bento-medium-4 {
    grid-column: span 12;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background: var(--ktra-surface);
    border-left: 1px solid var(--ktra-glass-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    transition: right var(--transition-normal);
    z-index: 99;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-actions {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 1.05rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float {
    padding: 0.85rem;
    bottom: 20px;
    left: 20px;
  }
}
