@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --bg-color: #ffffff;
  --bg-alt: #fafafa;
  --bg-subtle: #f4f4f5;
  --text-color: #09090b;
  --text-muted: #52525b;
  --text-light: #71717a;
  --primary-color: #0052ff;
  --primary-hover: #0041d6;
  --accent-color: #09090b;
  --accent-hover: #18181b;
  --border-color: #e4e4e7;
  --border-subtle: #f4f4f5;
  --card-bg: #ffffff;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle background tech-grid overlay */
.tech-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(9, 9, 11, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.02) 1px, transparent 1px);
  z-index: 0;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-color);
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 24px;
  }
}

/* Header styling (Stripe-like stark minimal header) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(228, 228, 230, 0.6);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-color);
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo svg {
  width: 100%;
  height: 100%;
}

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

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.site-nav a:hover {
  color: var(--text-color);
}

.site-nav a.active {
  color: var(--text-color);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.nav-cta {
  background: var(--accent-color) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 13.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-cta:hover {
  background: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(0, 82, 255, 0.15);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 20px;
  cursor: pointer;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  gap: 8px;
}

.button.primary {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(9, 9, 11, 0.1);
}

.button.primary:hover {
  background: var(--primary-color);
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.2);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.button.secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-color);
  transform: translateY(-1px);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.button.ghost:hover {
  border-color: var(--text-color);
  color: var(--text-color);
  background: var(--bg-alt);
}

/* Sections - Generous Apple-level Spacing */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section.alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-heading {
  margin-bottom: 70px;
  max-width: 750px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 16px;
  background-color: rgba(0, 82, 255, 0.06);
  padding: 6px 12px;
  border-radius: 100px;
}

.section-heading h2 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.section-heading h2 span {
  color: var(--primary-color);
}

.lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Two Column Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 991px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Modern Hero Section */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 95vh;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-color);
}

.hero-content h1 span {
  display: block;
  color: var(--primary-color);
}

.hero-content p {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-muted);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-content p {
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .button {
    width: 100%;
  }
}

/* Premium Tech Visual / Dashboard Mockup (Instead of random screenshots) */
.dashboard-mockup {
  position: relative;
  background-color: #09090b;
  border-radius: 16px;
  border: 1px solid #27272a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 24px;
  font-family: var(--font-mono);
  color: #a1a1aa;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #27272a;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

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

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

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

.dashboard-tabs {
  display: flex;
  gap: 12px;
  font-size: 11px;
}

.dashboard-tab {
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #18181b;
  border: 1px solid #27272a;
}

.dashboard-tab.active {
  background-color: #27272a;
  color: #fff;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  flex-grow: 1;
}

.dashboard-sidebar {
  border-right: 1px solid #27272a;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-item {
  font-size: 11px;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-item.active {
  background-color: rgba(0, 82, 255, 0.15);
  color: #fff;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.metric-card {
  background-color: #18181b;
  border: 1px solid #27272a;
  padding: 12px;
  border-radius: 8px;
}

.metric-card p {
  font-size: 9px;
  color: #71717a;
  margin-bottom: 4px;
}

.metric-card h4 {
  font-size: 16px;
  color: #fff;
  font-family: var(--font-mono);
}

.metric-card span {
  font-size: 9px;
  color: #10b981;
}

.workflow-card {
  background-color: #18181b;
  border: 1px solid #27272a;
  padding: 16px;
  border-radius: 8px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}

.step-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 9px;
}

.step-indicator.active {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 82, 255, 0.5);
}

.step-info {
  flex-grow: 1;
}

.step-progress-bar {
  height: 4px;
  background-color: #27272a;
  border-radius: 2px;
  margin-top: 4px;
}

.step-progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 2px;
  width: 75%;
}

/* Dashboard Mockup Mobile Optimizations */
@media (max-width: 991px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .dashboard-mockup {
    aspect-ratio: auto;
    padding: 16px;
  }
  .dashboard-sidebar {
    border-right: none;
    border-bottom: 1px solid #27272a;
    padding-right: 0;
    padding-bottom: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .sidebar-item {
    padding: 6px 10px;
  }
  .sidebar-item[style*="margin-top: auto"],
  .sidebar-item:last-child {
    margin-top: 0 !important;
  }
  .metrics-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Dynamic grid/bento layouts for solutions */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.bento-card.col-span-3 {
  grid-column: span 3;
}

.bento-card .icon-wrap {
  width: 48px;
  height: 48px;
  background-color: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.bento-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.bento-card p {
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.col-span-2,
  .bento-card.col-span-3 {
    grid-column: span 1;
  }
}

/* Stunning Interactive Case Study Hub */
.case-studies-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-study-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.case-study-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.case-study-tab-btn:hover {
  color: var(--text-color);
  background-color: var(--bg-alt);
}

.case-study-tab-btn.active {
  color: #fff;
  background-color: var(--accent-color);
}

.case-study-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.case-study-content.active {
  display: block;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

@media (max-width: 991px) {
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.case-study-visual {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: 16px;
}

.cs-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.cs-tech-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
}

.cs-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.cs-metric-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.04em;
}

.cs-metric-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.case-study-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cs-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-section h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-family: var(--font-mono);
  font-weight: 600;
}

.cs-section p {
  font-size: 15px;
  line-height: 1.6;
}

.cs-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-section ul li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.cs-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Interactive Bento Dashboard Visuals for Case Studies */
.bento-mockup-platform {
  background-color: #09090b;
  border-radius: 12px;
  border: 1px solid #27272a;
  padding: 16px;
  font-family: var(--font-mono);
  color: #f4f4f5;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #27272a;
  padding-bottom: 10px;
}

.bento-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bento-bar-container {
  width: 100px;
  height: 6px;
  background-color: #27272a;
  border-radius: 4px;
  overflow: hidden;
}

.bento-bar {
  height: 100%;
  background-color: var(--primary-color);
}

.bento-bar.green { background-color: #10b981; }
.bento-bar.purple { background-color: #8b5cf6; }

/* Real Engineering Stats Block (Replacing Fake Testimonials) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  margin-top: 60px;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 40px 0;
  }
}

/* Process Timeline (Custom engineering architecture flow) */
.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.process-step {
  position: relative;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: inline-block;
  background-color: rgba(0, 82, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
}

@media (max-width: 991px) {
  .process-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.is-open {
  border-color: var(--text-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  font-size: 15px;
  line-height: 1.6;
}

/* Contact Intake Form Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-method .icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-color);
}

.contact-method h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-method p {
  font-size: 14px;
}

.enquiry-form {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-color);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.05);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2352525b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

/* Footer (Professional Solutions, Cases, Tech, Contact, Socials) */
.site-footer {
  background-color: var(--accent-color);
  color: #8a8a93;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-logo {
  background-color: transparent;
}

.site-footer .brand-logo svg {
  /* Keep default gradient styles */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

.footer-col h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: #a1a1aa;
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: #a1a1aa;
  font-size: 16px;
}

.footer-socials a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 98;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Floating WhatsApp Link */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered load lists support */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Mobile Menu Overlays */
.site-nav.active {
  display: flex;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--bg-color);
  flex-direction: column;
  padding: 40px;
  gap: 24px;
  z-index: 999;
  border-top: 1px solid var(--border-color);
  animation: fadeIn 0.3s ease;
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* Signature Admin Dashboard Showcase */
.db-showcase-container {
  background-color: #09090b;
  border: 1px solid #27272a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}
.db-showcase-header {
  background-color: #18181b;
  border-bottom: 1px solid #27272a;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.db-showcase-dots {
  display: flex;
  gap: 6px;
}
.db-showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.db-showcase-dot.red { background-color: #ef4444; }
.db-showcase-dot.yellow { background-color: #f59e0b; }
.db-showcase-dot.green { background-color: #10b981; }

.db-showcase-tabs {
  display: flex;
  gap: 4px;
  background-color: #09090b;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #27272a;
}
.db-showcase-tab {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a1a1aa;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.db-showcase-tab:hover {
  color: #fff;
}
.db-showcase-tab.active {
  background-color: #18181b;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.db-showcase-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
}
@media (max-width: 768px) {
  .db-showcase-layout {
    grid-template-columns: 1fr;
  }
}
.db-showcase-sidebar {
  background-color: #18181b;
  border-right: 1px solid #27272a;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 768px) {
  .db-showcase-sidebar {
    display: none;
  }
}
.db-sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #a1a1aa;
  transition: all 0.2s ease;
}
.db-sidebar-nav-item.active {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.db-showcase-content {
  padding: 32px;
  background-color: #09090b;
  color: #fff;
}
.db-showcase-view {
  display: none;
}
.db-showcase-view.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Dashboard Metrics */
.db-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.db-metric-box {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 20px;
}
.db-metric-box p {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #71717a;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.db-metric-box h4 {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}
.db-metric-box span {
  font-size: 12px;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Dashboard Tables */
.db-table-wrapper {
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  overflow-x: auto;
}
.db-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}
.db-table th {
  padding: 14px 20px;
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid #27272a;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.db-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #27272a;
  color: #e4e4e7;
}
.db-table tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.db-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
}
.db-status-badge.approved { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.db-status-badge.pending { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.db-status-badge.cancelled { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* Interactive Toggle Switches */
.db-toggle-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #18181b;
  border: 1px solid #27272a;
  padding: 14px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.db-toggle-switch:hover {
  border-color: #3f3f46;
}
.db-toggle-slider {
  width: 40px;
  height: 20px;
  background-color: #27272a;
  border-radius: 9999px;
  position: relative;
  transition: background-color 0.3s ease;
}
.db-toggle-slider::after {
  content: '';
  width: 14px;
  height: 14px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.db-toggle-switch.active .db-toggle-slider {
  background-color: #10b981;
}
.db-toggle-switch.active .db-toggle-slider::after {
  transform: translateX(20px);
}
.db-toggle-info {
  display: flex;
  flex-direction: column;
}
.db-toggle-info span {
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
}
.db-toggle-info p {
  font-size: 11px;
  color: #71717a;
  margin-top: 1px;
}

/* Action Buttons */
.db-action-btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}
.db-action-btn.approve-btn {
  background-color: #10b981;
  color: #fff;
}
.db-action-btn.approve-btn:hover { background-color: #059669; }
.db-action-btn.reject-btn {
  background-color: #ef4444;
  color: #fff;
}
.db-action-btn.reject-btn:hover { background-color: #dc2626; }

/* SVG Mini Charts */
.db-chart-svg {
  width: 100%;
  height: 120px;
  stroke: #0052ff;
  stroke-width: 2.5;
  fill: none;
}
.db-chart-container {
  position: relative;
  background-color: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

/* Timeline & Process Section */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 50px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 1px;
  background-color: var(--border-color);
  z-index: 0;
}
.process-step-item {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 42px;
  height: 42px;
  background-color: var(--bg-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.process-step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 30px;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step-card:hover {
  transform: translateX(4px);
  border-color: var(--text-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.process-step-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.process-step-card p {
  font-size: 14.5px;
  line-height: 1.6;
}
.process-step-outcome {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Immersive Case Study Layouts */
.cs-hero-section {
  padding-top: 180px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-color);
}
.cs-header-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}
@media (max-width: 991px) {
  .cs-header-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.cs-meta-sidebar {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
}
.cs-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}
.cs-meta-row:last-child {
  border-bottom: none;
}
.cs-meta-label {
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.cs-meta-value {
  font-weight: 500;
  text-align: right;
}
.cs-body-block {
  padding: 80px 0;
}
.cs-narrative {
  max-width: 800px;
  margin: 0 auto;
}
.cs-narrative h2 {
  font-size: 32px;
  margin-bottom: 24px;
}
.cs-narrative p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.cs-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.cs-feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
}
.cs-feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.cs-feature-card p {
  font-size: 14.5px;
}
.cs-narrative h3 {
  font-size: 24px;
  margin-top: 48px;
  margin-bottom: 16px;
}

/* DAY WEB STUDIO — Perfect Mobile Responsiveness Utilities */

/* Fully responsive page h1 title */
.page-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}
@media (max-width: 991px) {
  .page-title {
    font-size: 44px;
  }
}
@media (max-width: 768px) {
  .page-title {
    font-size: 34px;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
}
@media (max-width: 480px) {
  .page-title {
    font-size: 28px;
  }
}

/* Fully responsive page h2 section title */
.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-color);
}
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
    margin-bottom: 16px;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
}

/* Fully responsive page header section padding */
.page-header-section {
  padding-top: 180px;
  padding-bottom: 60px;
}
@media (max-width: 768px) {
  .page-header-section {
    padding-top: 120px;
    padding-bottom: 40px;
  }
}

/* Responsive 2-column tech stack grid utility */
.tech-stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 576px) {
  .tech-stack-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Swipeable tabs container on mobile database showcase */
@media (max-width: 768px) {
  .db-showcase-tabs {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .db-showcase-tabs::-webkit-scrollbar {
    display: none;
  }
  .db-showcase-content {
    padding: 16px;
  }
  
  /* Compact headers and menu links with gorgeous touch targets */
  .site-header {
    padding: 16px 0 !important;
  }
  .site-header.scrolled {
    padding: 12px 0 !important;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }
  .nav-toggle:active {
    background-color: var(--border-color);
  }
  .site-nav.active {
    top: 64px;
    height: calc(100vh - 64px);
    padding: 32px 24px;
    gap: 16px;
    overflow-y: auto;
  }
  .site-nav.active a {
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    display: block;
    box-sizing: border-box;
  }
  .site-nav.active a:last-of-type {
    border-bottom: none;
  }
  .site-nav.active .nav-cta {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 12px;
  }
  
  /* FAQ question padding and arrow collision safeguard */
  .faq-question {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  /* Prevent stats grid columns from squishing and breaking text flow */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

