/* KRM INFO TECH - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ========== CSS Variables — KRM Brand (Neon Green + Cyan) ========== */
:root {
  --brand-neon: #A4FF2A;
  --brand-neon-dark: #8AE000;
  --primary: #3A8200;
  --primary-dark: #2A6200;
  --primary-light: #E4FFC2;
  --primary-border: #A4FF2A;
  --cyan: #00C8FF;
  --cyan-dark: #0099CC;
  --purple: #0077CC;
  --purple-light: rgba(0, 163, 255, 0.12);
  --white: #FFFFFF;
  --gray-50: #F8FAF5;
  --gray-100: #F0F4EA;
  --gray-200: #E2E8D9;
  --gray-300: #CBD5C1;
  --gray-400: #94A394;
  --gray-500: #647064;
  --gray-600: #475347;
  --navy: #000000;
  --navy-light: #0F0F0F;
  --text: #0A0A0A;
  --text-muted: #5A6452;
  --bg: #FFFFFF;
  --bg-alt: #F8FAF5;
  --border: #D4E8BC;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(58, 130, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(58, 130, 0, 0.12);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.16);
  --gradient-primary: linear-gradient(135deg, #A4FF2A 0%, #8AE000 40%, #00D4FF 100%);
  --gradient-hero: linear-gradient(135deg, #000000 0%, #0A1400 45%, #142800 100%);
  --gradient-soft: linear-gradient(180deg, #F8FAF5 0%, #FFFFFF 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,245,0.95) 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font);
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1280px;
  --glass: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(164, 255, 42, 0.25);
  --focus-ring: rgba(58, 130, 0, 0.25);
  --btn-text-on-primary: #0A0A0A;
  --text-on-dark: #FFFFFF;
}

[data-theme="dark"] {
  --primary: #A4FF2A;
  --primary-dark: #B8FF50;
  --primary-light: rgba(164, 255, 42, 0.14);
  --primary-border: #A4FF2A;
  --border: #1F2A1A;
  --text: #F5F5F5;
  --text-muted: #A0A89A;
  --bg: #000000;
  --bg-alt: #0F0F0F;
  --gray-50: #141414;
  --gray-100: #1A1F14;
  --gray-200: #2A3320;
  --purple-light: rgba(0, 163, 255, 0.12);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
  --gradient-soft: linear-gradient(180deg, #000000 0%, #0F0F0F 100%);
  --gradient-card: linear-gradient(145deg, rgba(15,15,15,0.95) 0%, rgba(0,0,0,0.98) 100%);
  --glass: rgba(0, 0, 0, 0.88);
  --glass-border: rgba(164, 255, 42, 0.2);
  --focus-ring: rgba(164, 255, 42, 0.3);
  --text-on-dark: #FFFFFF;
}

[data-theme="dark"] .section-label {
  border-color: rgba(164, 255, 42, 0.35);
}

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--text-muted); }
::selection { background: var(--primary); color: var(--btn-text-on-primary); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}
main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 0.35rem 0.875rem;
  background: var(--primary-light);
  border: 1px solid rgba(164, 255, 42, 0.45);
  border-radius: var(--radius-full);
}
.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand-neon);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(164, 255, 42, 0.6);
}
.section-title { margin-bottom: 1rem; }
.section-desc { font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--btn-text-on-primary);
  box-shadow: 0 4px 16px rgba(164, 255, 42, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(164, 255, 42, 0.5);
  color: var(--btn-text-on-primary);
}
.btn-outline {
  border: 2px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--brand-neon);
  color: var(--primary-dark);
  background: var(--primary-light);
}
.btn-white {
  background: var(--white);
  color: var(--btn-text-on-primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); color: var(--primary-dark); }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-md); }

/* Ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ========== Cards ========== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-neon);
}
.card-glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(164, 255, 42, 0.4);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card .tag {
  display: inline-block;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
.card-title { margin-top: 0; margin-bottom: 0.75rem; font-size: 1.25rem; line-height: 1.35; }
.card-text { font-size: 0.9375rem; line-height: 1.65; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 1.25rem;
  color: var(--primary);
}
.card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: all var(--transition);
}
.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Light nav on transparent header over dark hero (homepage) */
.has-dark-hero .site-header:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
}
.has-dark-hero .site-header:not(.scrolled) .logo {
  color: #ffffff;
}
.has-dark-hero .site-header:not(.scrolled) .logo:hover {
  color: rgba(255, 255, 255, 0.9);
}
.has-dark-hero .site-header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.92);
}
.has-dark-hero .site-header:not(.scrolled) .nav-link:hover,
.has-dark-hero .site-header:not(.scrolled) .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}
.has-dark-hero .site-header:not(.scrolled) .search-toggle,
.has-dark-hero .site-header:not(.scrolled) .theme-toggle,
.has-dark-hero .site-header:not(.scrolled) .menu-toggle {
  color: rgba(255, 255, 255, 0.92);
}
.has-dark-hero .site-header:not(.scrolled) .search-toggle:hover,
.has-dark-hero .site-header:not(.scrolled) .theme-toggle:hover,
.has-dark-hero .site-header:not(.scrolled) .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 0.75rem;
  max-width: 100%;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--text);
  flex-shrink: 1;
  min-width: 0;
}
.logo-img {
  height: 52px;
  width: auto;
  max-width: 140px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(164, 255, 42, 0.35));
  transition: filter var(--transition);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 18px rgba(164, 255, 42, 0.55));
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-text-on-primary);
  font-size: 0.875rem;
  font-weight: 800;
}
.logo:hover { color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
  background: var(--primary-light);
  box-shadow: inset 0 0 0 1px rgba(164, 255, 42, 0.45);
}
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 680px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  pointer-events: none;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  color: var(--text);
  transition: background var(--transition);
}
.mega-link:hover { background: var(--gray-50); color: var(--primary); }
.mega-link-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.mega-link-icon svg { width: 18px; height: 18px; }
.mega-link-text strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); }
.mega-link-text span { font-size: 0.75rem; color: var(--text-muted); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.dropdown-menu a:hover { background: var(--gray-50); color: var(--primary); }

.search-toggle, .theme-toggle, .menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text);
  transition: all var(--transition);
}
.search-toggle:hover, .theme-toggle:hover { background: var(--gray-100); color: var(--primary); }
.search-toggle svg, .theme-toggle svg, .menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
  overflow-x: hidden;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.search-box {
  width: 100%;
  max-width: 640px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transform: translateY(-20px);
  transition: transform var(--transition);
}
.search-overlay.active .search-box { transform: translateY(0); }
.search-box input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
}
.search-box input:focus { border-color: var(--primary); }
.search-results { margin-top: 1rem; max-height: 400px; overflow-y: auto; }
.search-result-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.search-result-item:hover { background: var(--gray-50); }
.search-result-item strong { display: block; font-size: 0.9375rem; }
.search-result-item span { font-size: 0.8125rem; color: var(--text-muted); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  z-index: 1500;
  padding: 1.5rem;
  transform: translate3d(100%, 0, 0);
  transition: transform var(--transition), visibility var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
  visibility: hidden;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.active {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  padding-bottom: 0.5rem;
}
.mobile-menu-header .logo-img {
  height: 44px;
  max-width: 120px;
}
.menu-close {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text);
  background: var(--gray-100);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.menu-close svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}
.menu-close:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--brand-neon);
}
.mobile-nav a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .sub-menu { padding-left: 1rem; }
.mobile-nav .sub-menu a { font-size: 0.9375rem; font-weight: 400; color: var(--text-muted); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(164, 255, 42, 0.15);
  border: 1px solid rgba(164, 255, 42, 0.55);
  border-radius: var(--radius-full);
  color: var(--brand-neon);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(164, 255, 42, 0.2);
  max-width: 100%;
  flex-wrap: wrap;
  white-space: normal;
  line-height: 1.4;
}
.hero-content,
.hero-visual,
.hero-grid {
  max-width: 100%;
  min-width: 0;
}
.hero h1 { color: var(--text-on-dark); margin-bottom: 1.25rem; }
.hero h1 span {
  background: linear-gradient(135deg, var(--brand-neon) 0%, var(--cyan) 55%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-on-dark);
}
.hero-stat span { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.hero-visual { position: relative; }
.hero-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-float {
  position: absolute;
  background: #FFFFFF;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(164, 255, 42, 0.45);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  animation: float 6s ease-in-out infinite;
  min-width: 160px;
}
.hero-float strong {
  display: block;
  color: #2A6200;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.125rem;
}
.hero-float span {
  display: block;
  font-size: 0.75rem;
  color: #475347;
  font-weight: 500;
  line-height: 1.4;
}
.hero-float-1 { top: 10%; right: 0; animation-delay: 0s; }
.hero-float-2 { bottom: 15%; left: 0; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Page Hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(164,255,42,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.125rem; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { color: var(--text-muted); }
.breadcrumbs .current { color: var(--primary-dark); font-weight: 600; }

/* ========== Stats ========== */
.stats-bar {
  background: var(--gradient-primary);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 0.25rem;
}
.stat-item span { font-size: 0.9375rem; color: rgba(255,255,255,0.85); }

/* ========== Testimonials ========== */
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary-light);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; font-size: 0.9375rem; color: var(--text); }
.testimonial-author span { font-size: 0.8125rem; color: var(--text-muted); }
.stars { color: #FBBF24; font-size: 0.875rem; margin-bottom: 0.75rem; }

/* ========== Process Steps ========== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.5rem; }
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--btn-text-on-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; }

/* ========== Tech Stack ========== */
.tech-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.tech-badge:hover {
  border-color: var(--brand-neon);
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ========== FAQ Accordion ========== */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg);
}
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--gray-50); }
.accordion-header svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--primary);
}
.accordion-item.active .accordion-header svg { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-body-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 5rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(164,255,42,0.12) 0%, transparent 50%);
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-content h2 { color: var(--text-on-dark); margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.82); font-size: 1.125rem; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ========== Footer ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid > * { min-width: 0; }
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand .logo-img { height: 72px; filter: drop-shadow(0 0 14px rgba(164, 255, 42, 0.4)); }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.5rem; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--brand-neon); color: var(--btn-text-on-primary); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul li { margin-bottom: 0.625rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--brand-neon); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
}
.footer-bottom p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--brand-neon); }

/* ========== Portfolio ========== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-image { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-image img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-body { padding: 1.5rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.tag {
  padding: 0.25rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid rgba(164, 255, 42, 0.5);
}
.tag-purple { background: var(--purple-light); color: var(--purple); }

/* ========== Blog ========== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-image { aspect-ratio: 16/9; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-body { padding: 1.5rem; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.blog-body h3 { font-size: 1.125rem; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-body h3 a { color: var(--text); }
.blog-body h3 a:hover { color: var(--primary); }
.blog-excerpt { font-size: 0.9375rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Blog Detail */
.blog-detail-content { max-width: 780px; margin: 0 auto; }
.blog-detail-content h2 { margin: 2rem 0 1rem; }
.blog-detail-content h3 { margin: 1.5rem 0 0.75rem; }
.blog-detail-content p { margin-bottom: 1.25rem; font-size: 1.0625rem; line-height: 1.8; }
.blog-detail-content ul, .blog-detail-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.blog-detail-content li { color: var(--text-muted); margin-bottom: 0.5rem; list-style: disc; }
.blog-detail-content ol li { list-style: decimal; }
.blog-detail-image { border-radius: var(--radius-lg); margin: 2rem 0; overflow: hidden; }
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}
.toc h4 { margin-bottom: 1rem; font-size: 1rem; }
.toc ol { padding-left: 1.25rem; }
.toc li { list-style: decimal; margin-bottom: 0.375rem; }
.toc a { color: var(--text-muted); font-size: 0.9375rem; }
.toc a:hover { color: var(--primary); }
.share-buttons { display: flex; gap: 0.75rem; margin: 2rem 0; }
.share-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.share-btn:hover { background: var(--primary); color: var(--btn-text-on-primary); border-color: var(--primary); }

/* ========== Pricing ========== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; align-items: start; }
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--brand-neon);
  box-shadow: 0 8px 32px rgba(164, 255, 42, 0.25);
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-features { text-align: left; margin: 1.5rem 0; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.pricing-features li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Comparison Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.compare-table th { background: var(--bg-alt); font-weight: 600; color: var(--text); }
.compare-table td { color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.check-icon { color: var(--primary); font-weight: 700; }

/* ========== Forms ========== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--brand-neon); box-shadow: 0 0 0 3px var(--focus-ring); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ========== Timeline ========== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}
.timeline-item h4 { margin-bottom: 0.375rem; }
.timeline-item p { font-size: 0.9375rem; }

/* ========== Team ========== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; }
.team-card {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 1.5rem; }
.team-info h4 { margin-bottom: 0.25rem; }
.team-info span { font-size: 0.875rem; color: var(--primary); font-weight: 500; }

/* ========== Contact ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-card h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.contact-info-card p, .contact-info-card a { font-size: 0.9375rem; color: var(--text-muted); }
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-100);
  border: 1px solid var(--border);
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* ========== Service Detail ========== */
.service-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: 3rem;
  position: relative;
}
.service-banner img { width: 100%; height: 100%; object-fit: cover; }
.service-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.3) 100%);
  display: flex;
  align-items: center;
  padding: 3rem;
}
.service-banner-overlay h1 { color: var(--text-on-dark); margin-bottom: 0.75rem; }
.service-banner-overlay p { color: rgba(255,255,255,0.85); font-size: 1.125rem; max-width: 560px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.feature-list li svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ========== Industries ========== */
.industry-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry-card-image { aspect-ratio: 16/10; overflow: hidden; }
.industry-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.industry-card:hover .industry-card-image img { transform: scale(1.05); }
.industry-card-body { padding: 1.5rem; }
.industry-card-body h3 { margin-bottom: 0.5rem; }
.industry-solutions { margin-top: 0.75rem; }
.industry-solutions li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}
.industry-solutions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

/* ========== Careers ========== */
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: all var(--transition);
  flex-wrap: wrap;
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.job-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.job-tag {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* ========== FAQ Page ========== */
.faq-search {
  max-width: 560px;
  margin: 0 auto 2rem;
  position: relative;
}
.faq-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
}
.faq-search input:focus { border-color: var(--primary); }
.faq-search svg {
  position: absolute;
  left: 1.125rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}
.faq-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.faq-cat-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.faq-cat-btn.active, .faq-cat-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* ========== Partners ========== */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0.6;
}
.partner-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

/* ========== Split Section ========== */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-content h2 { margin-bottom: 1rem; }
.split-content p { margin-bottom: 1.5rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.check-list li svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* ========== Comments UI ========== */
.comment { display: flex; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}
.comment-body strong { display: block; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.comment-body span { font-size: 0.8125rem; color: var(--text-muted); }
.comment-body p { font-size: 0.9375rem; margin-top: 0.5rem; }

/* ========== Loading ========== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== Progress Bar ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s;
}

/* ========== Floating Contact ========== */
.float-contact {
  position: fixed;
  left: 14px;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.float-btn svg {
  width: 22px;
  height: 22px;
}
.float-btn:hover {
  transform: translateY(-2px) scale(1.08);
  color: #fff;
  animation: none;
}
.float-whatsapp {
  background: #25D366;
  animation: floatGlowWhatsapp 2.2s ease-in-out infinite;
}
.float-whatsapp:hover {
  background: #1ebe57;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.8), 0 6px 18px rgba(37, 211, 102, 0.5);
}
.float-call {
  background: var(--primary);
  animation: floatGlowCall 2.2s ease-in-out infinite;
  animation-delay: 1.1s;
}
.float-call:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 18px rgba(164, 255, 42, 0.75), 0 6px 18px rgba(58, 130, 0, 0.45);
}
@keyframes floatGlowWhatsapp {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 4px 12px rgba(37, 211, 102, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px 5px rgba(37, 211, 102, 0.4), 0 4px 16px rgba(37, 211, 102, 0.5);
    transform: scale(1.06);
  }
}
@keyframes floatGlowCall {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(164, 255, 42, 0.55), 0 4px 12px rgba(58, 130, 0, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px 5px rgba(164, 255, 42, 0.4), 0 4px 16px rgba(58, 130, 0, 0.45);
    transform: scale(1.06);
  }
}

@media (max-width: 480px) {
  .float-contact {
    left: 10px;
    bottom: 14px;
    gap: 8px;
  }
  .float-btn {
    width: 40px;
    height: 40px;
  }
  .float-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ========== Animations ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

@media (min-width: 769px) {
  .reveal-left { transform: translateX(-24px); }
  .reveal-right { transform: translateX(24px); }
}

.gradient-animate {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Floating shapes */
.floating-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: floatShape 20s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -10%; right: -5%; }
.shape-2 { width: 300px; height: 300px; background: var(--cyan); bottom: -5%; left: -5%; animation-delay: 7s; }
.shape-3 { width: 200px; height: 200px; background: var(--purple); top: 40%; left: 30%; animation-delay: 14s; }
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(16px, -16px) rotate(120deg); }
  66% { transform: translate(-12px, 12px) rotate(240deg); }
}

/* ========== Tabs ========== */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; justify-content: center; }
.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ========== Awards ========== */
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.5rem; }
.award-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.award-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.award-card h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.award-card p { font-size: 0.8125rem; }

/* ========== Gallery ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ========== Legal Pages ========== */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.legal-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.125rem; }
.legal-content p, .legal-content li { font-size: 0.9375rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; }
.legal-content ul li { list-style: disc; }

/* ========== Responsive ========== */
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 6rem 0; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

@media (max-width: 1024px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .mega-menu { min-width: 90vw; left: 0; transform: translateX(0) translateY(10px); }
  .nav-item:hover .mega-menu { transform: translateX(0) translateY(0); }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .pricing-card.featured { transform: none; }
  .service-banner { aspect-ratio: 16/9; }
  .service-banner-overlay { padding: 1.5rem; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .portfolio-grid,
  .blog-grid,
  .pricing-grid,
  .team-grid,
  .gallery-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-float { display: none; }
  .page-hero::after { width: 280px; right: -40%; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
  .logo-img { height: 44px; max-width: 120px; }
}
