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

/* DESIGN SYSTEM VARIABLES */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a; /* Slate 900 (charcoal) */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #64748b; /* Slate 500 */
  --accent: #0052ff; /* Electric Blue */
  --accent-light: #e0f2fe; /* Light sky blue */
  --accent-gradient: linear-gradient(135deg, #0052ff, #00d2ff);
  --silver-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(226, 232, 240, 0.8);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 36px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.08);
  --max-width: 1280px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s 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;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

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

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

ul {
  list-style: none;
}

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

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

.section {
  padding: 8rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 82, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 82, 255, 0.25);
}

.btn-secondary {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  color: var(--accent);
}

.btn-text {
  padding: 0.5rem 0;
  color: var(--accent);
  font-weight: 600;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.btn-text:hover {
  border-bottom-color: var(--accent);
  padding-right: 0.25rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* HEADER / NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.header-scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition-fast);
}

.header-scrolled .nav-container {
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: height var(--transition-fast);
}

.header-scrolled .logo-img {
  height: 48px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

/* MOBILE NAV */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 8rem 2.5rem 3rem;
    gap: 1.5rem;
    transition: right var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-menu .nav-cta {
    width: 100%;
    margin-top: 2rem;
  }
  
  .nav-menu .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* GLASS CARD CLASS */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 82, 255, 0.2);
}

.glass-card:hover::before {
  opacity: 1;
}

/* HERO SECTION */
.hero {
  padding: 12rem 0 7rem;
  overflow: hidden;
  background-color: var(--bg-primary);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.07) 0%, rgba(0, 82, 255, 0.02) 70%, transparent 100%);
  top: -100px;
  right: -100px;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.04) 0%, transparent 80%);
  bottom: -200px;
  left: -100px;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.hero-content {
  max-width: 640px;
}

@media (max-width: 991px) {
  .hero-content {
    margin: 0 auto;
  }
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-tagline span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 82, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 82, 255, 0); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
}

@media (max-width: 991px) {
  .hero-ctas {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }
}

/* HERO VISUAL PANEL */
.hero-visual {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

.abstract-node-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Floating Shapes in Hero Right Side */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
  z-index: 10;
}

.floating-card-1 {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 20%;
  right: 5%;
  animation-delay: 2s;
}

.floating-card-3 {
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  animation: float-reverse 7s ease-in-out infinite;
  animation-delay: 1s;
}

.floating-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.floating-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.floating-info p {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
}

/* System diagram SVG in hero visual */
.system-diagram {
  width: 100%;
  height: 100%;
  max-width: 420px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.diagram-grid {
  stroke: var(--glass-border);
  stroke-width: 1;
  stroke-dasharray: 4;
}

.diagram-node {
  fill: var(--bg-primary);
  stroke: var(--accent);
  stroke-width: 2;
  transition: all var(--transition-fast);
}

.diagram-node:hover {
  fill: var(--accent);
  filter: drop-shadow(0 0 8px rgba(0, 82, 255, 0.5));
}

.diagram-edge {
  stroke: var(--glass-border);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 8 4;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes float-reverse {
  0% { transform: translate(-50%, 0px); }
  50% { transform: translate(-50%, 15px); }
  100% { transform: translate(-50%, 0px); }
}

/* TRUST STRIP */
.trust-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.trust-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-logo-item {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-logo-item svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
}

@media (max-width: 768px) {
  .trust-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .trust-logos {
    justify-content: center;
  }
}

/* SERVICES BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bento-item-large {
  grid-column: span 2;
}

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

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item-large {
    grid-column: span 1;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-icon-box {
  width: 50px;
  height: 50px;
  background: var(--accent-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.service-footer {
  margin-top: auto;
}

/* INDUSTRIES GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

.industry-card {
  padding: 2rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-primary);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 82, 255, 0.2);
}

.industry-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.industry-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.industry-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.industry-pain-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

.industry-card:hover .industry-pain-tag {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: transparent;
}

/* WHY CRAACT SECTION */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

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

.why-card {
  text-align: left;
}

.why-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.why-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* CASE STUDIES SECTION */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

.case-card {
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 82, 255, 0.2);
}

.case-img-container {
  width: 100%;
  height: 240px;
  background: var(--silver-gradient);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.case-graphic-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-graphic-canvas {
  transform: scale(1.05);
}

.case-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.case-client {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.case-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.case-stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

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

/* TECH STACK SECTION */
.tech-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin-top: 3rem;
}

.tech-chip {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background-color: var(--bg-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.tech-chip:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 82, 255, 0.08);
  color: var(--accent);
}

.tech-chip svg {
  width: 20px;
  height: 20px;
}

/* SECURITY SECTION */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

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

.security-visual {
  background: var(--silver-gradient);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.security-badge {
  position: absolute;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 5s ease-in-out infinite;
}

.sec-badge-1 {
  top: 15%;
  left: 10%;
}

.sec-badge-2 {
  bottom: 15%;
  right: 10%;
  animation-delay: 2.5s;
}

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

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

.security-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* PROCESS SECTION (TIMELINE) */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--glass-border);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .process-timeline::before {
    left: 20px;
  }
}

.process-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-node {
  width: 40px;
  height: 40px;
  background-color: var(--bg-primary);
  border: 4px solid var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

.process-content {
  width: 44%;
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.process-step:nth-child(even) .process-content {
  margin-left: auto;
}

.process-step:nth-child(odd) .process-content {
  margin-right: auto;
  text-align: right;
}

.process-step:hover .process-content {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.process-step:hover .process-node {
  background-color: var(--accent);
  color: #ffffff;
}

@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    align-items: flex-start;
  }
  .process-node {
    left: 20px;
    transform: translateX(-50%);
  }
  .process-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    text-align: left !important;
  }
}

.process-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* CTA BLOCK */
.cta-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-block .hero-ctas {
  justify-content: center;
}

.cta-block h2 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .cta-block h2 {
    font-size: 2.5rem;
  }
}

.cta-block p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

/* FAQ SECTION */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease;
  margin-top: 0;
}

.faq-answer p {
  padding-top: 1rem;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* INSIGHTS / BLOG */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.insight-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 82, 255, 0.2);
}

.insight-img {
  height: 200px;
  background: var(--silver-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.insight-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.insight-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.insight-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* PRODUCTS PAGE SPECIFIC */
.product-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}

.product-tag {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.product-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.product-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

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

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

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

.product-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-status {
  align-self: flex-start;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #f1f5f9;
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-users {
  margin: 1.5rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-waitlist {
  max-width: 600px;
  margin: 4rem auto 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
}

.product-waitlist h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.waitlist-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }
}

.form-input {
  flex-grow: 1;
  padding: 1rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

/* CONTACT PAGE SPECIFIC */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

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

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item-details p, .contact-item-details a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-item-details a:hover {
  color: var(--accent);
}

.contact-form-panel {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
  .contact-form-panel {
    padding: 1.5rem;
  }
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-full {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .form-group-full {
    grid-column: span 1;
  }
}

.form-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--glass-border);
  background-color: var(--bg-primary);
  padding: 5rem 0 2rem;
}

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

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

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

.footer-brand {
  max-width: 280px;
}

.footer-brand-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 0.25rem;
}

.footer-link-badge {
  display: inline-block;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* SCROLL REVEAL ANIMATIONS (INTEGRATED WITH JS) */
.reveal {
  opacity: 0;
  transition: all var(--transition-slow);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: -350px;
  width: 320px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem;
  z-index: 2000;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toast.show {
  right: 2rem;
}

.toast h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.toast p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* PREMIUM MOBILE-FIRST STYLING UPGRADES */
@media (max-width: 768px) {
  /* Dynamic typography sizing for cleaner mobile layouts */
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  /* Responsive compact paddings */
  .section {
    padding: 4.5rem 0;
  }

  /* Smooth Horizontal Scroll for Tech Stack & Chips (Stripe-like sliding panels) */
  .tech-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 1rem 1.5rem !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    justify-content: flex-start !important;
    gap: 0.75rem !important;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
  }

  .tech-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .tech-chip {
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Compact Hero Visual for Mobile */
  .hero-visual {
    height: 320px;
    margin-top: 1.5rem;
  }
  
  .system-diagram {
    max-width: 260px;
  }

  .floating-card {
    padding: 0.6rem 0.85rem;
    gap: 0.5rem;
    border-radius: 12px;
  }

  .floating-icon {
    width: 30px;
    height: 30px;
  }

  .floating-info h4 {
    font-size: 0.75rem;
  }

  .floating-info p {
    font-size: 0.65rem;
  }

  .floating-card-1 {
    top: 5%;
    left: 2%;
  }

  .floating-card-2 {
    bottom: 5%;
    right: 2%;
  }

  .floating-card-3 {
    top: 45%;
    left: 50%;
  }
}

@media (max-width: 480px) {
  /* Smaller margins and padded bento boxes for thin viewports */
  .glass-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--border-radius-md);
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .trust-strip {
    padding: 2rem 0;
  }
}

/* Touch Device Tactile Feedback (Haptic feel on tap) */
@media (hover: none) {
  .glass-card:active,
  .btn:active,
  .tech-chip:active,
  .industry-card:active,
  .nav-link:active {
    transform: scale(0.97) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    transition: transform 0.1s ease !important;
  }
}

/* Modern iOS Style Glass Drawer Mobile Menu */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    box-shadow: -15px 0 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 3rem;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  }
  
  .nav-link::after {
    display: none; /* Disable horizontal hover line on mobile menu */
  }

  .nav-menu .nav-cta {
    margin-top: auto; /* Push contact button to the bottom of the drawer */
    width: 100%;
  }
}
