/* ==========================================================================
   SoloStack — Production Stylesheet
   Mobile-first | Bootstrap 5.3 complement | Premium SaaS aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors (from logo) */
  --brand-navy: #031241;
  --brand-blue: #006AFB;
  --primary: #006AFB;
  --primary-dark: #0052D4;
  --primary-light: #3B8CFF;
  --secondary: #7C3AED;
  --secondary-dark: #6D28D9;
  --accent: #06B6D4;
  --accent-dark: #0891B2;
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --dark: #0F172A;
  --dark-soft: #1E293B;
  --white: #FFFFFF;
  --text: #334155;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px rgba(0, 106, 251, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A5F 40%, #312E81 100%);
  --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
  --navbar-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* Dark mode overrides */
[data-theme="dark"] {
  --bg: #0F172A;
  --bg-alt: #1E293B;
  --dark: #F8FAFC;
  --dark-soft: #E2E8F0;
  --white: #1E293B;
  --text: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #334155;
  --glass-bg: rgba(30, 41, 59, 0.75);
  --glass-border: rgba(148, 163, 184, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0F172A 50%, #1E1B4B 100%);
}

/* --------------------------------------------------------------------------
   Base & Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--dark);
}

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

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

::selection {
  background: var(--primary);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Scroll Progress Bar
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Page Loader — Tech Style
   -------------------------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  overflow: hidden;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 106, 251, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 106, 251, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-pan 20s linear infinite;
}

@keyframes grid-pan {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(40px); }
}

.loader-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 106, 251, 0.03) 50%,
    transparent 100%
  );
  background-size: 100% 4px;
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

@keyframes scanline {
  0% { background-position: 0 -100vh; }
  100% { background-position: 0 100vh; }
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: loader-fade-in 0.6s ease forwards;
}

.loader-logo .brand-icon {
  width: auto;
  height: 44px;
  font-size: 1.5rem;
  animation: loader-pulse 2s ease infinite;
}

/* Loader sits on a near-black backdrop in both themes — force the logo
   white so the dark-navy portion never disappears. */
.loader-logo .brand-icon img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.loader-brand-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.loader-terminal {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.875rem;
  color: #22D3EE;
  margin-bottom: 1.5rem;
  min-height: 1.5rem;
}

.loader-prompt {
  color: var(--primary-light);
  margin-right: 0.5rem;
}

.loader-cursor-blink {
  animation: blink 1s step-end infinite;
  color: #22D3EE;
}

@keyframes blink {
  50% { opacity: 0; }
}

.loader-progress-wrap {
  width: 280px;
  max-width: 80vw;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  margin: 0 auto 0.75rem;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 100px;
  box-shadow: 0 0 20px rgba(0, 106, 251, 0.6);
  transition: width 0.15s ease;
}

.loader-percent {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
}

.loader-orbit {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 2rem auto 0;
}

.loader-orbit-ring {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.loader-orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: orbit-spin 1.2s linear infinite;
}

@keyframes orbit-spin {
  from { transform: rotate(0deg) translateX(36px); }
  to { transform: rotate(360deg) translateX(36px); }
}

@keyframes loader-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes loader-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 106, 251, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(0, 106, 251, 0); }
}

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

/* --------------------------------------------------------------------------
   Custom Cursor
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
  .has-custom-cursor,
  .has-custom-cursor a,
  .has-custom-cursor button {
    cursor: none !important;
  }

  .cursor-dot,
  .cursor-ring,
  .cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    will-change: transform;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin: -3px 0 0 -3px;
    transition: width 0.2s, height 0.2s, margin 0.2s, background 0.2s;
    box-shadow: 0 0 10px var(--primary);
  }

  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0, 106, 251, 0.5);
    border-radius: 50%;
    margin: -18px 0 0 -18px;
    transition: width 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28),
                height 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28),
                margin 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28),
                border-color 0.2s, background 0.2s;
  }

  .cursor-glow {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    background: radial-gradient(circle, rgba(0, 106, 251, 0.08) 0%, transparent 70%);
    transition: opacity 0.3s;
    z-index: 99997;
  }

  .cursor-hover .cursor-dot {
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent);
  }

  .cursor-hover .cursor-ring {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.06);
  }

  .cursor-click .cursor-ring {
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
  }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring,
  .cursor-glow {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Typography Consistency — Poppins headings, Inter body
   -------------------------------------------------------------------------- */
.about-block-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.about-block-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.stat-label,
.portfolio-category,
.section-label,
.pricing-plan,
.pricing-desc,
.feature-card p,
.service-card p,
.process-step p,
.testimonial-company,
.contact-info-item p,
.footer-desc,
.footer-links a,
.accordion-body {
  font-family: var(--font-body);
}

.feature-card h4,
.service-card h3,
.portfolio-body h3,
.process-step h3,
.pricing-plan,
.testimonial-author,
.contact-info-item h5,
.footer h5 {
  font-family: var(--font-heading);
}

/* Override Bootstrap small utility where used in content blocks */
.about-stats .stat-label,
.feature-card p {
  font-size: 0.875rem;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.9rem 0.35rem 0.7rem;
  background: rgba(0, 106, 251, 0.08);
  border: 1px solid rgba(0, 106, 251, 0.16);
  border-radius: 100px;
}

.section-label::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-primary);
}

[data-theme="dark"] .section-label {
  background: rgba(0, 106, 251, 0.14);
  border-color: rgba(0, 106, 251, 0.26);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hover-lift {
  transition: transform var(--transition), box-shadow var(--transition);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-gradient {
  background: var(--gradient-primary);
  border: none;
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(0, 106, 251, 0.35);
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 106, 251, 0.45);
  color: var(--white) !important;
}

.btn-gradient:active {
  transform: translateY(0);
}

.btn-outline-gradient {
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg), var(--bg)), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--primary) !important;
  font-weight: 600;
  padding: 0.7rem 1.65rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

[data-theme="dark"] .btn-outline-gradient {
  background-image: linear-gradient(var(--bg), var(--bg)), var(--gradient-primary);
}

.btn-outline-gradient:hover {
  background-image: var(--gradient-primary), var(--gradient-primary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Ripple effect container */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar-solostek {
  height: var(--navbar-height);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition), box-shadow var(--transition);
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-solostek.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
}

.navbar-brand .brand-icon img {
  height: 36px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* Dark theme: recolor the two-tone (navy + blue) logo to stay legible
   against the dark navbar background. */
[data-theme="dark"] .navbar-brand .brand-icon img {
  filter: brightness(0) invert(1);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark) !important;
  padding: 0.5rem 0.875rem !important;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

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

.nav-link.active {
  background: rgba(0, 106, 251, 0.08);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.navbar-toggler {
  border-color: var(--border);
  padding: 0.375rem 0.625rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 106, 251, 0.25);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--navbar-height);
}

/* Tech grid overlay */
.tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Particle canvas */
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

/* Glowing orbs */
.hero-glow-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 15s ease-in-out infinite;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 106, 251, 0.25);
  top: -10%;
  right: 10%;
}

.glow-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(124, 58, 237, 0.2);
  bottom: 10%;
  left: -5%;
  animation-delay: -5s;
}

.glow-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(6, 182, 212, 0.15);
  top: 40%;
  left: 40%;
  animation-delay: -10s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Floating tech icons */
.floating-tech-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.tech-float-icon {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.125rem;
  backdrop-filter: blur(8px);
  animation: tech-float 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes tech-float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-18px) rotate(5deg); opacity: 0.9; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 106, 251, 0.3), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(124, 58, 237, 0.2), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(6, 182, 212, 0.15), transparent);
  pointer-events: none;
}

/* Floating animated shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: 10%;
  left: -8%;
  animation-delay: -5s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 40%;
  right: 30%;
  animation-delay: -10s;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: var(--primary-light);
  bottom: 30%;
  right: 10%;
  animation-delay: -15s;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(5deg); }
  50% { transform: translate(-15px, 20px) rotate(-3deg); }
  75% { transform: translate(25px, 15px) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: linear-gradient(135deg, rgba(0, 106, 251, 0.22), rgba(124, 58, 237, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 106, 251, 0.25);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.hero h1,
.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-line {
  display: block;
}

.hero-typed {
  display: inline-block;
  position: relative;
}

.hero-typed::after {
  content: '|';
  color: var(--accent);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

.hero .gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-cta .btn-outline-gradient {
  background-image: linear-gradient(transparent, transparent), linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.2));
  color: var(--white) !important;
  border-width: 1px;
}

.hero-cta .btn-outline-gradient:hover {
  background-image: var(--gradient-primary), var(--gradient-primary);
}

/* Hero illustration */
.hero-illustration {
  position: relative;
  z-index: 2;
}

.hero-mockup {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 60px rgba(0, 106, 251, 0.18);
}

.hero-mockup::before {
  content: '';
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 106, 251, 0.35), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.mockup-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #22C55E; }

.mockup-body {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  min-height: 280px;
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 120px;
  margin-bottom: 1.25rem;
}

.chart-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: 4px 4px 0 0;
  animation: grow-bar 1.5s ease forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

.chart-bar:nth-child(1) { height: 60%; animation-delay: 0.2s; }
.chart-bar:nth-child(2) { height: 85%; animation-delay: 0.4s; }
.chart-bar:nth-child(3) { height: 45%; animation-delay: 0.6s; }
.chart-bar:nth-child(4) { height: 95%; animation-delay: 0.8s; }
.chart-bar:nth-child(5) { height: 70%; animation-delay: 1s; }
.chart-bar:nth-child(6) { height: 55%; animation-delay: 1.2s; }

@keyframes grow-bar {
  to { transform: scaleY(1); }
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mockup-stat {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
}

.mockup-stat-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.mockup-stat-label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.125rem;
  box-shadow: var(--shadow-lg);
  animation: float-card 6s ease-in-out infinite;
}

.floating-card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: -3s;
}

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

.floating-card i {
  font-size: 1.25rem;
  color: var(--primary);
}

.floating-card span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
  display: block;
}

/* Trusted by */
.trusted-by {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trusted-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.trusted-logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition), transform var(--transition), text-shadow var(--transition);
}

.trusted-logo:hover {
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  animation: bounce 2s ease infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --------------------------------------------------------------------------
   Trusted-By Marquee Stripe
   -------------------------------------------------------------------------- */
.marquee-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
  overflow: hidden;
}

.marquee-strip .marquee-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.marquee-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 4rem;
  animation: marquee-scroll 24s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  white-space: nowrap;
  color: var(--text-muted);
  opacity: 0.65;
  transition: color var(--transition), opacity var(--transition);
}

.marquee-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.marquee-item:hover {
  color: var(--dark);
  opacity: 1;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 2rem;
  }
  .marquee-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* --------------------------------------------------------------------------
   Section Spacing
   -------------------------------------------------------------------------- */
.section {
  padding: 5.5rem 0;
}

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

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-experience-badge .label {
  font-size: 0.75rem;
  opacity: 0.9;
}

.feature-card {
  padding: 1.75rem;
  height: 100%;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 106, 251, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
  color: var(--primary);
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.05);
}

.feature-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* Stats row in about */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 576px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

[data-theme="dark"] .stat-item {
  background: var(--bg-alt);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.service-card {
  position: relative;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 2;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  transition: transform var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary);
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 0.625rem;
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   Technologies Section
   -------------------------------------------------------------------------- */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

[data-theme="dark"] .tech-badge {
  background: var(--bg-alt);
}

.tech-badge:hover {
  border-color: transparent;
  color: #fff;
  background: var(--gradient-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -8px rgba(0, 106, 251, 0.55);
}

.tech-badge i {
  font-size: 1.125rem;
  color: var(--primary);
  transition: color var(--transition);
}

.tech-badge:hover i {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Portfolio Section
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

[data-theme="dark"] .filter-btn {
  background: var(--bg-alt);
}

.filter-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(0, 106, 251, 0.6);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.45s ease;
}

[data-theme="dark"] .portfolio-card {
  background: var(--bg-alt);
}

/* Gradient glow ring on hover */
.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient-text);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow: 0 32px 60px -18px rgba(3, 18, 65, 0.45);
}

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

.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

/* Category chip floating on the image */
.portfolio-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(3, 18, 65, 0.35);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
}

.portfolio-chip i {
  font-size: 0.85rem;
}

/* Cinematic scrim + action overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(3, 18, 65, 0.78) 0%, rgba(3, 18, 65, 0.10) 45%, transparent 75%);
  transition: background 0.45s ease;
}

.portfolio-card:hover .portfolio-overlay {
  background: linear-gradient(to top, rgba(3, 18, 65, 0.92) 0%, rgba(3, 18, 65, 0.55) 55%, rgba(3, 18, 65, 0.25) 100%);
}

.portfolio-actions {
  display: flex;
  gap: 0.6rem;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-actions {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-actions .btn {
  font-size: 0.8125rem;
  padding: 0.5rem 1.05rem;
  font-weight: 600;
}

.portfolio-body {
  padding: 1.5rem;
}

.portfolio-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.portfolio-card:hover .portfolio-body h3 {
  color: var(--primary);
}

.portfolio-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.portfolio-tech span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  background: rgba(0, 106, 251, 0.09);
  border-radius: 100px;
  color: var(--primary);
}

[data-theme="dark"] .portfolio-tech span {
  background: rgba(0, 106, 251, 0.18);
  color: var(--primary-light);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
}

.portfolio-link i {
  transition: transform var(--transition);
}

.portfolio-link:hover {
  color: var(--secondary);
}

.portfolio-link:hover i {
  transform: translateX(5px);
}

.portfolio-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   Process Timeline
   -------------------------------------------------------------------------- */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  position: relative;
  padding: 2rem;
  text-align: center;
}

.process-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 106, 251, 0.08);
  line-height: 1;
}

.process-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 106, 251, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-step:hover .process-icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 106, 251, 0.45);
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Statistics Section
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 106, 251, 0.2), transparent 70%);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
}

.stat-box .counter {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat-box .counter-suffix {
  font-size: 0.6em;
  color: var(--accent);
}

.stat-box .stat-title {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
  position: relative;
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1.75rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.14;
  pointer-events: none;
}

.testimonial-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px rgba(0, 106, 251, 0.12), var(--shadow-md);
}

.testimonial-rating {
  color: #F59E0B;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-company {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  border: none;
  opacity: 1;
}

.carousel-indicators .active {
  background: var(--gradient-primary);
  width: 28px;
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricing-card {
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.pricing-features li i {
  color: #22C55E;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.6;
}

.pricing-features li.disabled i {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
}

[data-theme="dark"] .accordion-item {
  background: var(--bg-alt);
}

.accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark) !important;
  background: var(--white) !important;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

[data-theme="dark"] .accordion-button {
  background: var(--bg-alt) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
  background: rgba(0, 106, 251, 0.06) !important;
  box-shadow: inset 3px 0 0 0 var(--primary) !important;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(0, 106, 251, 0.4) !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23006AFB'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0 1.5rem 1.25rem;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 106, 251, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h5 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form .form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

[data-theme="dark"] .contact-form .form-control,
[data-theme="dark"] .contact-form .form-select {
  background: var(--bg-alt);
}

.contact-form .form-control:hover,
.contact-form .form-select:hover {
  border-color: rgba(0, 106, 251, 0.45);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 106, 251, 0.15);
}

.contact-form .form-control.is-invalid {
  border-color: #EF4444;
}

.contact-form .invalid-feedback {
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: #0B1120;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-text);
  z-index: 2;
}

.footer::after {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(0, 106, 251, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a {
  position: relative;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 0.35rem;
}

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0.75rem 1rem;
}

.footer-newsletter .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  box-shadow: none;
  color: var(--white);
}

.footer-newsletter .btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Back to Top
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 106, 251, 0.4);
}

/* --------------------------------------------------------------------------
   Toast Notification
   -------------------------------------------------------------------------- */
.toast-container {
  z-index: 10001;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-illustration {
    margin-top: 3rem;
  }

  .pricing-card.featured {
    transform: none;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .scroll-indicator {
    display: none;
  }
}

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

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .floating-card {
    display: none;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Tilt Cards & Magnetic Buttons
   -------------------------------------------------------------------------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.magnetic-btn {
  transition: transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

/* Section ambient tech grid */
.section-tech-bg {
  position: relative;
}

.section-tech-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0, 106, 251, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Shimmer on glass cards */
.glass-card {
  position: relative;
  overflow: hidden;
}

.glass-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.glass-card:hover::after {
  transform: translateX(100%);
}

/* Animated border glow on featured pricing */
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0.5;
  animation: border-glow 3s ease infinite;
}

@keyframes border-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Tech badge pulse */
.tech-badge {
  position: relative;
}

.tech-badge:hover {
  animation: badge-pulse 0.6s ease;
}

@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 106, 251, 0.3); }
  70% { box-shadow: 0 0 0 8px rgba(0, 106, 251, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 106, 251, 0); }
}

/* Tech badge pulse */
.cursor-trail {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99996;
  opacity: 0.6;
  animation: trail-fade 0.8s ease forwards;
}

@keyframes trail-fade {
  to {
    opacity: 0;
    transform: scale(0);
  }
}

/* Navbar link underline animation */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
  left: 20%;
}

/* Process step connector pulse */
.process-icon {
  position: relative;
}

.process-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 106, 251, 0.3);
  animation: ring-pulse 2s ease infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Stats counter glow */
.stat-box .counter {
  text-shadow: 0 0 40px rgba(0, 106, 251, 0.4);
}

/* Portfolio image scan effect */
.portfolio-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.portfolio-card:hover .portfolio-image::after {
  left: 150%;
}

/* Reveal on scroll helper */
.reveal-visible {
  animation: reveal-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Disable heavy effects for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cursor-dot,
  .cursor-ring,
  .cursor-glow,
  .particle-canvas,
  .floating-tech-icons,
  .loader-orbit,
  .tech-grid {
    display: none !important;
  }

  .has-custom-cursor,
  .has-custom-cursor a,
  .has-custom-cursor button {
    cursor: auto !important;
  }

  .trusted-logos {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .navbar-solostek,
  .scroll-progress,
  .page-loader,
  .back-to-top,
  .hero-shapes,
  .scroll-indicator,
  .theme-toggle,
  .cursor-dot,
  .cursor-ring,
  .cursor-glow,
  .particle-canvas {
    display: none !important;
  }
}
