﻿/* ==========================================================================
   KRESS COOPER TECHNOLOGIES (KC Technologies)
   Corporate Brand Styling System - Executive Enterprise Theme
   Brand Palette:
   - Primary: #20295C (Kress Cooper Institutional Royal Navy)
   - Secondary: #2563EB (Enterprise Tech Blue)
   - Accent: #059669 (Accredited Security & SLA Emerald)
   - Accent Gold: #D97706 / #F59E0B (Institutional Luxury Highlight)
   - Surface: #FFFFFF (Crisp White) & #F8FAFC (Soft Slate)
   - Text: #0F172A (Slate 900) & #334155 (Slate 700)
   ========================================================================== */

:root {
  /* Brand Tokens */
  --brand-navy: #20295c;
  --brand-navy-dark: #161f48;
  --brand-navy-light: #2c3875;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-soft: #eff6ff;
  --brand-blue-border: #bfdbfe;
  --brand-emerald: #059669;
  --brand-emerald-soft: #ecfdf5;
  --brand-gold: #d97706;
  --brand-gold-soft: #fef3c7;

  /* Crisp Light Backgrounds */
  --bg-page: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-glass-scrolled: rgba(255, 255, 255, 0.98);

  /* Deep Institutional Grounds (Topbar & Footer) */
  --bg-topbar: #161f48;
  --bg-footer: #0f172a;
  --bg-footer-dark: #090e1a;

  /* Executive Slate Typography */
  --text-heading: #0f172a;
  --text-primary: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-white: #ffffff;

  /* Crisp Borders */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-hover: #93c5fd;
  --border-navy: rgba(32, 41, 92, 0.12);

  /* Executive Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm:
    0 2px 6px -1px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md:
    0 6px 20px -2px rgba(20, 30, 70, 0.07),
    0 2px 6px -1px rgba(20, 30, 70, 0.04);
  --shadow-lg:
    0 16px 36px -4px rgba(20, 30, 70, 0.1),
    0 6px 14px -2px rgba(20, 30, 70, 0.05);
  --shadow-float: 0 20px 45px -5px rgba(20, 30, 70, 0.14);

  /* Radius & Transitions */
  --max-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.kc-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Headings */
h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

.text-center {
  text-align: center;
}

.highlight-gradient {
  background: linear-gradient(135deg, #1e295a 0%, #2563eb 60%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Headings */
.section-heading {
  max-width: 680px;
  margin: 0 auto 50px;
}

.sub-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-heading);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(32, 41, 92, 0.25);
}

.btn-primary:hover {
  background: var(--brand-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--brand-navy);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-consultation {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 700;
}

.btn-consultation:hover {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
  box-shadow: 0 4px 14px rgba(32, 41, 92, 0.2);
}

/* ==========================================================================
   1. TOPBAR
   ========================================================================== */
.kc-topbar {
  background: var(--bg-topbar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  font-size: 0.82rem;
  color: #cbd5e1;
}

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

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agency-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(5, 150, 105, 0.18);
  color: #34d399;
  border: 1px solid rgba(5, 150, 105, 0.35);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.76rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.topbar-motto {
  color: #94a3b8;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1f5f9;
  font-weight: 600;
}

.topbar-link:hover {
  color: #60a5fa;
}

.sep {
  color: #64748b;
}

.hubs-text {
  color: #e2e8f0;
  font-weight: 600;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.kc-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.kc-header.scrolled {
  background: var(--bg-glass-scrolled);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(32, 41, 92, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo img {
  display: block;
  height: 49px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-navy);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--brand-blue);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-navy);
  margin: 4px 0;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-subtle);
  z-index: 1100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.drawer-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 6px 0;
  display: block;
}

.drawer-nav-link:hover {
  color: var(--brand-blue);
}

.drawer-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.drawer-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.drawer-phone {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.drawer-email {
  display: block;
  font-size: 0.88rem;
  color: var(--text-body);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.kc-hero {
  position: relative;
  padding: 85px 0 75px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 15% 10%,
      rgba(37, 99, 235, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 85% 30%,
      rgba(32, 41, 92, 0.04) 0%,
      transparent 45%
    ),
    #ffffff;
}

.hero-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.12;
}

.glow-left {
  top: -80px;
  left: -120px;
  background: var(--brand-navy);
}

.glow-right {
  top: 100px;
  right: -100px;
  background: var(--brand-blue);
  opacity: 0.08;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 40%,
    transparent 80%
  );
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--text-heading);
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 34px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 26px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: "Outfit", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
}

.stat-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Dashboard Mockup Visual */
.dashboard-preview-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.d-red {
  background: #ef4444;
}
.d-yellow {
  background: #f59e0b;
}
.d-green {
  background: #10b981;
}

.preview-title {
  font-size: 0.72rem;
  font-family: monospace;
  color: var(--text-muted);
  font-weight: 600;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-emerald);
  background: var(--brand-emerald-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-family: monospace;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-emerald);
}

.preview-body {
  padding: 22px;
  background: #ffffff;
}

.preview-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.p-metric {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.p-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.p-val {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 3px 0;
}

.text-mint {
  color: var(--brand-emerald);
}
.text-violet {
  color: var(--brand-blue);
}

.p-sub {
  font-size: 0.65rem;
  color: var(--text-subtle);
}

.preview-chart-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-body);
  font-weight: 600;
  margin-bottom: 8px;
}

.chart-tag {
  font-size: 0.68rem;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.preview-feed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--brand-blue-soft);
  border-left: 3.5px solid var(--brand-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.feed-icon {
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 0.95rem;
}

.feed-info {
  display: flex;
  flex-direction: column;
}

.feed-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-heading);
}

.feed-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ==========================================================================
   4. SERVICES SECTION (THE 9 LICENSED ACTIVITIES)
   ========================================================================== */
.kc-services-section {
  padding: 90px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 46px;
}

.filter-tab {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.filter-tab:hover {
  background: #f8fafc;
  color: var(--brand-navy);
  border-color: var(--border-medium);
}

.filter-tab.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

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

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-violet {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.icon-mint {
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.card-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  color: #cbd5e1;
  font-weight: 700;
}

.card-title {
  font-size: 1.22rem;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-features {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}

.card-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 7px;
}

.card-features li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1;
}

.card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: auto;
}

.card-action:hover {
  gap: 10px;
  color: var(--brand-navy);
}

.highlight-card {
  border: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.highlight-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   5. WHY KRESS COOPER TECHNOLOGIES
   ========================================================================== */
.kc-why-section {
  padding: 90px 0;
  background: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

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

.point-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  border: 1px solid rgba(5, 150, 105, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.point-title {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.point-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

.why-stat-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.badge-accent {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.card-header-text {
  font-size: 1.35rem;
  margin-bottom: 26px;
  color: var(--text-heading);
}

.progress-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.prog-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.prog-bar {
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  border-radius: 4px;
}

.fill-violet {
  background: var(--brand-blue);
}
.fill-mint {
  background: var(--brand-emerald);
}

.hotline-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--brand-navy);
  border: 1px solid var(--brand-navy-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hotline-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hotline-lbl {
  display: block;
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  font-weight: 700;
}

.hotline-num {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.hotline-num:hover {
  color: #60a5fa;
}

/* ==========================================================================
   6. OUR PROCESS
   ========================================================================== */
.kc-process-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

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

.process-step {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.process-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.process-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   7. TECH STACK
   ========================================================================== */
.kc-stack-section {
  padding: 70px 0;
  background: #ffffff;
}

.stack-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.stack-tag {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.stack-tag:hover {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   8. CONTACT SECTION
   ========================================================================== */
.kc-contact-section {
  padding: 90px 0 110px;
  background: var(--bg-surface);
}

.contact-dual-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-details-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.contact-info-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.info-value {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 3px 0;
  display: block;
}

.info-value:hover {
  color: var(--brand-blue);
}

.info-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
  margin-top: 6px;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4);
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.45rem;
  margin-bottom: 6px;
  color: var(--text-heading);
}

.form-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

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

.input-wrap label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-heading);
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: var(--text-subtle);
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-wrap select {
  cursor: pointer;
}

.input-wrap select option {
  background: #ffffff;
  color: var(--text-heading);
}

.btn-submit {
  width: 100%;
  margin-top: 8px;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.kc-footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 28px;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-bio {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 18px 0;
}

.footer-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: #e2e8f0;
  font-weight: 600;
}

.hub-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.footer-heading {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-list li {
  margin-bottom: 9px;
}

.footer-list a {
  font-size: 0.86rem;
  color: #cbd5e1;
}

.footer-list a:hover {
  color: #60a5fa;
  padding-left: 4px;
}

.f-item {
  font-size: 0.86rem;
  color: #94a3b8;
  margin-bottom: 9px;
}

.f-item strong {
  color: #f1f5f9;
}

.f-item a {
  color: #e2e8f0;
}

.f-item a:hover {
  color: #60a5fa;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94a3b8;
}

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

.footer-legal-links a:hover {
  color: #60a5fa;
}

/* ==========================================================================
   10. FLOATING WHATSAPP & TOAST
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.toast-box {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-float);
  z-index: 2000;
  transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-box.show {
  bottom: 30px;
}

.t-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
}

.t-title {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.92rem;
}

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

.toast-box.is-error {
  border-color: rgba(239, 68, 68, 0.4);
}

.toast-box.is-error .t-icon {
  background: #fee2e2;
  color: #ef4444;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .contact-dual-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .topbar-right {
    display: none;
  }
}

.drawer-header img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-brand-col img {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

/* ==========================================================================
   MAGIC UI - MORPHING TEXT COMPONENT
   ========================================================================== */
.morph-filters {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  border: 0;
  overflow: hidden;
}

.morphing-text-container {
  position: relative;
  display: block;
  width: 100%;
  height: 1.24em;
  filter: url(#threshold) blur(0.6px);
  -webkit-filter: url(#threshold) blur(0.6px);
  user-select: none;
  margin: 6px 0;
  overflow: visible;
}

.morph-text {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 100%;
  color: var(--brand-blue);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
  user-select: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-title-suffix {
  display: block;
  color: var(--text-heading);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .morphing-text-container {
    height: 1.26em;
    margin: 4px 0;
  }
  .morph-text {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .morph-text {
    font-size: 0.9em;
  }
}


/* ==========================================================================
   ENTERPRISE TERMINAL CODE EFFECT COMPONENT
   ========================================================================== */
.hero-terminal-card {
  background: #0a0e1c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow:
    0 24px 60px -12px rgba(15, 23, 42, 0.35),
    0 0 35px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 425px;
}

.hero-terminal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #059669 100%);
  z-index: 10;
}

/* Terminal Header */
.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: #11172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
  flex-wrap: nowrap;
}

.terminal-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.85;
}

.t-dot-red { background: #ef4444; }
.t-dot-yellow { background: #f59e0b; }
.t-dot-green { background: #10b981; }

/* Tabs */
.terminal-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.terminal-tabs::-webkit-scrollbar {
  display: none;
}

.terminal-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.terminal-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}

.terminal-tab.active {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.tab-svg {
  flex-shrink: 0;
}

/* Status Pill */
.terminal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(5, 150, 105, 0.15);
  border: 1px solid rgba(5, 150, 105, 0.3);
  border-radius: var(--radius-pill);
  color: #34d399;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* Terminal Body */
.terminal-body {
  padding: 18px 20px;
  background: #0a0e1c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #e2e8f0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 300px;
  max-height: 340px;
  overflow-y: auto;
}

.terminal-prompt-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.t-user {
  color: #38bdf8;
  font-weight: 700;
}

.t-colon {
  color: #64748b;
}

.t-path {
  color: #a78bfa;
}

.t-dollar {
  color: #34d399;
  font-weight: 800;
}

.t-cmd {
  color: #ffffff;
  font-weight: 600;
  word-break: break-all;
}

.t-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #38bdf8;
  vertical-align: middle;
  margin-left: 3px;
  animation: blinkCursor 0.9s step-end infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Terminal Output Stream */
.terminal-output {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.t-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  animation: terminalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes terminalFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.t-time {
  color: #64748b;
  font-size: 0.74rem;
  flex-shrink: 0;
}

.t-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
  line-height: 1.2;
}

.t-badge-info {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.t-badge-ok {
  background: rgba(52, 211, 153, 0.18);
  color: #34d399;
}

.t-badge-star {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
}

.t-badge-sec {
  background: rgba(167, 139, 250, 0.18);
  color: #c4b5fd;
}

.t-text {
  color: #cbd5e1;
  word-break: break-word;
}

.t-text.text-success {
  color: #34d399;
  font-weight: 600;
}

.t-text.text-highlight {
  color: #ffffff;
  font-weight: 700;
}

.t-text.text-meta {
  color: #93c5fd;
}

.t-progress-wrap {
  width: 100%;
  margin: 4px 0 2px;
  background: rgba(255, 255, 255, 0.08);
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
}

.t-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #059669);
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 3px;
}

/* Terminal Footer */
.terminal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  background: #0d1224;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  color: #64748b;
}

.terminal-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.t-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #94a3b8;
}

.t-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.t-meta-dot.dot-green {
  background: #10b981;
}

.terminal-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  cursor: pointer;
  transition: var(--transition);
}

.terminal-replay-btn:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
}

@media (max-width: 768px) {
  .hero-terminal-card {
    min-height: 380px;
  }
  .terminal-body {
    padding: 14px;
    font-size: 0.76rem;
  }
  .terminal-tabs {
    max-width: 210px;
  }
  .terminal-tab .tab-name {
    font-size: 0.68rem;
  }
  .terminal-meta-left span:nth-child(n+2) {
    display: none;
  }
}
