/* ==========================================================================
   DESIGN SYSTEM — ARFCODE
   A clean, professional, human-designed system. Not AI-aesthetic.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@300;400;600;700;800&display=swap');

:root {
  /* --- Color Palette --- */
  --white:      #ffffff;
  --offwhite:   #f8f8f9;
  --gray-50:    #f4f4f6;
  --gray-100:   #eeeef0;
  --gray-200:   #dcdde0;
  --gray-300:   #b8b9bf;
  --gray-400:   #8a8b94;
  --gray-500:   #5c5d66;
  --gray-700:   #2b2c33;
  --gray-900:   #111116;

  --blue:       #051575; /* Logo Navy Blue */
  --blue-dark:  #020c45;
  --blue-light: #e6e9f5;
  --blue-mid:   #15289f;

  --green:      #00a86b;
  --red:        #e8333a;
  --orange:     #f97316;

  /* --- Semantic Tokens --- */
  --bg:         var(--white);
  --surface:    var(--offwhite);
  --surface-2:  var(--gray-50);
  --border:     var(--gray-100);
  --border-md:  var(--gray-200);

  --text-h:     var(--gray-900);
  --text-body:  var(--gray-700);
  --text-sub:   var(--gray-500);
  --text-muted: var(--gray-400);

  --accent:     var(--blue);
  --accent-bg:  var(--blue-light);

  /* --- Typography --- */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:  'Sora', 'Inter', sans-serif;

  /* --- Spacing --- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-full: 9999px;

  /* --- Shadows --- */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.07);
  --shadow-lg:  0 20px 48px rgba(0,0,0,0.08);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.1);

  /* --- Transitions --- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.15s;
  --t-med:  0.3s;
  --t-slow: 0.55s;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed; /* Keep it fixed in the viewport background */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 850px;
  height: 850px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.085; /* Distinct colored logo watermark */
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-h);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-body); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

.label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 640px;
  margin-top: 8px;
}

.section-heading p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 540px;
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--r-sm);
  transition: all var(--t-med) var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-icon { width: 16px; height: 16px; transition: transform var(--t-fast) ease; }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,85,255,0.2);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 8px 28px rgba(0,85,255,0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-h);
  border-color: var(--border-md);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--accent);
  font-weight: 600;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  border-bottom: 1.5px solid var(--accent);
}
.btn-ghost:hover { opacity: 0.75; }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1160px;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med) var(--ease);
}

.navbar.scrolled {
  top: 8px;
  background: rgba(255,255,255,0.95);
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  transition: padding var(--t-med) var(--ease);
}

.navbar.scrolled .nav-container {
  padding: 6px 24px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--text-h);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: height var(--t-med) var(--ease);
}

.navbar.scrolled .logo-img {
  height: 60px;
}
.logo .dot { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:not(.btn) {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: var(--r-xs);
  transition: all var(--t-fast) ease;
}

.nav-links a:not(.btn):hover {
  color: var(--text-h);
  background: var(--gray-50);
}

.mobile-menu-toggle {
  display: none;
  color: var(--text-h);
  padding: 6px;
}
.mobile-menu-toggle svg { width: 22px; height: 22px; }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: right var(--t-med) var(--ease);
}

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

.mobile-drawer-close { align-self: flex-end; color: var(--text-sub); }
.mobile-drawer-close svg { width: 22px; height: 22px; }

.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 10px 12px;
  border-radius: var(--r-xs);
  transition: all var(--t-fast) ease;
}
.drawer-links a:hover { background: var(--gray-50); color: var(--text-h); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle background grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* Accent glow spots */
.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 0%, rgba(5,21,117,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content-side {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  border: 1px solid rgba(0,85,255,0.15);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-eyebrow svg { width: 13px; height: 13px; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-h);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .accent { color: var(--accent); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-sub);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

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

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.proof-faces {
  display: flex;
}
.proof-face {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--gray-100);
  overflow: hidden;
  margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-sub);
}
.proof-face:first-child { margin-left: 0; }

.proof-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 0.8rem;
}

.proof-text {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.4;
}
.proof-text strong { color: var(--text-h); font-weight: 600; }

/* Hero Right: App Screenshot Window */
.hero-terminal-side {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.dashboard-mockup {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-md);
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 24px 64px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 400px;
  position: relative;
}

/* Decorative floating elements behind window */
.hero-deco-1 {
  position: absolute;
  width: 360px; height: 360px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.085; /* Distinct logo watermark */
  top: -65px; right: -65px;
  z-index: 0;
  pointer-events: none;
}
.hero-deco-2 {
  position: absolute;
  width: 220px; height: 220px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.065; /* Distinct logo watermark */
  bottom: -45px; left: -25px;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-15deg);
}

/* Window Chrome */
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.dash-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 3px;
}

.dash-tab {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 6px;
  transition: all var(--t-fast) ease;
  background: transparent;
}
.dash-tab.active {
  background: var(--white);
  color: var(--text-h);
  box-shadow: var(--shadow-xs);
}
.dash-tab:hover:not(.active) { color: var(--text-body); }

.dash-status {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-indicator {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Mock view panels */
.hero-mock-view {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.hero-mock-view img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ==========================================================================
   LOGO TICKER / PARTNER STRIP
   ========================================================================== */
.ticker-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
}

.ticker-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.ticker-track {
  display: flex;
  gap: 56px;
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-400);
  white-space: nowrap;
  transition: color var(--t-fast) ease;
}
.ticker-item svg { width: 18px; height: 18px; }
.ticker-item:hover { color: var(--text-h); }

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SERVICES / BENTO GRID
   ========================================================================== */
.services {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -80px;
  width: 440px;
  height: 440px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transform: rotate(15deg);
}

.services::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 380px;
  height: 380px;
  background-image: url('images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-10deg);
}

.products-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-slow) var(--ease);
  position: relative;
}

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

.bento-col-2 {
  grid-column: span 2;
  flex-direction: row;
}

.bento-card-header {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-col-2 .bento-card-header {
  width: 44%;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  justify-content: center;
}

.bento-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.bento-card-icon svg { width: 20px; height: 20px; }

.bento-card h3 {
  font-size: 1.05rem;
  color: var(--text-h);
  line-height: 1.35;
}

.bento-card p {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.bento-card-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.bento-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.bento-card-features li::before {
  content: '';
  width: 16px; height: 16px;
  min-width: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230055ff'%3E%3Cpath d='M6.5 11.5L3 8l1.5-1.5 2 2 5-5L13 5l-6.5 6.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 1px;
}

.bento-card-visual {
  background: var(--surface);
  flex: 1;
  overflow: hidden;
  min-height: 220px;
  position: relative;
}

.bento-col-2 .bento-card-visual {
  flex: 1;
  min-height: 280px;
}

.bento-card-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--t-slow) var(--ease);
}

.bento-card:hover .bento-card-visual img {
  transform: scale(1.02);
}

/* Card tag labels */
.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-h);
  box-shadow: var(--shadow-xs);
  z-index: 2;
}

.card-tag.blue { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ==========================================================================
   ABOUT / HOW WE WORK SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text-side {}
.about-text-side h2 { margin-bottom: 16px; }
.about-text-side p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-signature {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.sig-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.sig-name { font-weight: 700; font-size: 0.95rem; color: var(--text-h); }
.sig-title { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: all var(--t-med) var(--ease);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ac-icon-wrapper {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ac-icon-wrapper svg { width: 18px; height: 18px; }

.ac-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.ac-text p { font-size: 0.85rem; color: var(--text-sub); line-height: 1.6; }

/* ==========================================================================
   METRICS / STATS SECTION
   ========================================================================== */
.metrics-section { background: var(--accent); padding: 80px 0; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.metric-val {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-med) var(--ease);
}
.process-step:hover .step-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,85,255,0.25);
}

.process-step h4 { font-size: 1rem; color: var(--text-h); }
.process-step p { font-size: 0.85rem; color: var(--text-sub); line-height: 1.6; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--surface); }

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stars { display: flex; gap: 3px; color: #f59e0b; font-size: 0.85rem; }

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.88rem; color: var(--text-h); }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ / ACCORDION
   ========================================================================== */
.faq-section {}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.faq-item.open {
  border-color: var(--border-md);
  box-shadow: var(--shadow-sm);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  gap: 12px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-h);
  font-family: var(--font-head);
  transition: background var(--t-fast) ease;
}
.faq-question:hover { background: var(--gray-50); }

.faq-icon {
  width: 22px; height: 22px;
  min-width: 22px;
  color: var(--text-muted);
  transition: transform var(--t-med) var(--ease), color var(--t-fast) ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner { padding: 0 22px 20px; }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section { background: var(--surface); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-info {}
.contact-info h2 { margin-bottom: 14px; }
.contact-info p { font-size: 1rem; color: var(--text-sub); line-height: 1.75; margin-bottom: 32px; }

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail span { font-weight: 500; }
.contact-detail a { color: var(--accent); font-weight: 600; }
.contact-detail a:hover { text-decoration: underline; }

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-h);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--gray-50);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-h);
  transition: all var(--t-fast) ease;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,85,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-submit { width: 100%; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -6px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand {}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--accent); }
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast) ease;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }

/* ==========================================================================
   RESPONSIVE — TABLETS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-terminal-side { display: none; }
  .hero { padding-bottom: 64px; }
  .products-bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-col-2 { grid-column: span 2; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */
@media (max-width: 640px) {
  .navbar { top: 12px; width: calc(100% - 24px); }
  .logo-img { height: 60px; }
  .navbar.scrolled .logo-img { height: 48px; }
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero { padding: 110px 0 60px; }
  h1 { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }

  .products-bento-grid { grid-template-columns: 1fr; }
  .bento-col-2 { grid-column: span 1; flex-direction: column; }
  .bento-col-2 .bento-card-header { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }

  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .metric-val { font-size: 2.2rem; }

  .process-steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 64px 0; }
}

/* ==========================================================================
   MISC / UTILITY
   ========================================================================== */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Section heading centered variant */
.section-heading.center { text-align: center; }
.section-heading.center h2, .section-heading.center p { margin-left: auto; margin-right: auto; }

/* Divider line */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Badge chips */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-full);
  border: 1px solid;
}
.badge-green { color: var(--green); background: rgba(0,168,107,0.08); border-color: rgba(0,168,107,0.2); }
.badge-blue  { color: var(--accent); background: var(--accent-bg); border-color: rgba(0,85,255,0.2); }
.badge-red   { color: var(--red); background: rgba(232,51,58,0.07); border-color: rgba(232,51,58,0.2); }
.badge-gray  { color: var(--text-sub); background: var(--gray-50); border-color: var(--border-md); }

/* Highlight text */
.text-highlight {
  background: linear-gradient(135deg, var(--accent), #3377ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Overlay backdrop */
.overlay-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med) ease;
}
.overlay-backdrop.active { opacity: 1; pointer-events: all; }

/* Grid overlay (hero bg) */
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

/* Glow accents (subtle) */
.ambient-glow { display: none; }
.glow-1, .glow-2, .glow-3 { display: none; }

/* Responsive Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Interactive Hero Service Cards */
.hero-service-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-service-card:hover {
  border-color: var(--border-md) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(5, 21, 117, 0.05) !important;
}

/* Footer Social Icons Hover Effects */
.footer-social-icon {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
}

/* Floating WhatsApp Button Hover Animation */
#whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg) !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  background: #20ba5a !important;
}

/* Floating Instagram Button Hover Animation */
#instagram-float:hover {
  transform: scale(1.1) rotate(-5deg) !important;
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.45) !important;
  filter: brightness(1.1);
}

/* Premium Card Hover & Glow Shadow Effects */
.bento-card, .testimonial-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.bento-card:hover, .testimonial-card:hover {
  transform: translateY(-6px) scale(1.006) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.08), 0 0 24px rgba(168, 85, 247, 0.04) !important;
}

/* Smooth FAQ Accordion Fade-in */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}

/* Background Tech Glow Blobs */
.glow-blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
  animation: floatBlob 24s infinite alternate ease-in-out;
  will-change: transform; /* GPU Acceleration for visual performance */
}
.glow-blob-1 {
  background: #6366f1;
  top: 4%;
  left: -12%;
}
.glow-blob-2 {
  background: #a855f7;
  top: 32%;
  right: -12%;
  animation-delay: -6s;
}
.glow-blob-3 {
  background: #3b82f6;
  top: 65%;
  left: -8%;
  animation-delay: -12s;
  width: 380px;
  height: 380px;
}
@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(90px, 70px) scale(1.15) rotate(180deg);
  }
  100% {
    transform: translate(-50px, -90px) scale(0.9) rotate(360deg);
  }
}

/* 🧬 Real-time System Architecture Flowchart CSS */
.flowchart-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
}

.flow-node {
  background: var(--white);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-xs);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-h);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.flow-node:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.flow-arrow {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  animation: pulseArrow 1.5s infinite ease-in-out;
}

@keyframes pulseArrow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* ==========================================================================
   INTERACTIVE GLASSMORPHIC AI CHATBOT WIDGET
   ========================================================================== */
.ai-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 92px; /* Placed next to the floating WhatsApp button */
  z-index: 2999;
  font-family: var(--font-sans);
}

.ai-chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}
.ai-chat-toggle::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: togglePulse 2.2s infinite ease-out;
  opacity: 0.65;
}

@keyframes togglePulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.ai-chat-toggle:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(217, 70, 239, 0.5);
}
.ai-chat-toggle svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.ai-chat-toggle:hover svg {
  animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* 💬 Chatbot Tooltip speech bubble */
.ai-chat-tooltip {
  position: absolute;
  right: 72px;
  bottom: 8px;
  background: var(--gray-900);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
  z-index: 2999;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  animation: tooltipFloat 3s infinite ease-in-out;
}

.ai-chat-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--gray-900);
  border-top: 1px solid rgba(139, 92, 246, 0.35);
  border-right: 1px solid rgba(139, 92, 246, 0.35);
}

@keyframes tooltipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.ai-chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 10px;
  border: 2px solid var(--white);
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.ai-chat-container {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  height: 520px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 40px rgba(99, 102, 241, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}
.ai-chat-container.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.ai-chat-header {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ai-chat-avatar svg { width: 18px; height: 18px; }
.avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 2px solid var(--white);
  border-radius: 50%;
}
.ai-chat-header-info {
  flex: 1;
}
.ai-chat-header-info h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-h);
  margin: 0;
}
.ai-chat-header-info span {
  font-size: 0.72rem;
  color: var(--text-sub);
  display: block;
}
.ai-chat-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  outline: none;
}
.ai-chat-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-h);
}

.ai-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  line-height: 1.5;
  animation: fadeInMsg 0.3s ease forwards;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
  background: var(--gray-50);
  color: var(--text-body);
  border-top-left-radius: var(--r-xs);
  align-self: flex-start;
  border: 1px solid var(--border);
}

.chat-msg.user {
  background: var(--accent);
  color: #fff;
  border-top-right-radius: var(--r-xs);
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(5, 21, 117, 0.1);
}

.chat-msg strong {
  color: inherit;
  font-weight: 700;
}

.ai-chat-suggestions {
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.chat-suggest-btn {
  background: var(--white);
  border: 1px solid var(--border-md);
  border-radius: var(--r-full);
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  outline: none;
}
.chat-suggest-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

.ai-chat-input-area {
  padding: 12px 20px 20px;
  display: flex;
  gap: 10px;
}
.ai-chat-input-area input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  outline: none;
  background: var(--white);
  color: var(--text-h);
  transition: border-color 0.2s;
}
.ai-chat-input-area input:focus {
  border-color: var(--accent);
}
.ai-chat-input-area button {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  outline: none;
}
.ai-chat-input-area button:hover {
  opacity: 0.9;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media (max-width: 640px) {
  .ai-chat-widget {
    bottom: 96px;
    right: 24px; /* Stacked above floating WhatsApp bubble on mobile */
  }
  .ai-chat-container {
    width: calc(100vw - 48px);
    height: 440px;
    bottom: 72px;
  }
}

/* ==========================================================================
   INTERACTIVE PRICING GRID & SAAS PACKAGES (Öneri 3)
   ========================================================================== */
.pricing-section {
  position: relative;
  overflow: hidden;
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pricing-toggle-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-sub);
  transition: color 0.3s;
}

.pricing-toggle-label.active {
  color: var(--accent);
}

.pricing-toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border-md);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.pricing-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-toggle-switch.yearly {
  background: var(--accent);
}

.pricing-toggle-switch.yearly::after {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08);
}

.pricing-card.popular::before {
  content: 'EN POPÜLER';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

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

.pricing-card.popular:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.pricing-header h3 {
  font-size: 1.15rem;
  color: var(--text-h);
  margin-bottom: 8px;
  font-weight: 800;
}

.pricing-header p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.4;
  margin-bottom: 24px;
  min-height: 40px;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-h);
  margin-right: 4px;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-h);
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}

.price-period {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-left: 6px;
}

.pricing-features-list {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-features-list li {
  font-size: 0.82rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features-list li i {
  color: #22c55e;
  flex-shrink: 0;
}

/* ==========================================================================
   SUCCESS CASE STUDIES METRICS (Öneri 2)
   ========================================================================== */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.metric-box {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xs);
}

.metric-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.metric-val {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-h);
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.4;
}

/* ==========================================================================
   INTERACTIVE QR CODE SCAN SIMULATOR (Öneri 4)
   ========================================================================== */
.qr-simulator-card {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}

.qr-simulator-card:hover {
  border-color: #22c55e;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.08);
}

.qr-code-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  background: #fff;
  border: 2px solid var(--border-md);
  border-radius: var(--r-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.qr-code-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  animation: qrScanning 3s infinite linear;
  box-shadow: 0 0 8px #22c55e;
}

@keyframes qrScanning {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

