/* =============================================
   BAYDOT — Modern AI Company Theme
   ============================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg: #050816;
  --bg-alt: #0a0f1f;
  --bg-soft: #111936;
  --surface: #151d3b;
  --surface-glass: rgba(15, 20, 45, 0.65);
  --surface-glass-hover: rgba(20, 28, 60, 0.8);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(75, 233, 245, 0.5);
  --text-primary: #f0f2ff;
  --text-secondary: #a4b3d6;
  --text-muted: #6b7caa;
  --accent: #4be9f5;
  --accent-strong: #7d6bff;
  --accent-pink: #ff7edb;
  --accent-gradient: linear-gradient(135deg, #4be9f5 0%, #7d6bff 45%, #ff7edb 100%);
  --glow-cyan: rgba(75, 233, 245, 0.25);
  --glow-purple: rgba(125, 107, 255, 0.25);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 24px 60px rgba(3, 6, 18, 0.55);
  --shadow-glow: 0 0 40px rgba(75, 233, 245, 0.15);
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-secondary);
  font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a:hover,
a:focus {
  color: #8af3ff;
  text-decoration: none;
}

p {
  margin-bottom: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}

/* ---------- Sections ---------- */
section {
  padding: 120px 0;
  position: relative;
}

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

.section-highlight {
  background: linear-gradient(160deg, #0a0f22 0%, #161e4a 60%, #201648 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h3 {
  font-size: 38px;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 18px;
}

/* Section wave dividers */
.section-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  margin-top: -1px;
}

.section-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ---------- Header ---------- */
#header {
  height: 80px;
  padding: 16px 0;
  background: rgba(5, 8, 22, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 997;
}

#header.header-scrolled {
  background: rgba(5, 8, 22, 0.96);
  padding: 12px 0;
  box-shadow: 0 16px 40px rgba(3, 6, 18, 0.5);
}

#header .logo img {
  max-height: 42px;
  margin-right: 10px;
}

.logo-link {
  text-decoration: none !important;
  gap: 4px;
}

.logo-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-bay {
  background: linear-gradient(135deg, #4be9f5, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  background: linear-gradient(135deg, #7d6bff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-nodes {
  margin-left: 2px;
  margin-top: -8px;
}

.main-nav,
.main-nav * {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav>ul {
  display: flex;
  align-items: center;
}

.main-nav>ul>li {
  margin-left: 6px;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.main-nav a:hover,
.main-nav .active>a,
.main-nav li:hover>a {
  color: var(--text-primary);
  background: rgba(75, 233, 245, 0.12);
}

/* Mobile nav */
.mobile-nav-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background-image: var(--accent-gradient);
  color: #050816;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px var(--glow-cyan);
  z-index: 1000;
  transition: transform var(--transition-fast);
}

.mobile-nav-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--glow-cyan);
}

.mobile-nav-toggle i {
  font-size: 20px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  bottom: 0;
  width: 280px;
  padding: 90px 24px 40px;
  background: rgba(5, 8, 22, 0.98);
  backdrop-filter: blur(24px);
  box-shadow: -20px 0 60px rgba(3, 8, 28, 0.7);
  transition: right 0.35s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav * {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav .active>a {
  color: var(--text-primary);
  background: rgba(75, 233, 245, 0.12);
}

.mobile-nav-overly {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.8);
  display: none;
  z-index: 998;
}

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active .mobile-nav {
  right: 0;
}

body.mobile-nav-active .mobile-nav-toggle {
  transform: rotate(90deg);
}

body.mobile-nav-active .mobile-nav-overly {
  display: block;
}

/* ---------- Hero ---------- */
#intro {
  position: relative;
  padding: 180px 0 140px 0;
  background: var(--bg);
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(75, 233, 245, 0.25), transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(125, 107, 255, 0.22), transparent 70%);
  top: 10%;
  right: -10%;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 126, 219, 0.15), transparent 70%);
  bottom: -10%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

#intro .container,
#intro .row,
#intro .hero-content,
#intro .hero-visual {
  position: relative;
  z-index: 1;
}

.hero-content .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 3.5px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 19px;
  max-width: 560px;
  line-height: 1.8;
}

/* CTA buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.btn-get-started,
.btn-outline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-get-started {
  background-image: var(--accent-gradient);
  color: #0a0d22;
  box-shadow: 0 16px 48px var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

.btn-get-started::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-pill);
  background: var(--accent-gradient);
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px var(--glow-purple);
  color: #050816;
}

.btn-get-started:hover::after {
  opacity: 0.5;
}

.btn-outline {
  color: var(--text-primary);
  border-color: rgba(148, 161, 226, 0.3);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(75, 233, 245, 0.08);
  color: var(--text-primary);
}

.hero-highlights {
  padding-left: 0;
  list-style: none;
  color: var(--text-secondary);
}

.hero-highlights li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}

.hero-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

/* Hero visual card */
.hero-visual {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(160deg, rgba(75, 233, 245, 0.2), transparent 40%, rgba(125, 107, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-artwork {
  width: 100%;
  border-radius: var(--radius-md);
}

.hero-badge {
  position: absolute;
  left: 32px;
  bottom: 36px;
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: var(--text-primary);
  box-shadow: 0 16px 36px rgba(3, 6, 18, 0.5);
}

.hero-badge.secondary {
  top: 32px;
  bottom: auto;
  right: 36px;
  left: auto;
  background: rgba(75, 233, 245, 0.1);
}

.hero-badge span {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-badge strong {
  font-size: 22px;
  color: var(--accent);
}

/* ---------- About / Vision ---------- */
#about .content p {
  font-size: 17px;
  line-height: 1.8;
}

.pillars-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 26px;
}

.pillars-list li {
  margin-bottom: 12px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}

.pillars-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

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

.metric-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

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

.metric-card strong {
  font-size: 36px;
  display: block;
  margin-bottom: 10px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-card span {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---------- Capabilities ---------- */
#capabilities {
  background: radial-gradient(circle at 10% 20%, rgba(75, 233, 245, 0.1), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(125, 107, 255, 0.08), transparent 50%),
    var(--bg);
}

.capability-card {
  position: relative;
  height: 100%;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--transition-smooth), border var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* Shimmer effect on hover */
.capability-card::before {
  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%);
  transition: transform 0.6s ease;
  transform: translateX(-100%);
}

.capability-card:hover::before {
  transform: translateX(30%);
}

/* Gradient border glow on hover */
.capability-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(160deg, rgba(75, 233, 245, 0.3), transparent 30%, rgba(125, 107, 255, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.capability-card>* {
  position: relative;
  z-index: 1;
}

.capability-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 28px 70px rgba(5, 10, 30, 0.6), var(--shadow-glow);
}

.capability-card:hover::after {
  opacity: 1;
}

.capability-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 12px 28px rgba(5, 10, 30, 0.5);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.capability-icon svg {
  width: 32px;
  height: 32px;
}

.capability-card:hover .capability-icon {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 20px 40px var(--glow-cyan);
}

/* Icon color variants */
.capability-icon.ai-agents {
  background: radial-gradient(circle at 30% 30%, rgba(75, 233, 245, 0.3), transparent 70%), rgba(12, 30, 60, 0.9);
}

.capability-icon.shopify {
  background: radial-gradient(circle at 30% 30%, rgba(91, 198, 134, 0.28), transparent 70%), rgba(21, 52, 43, 0.85);
}

.capability-icon.nextjs {
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.25), transparent 70%), rgba(12, 26, 56, 0.9);
}

.capability-icon.kubernetes {
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.35), transparent 70%), rgba(14, 30, 78, 0.9);
}

.capability-icon.aws {
  background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.3), transparent 70%), rgba(51, 32, 7, 0.9);
}

.capability-icon.supabase {
  background: radial-gradient(circle at 30% 30%, rgba(62, 207, 142, 0.3), transparent 70%), rgba(14, 48, 38, 0.9);
}

.capability-icon.vapi {
  background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.3), transparent 70%), rgba(25, 18, 60, 0.9);
}

.capability-icon.automation {
  background: radial-gradient(circle at 30% 30%, rgba(251, 146, 60, 0.3), transparent 70%), rgba(55, 30, 10, 0.9);
}

.capability-icon.mobile {
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.25), transparent 70%), rgba(14, 28, 55, 0.9);
}

.capability-icon.wordpress {
  background: radial-gradient(circle at 30% 30%, rgba(33, 117, 155, 0.3), transparent 70%), rgba(12, 32, 50, 0.9);
}

.capability-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.capability-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 0;
}

/* --- Team cards --- */
.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card .team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 3px solid rgba(75, 233, 245, 0.35);
  box-shadow: 0 16px 36px rgba(5, 10, 30, 0.6);
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .role {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.team-card .team-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.team-card .team-email::before {
  content: "\f0e0";
  font-family: 'FontAwesome';
  font-size: 14px;
  color: var(--accent);
}

.team-card .team-email:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Solutions ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

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

.solution-card h4 {
  font-size: 22px;
  margin-bottom: 12px;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.solution-card ul {
  margin-top: 16px;
  padding-left: 20px;
}

.solution-card li {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Portfolio ---------- */
#portfolio {
  background: var(--bg);
}

#portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 40px auto;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--surface-glass);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
  border: 1px solid var(--border-subtle);
}

#portfolio #portfolio-flters li.filter-active,
#portfolio #portfolio-flters li:hover {
  background-image: var(--accent-gradient);
  color: #050816;
  border-color: transparent;
}

.portfolio-item {
  margin-bottom: 30px;
}

.portfolio-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.portfolio-wrap:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.portfolio-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--surface-dark);
}

.portfolio-info {
  padding: 22px 24px 26px 24px;
  position: relative;
}

.portfolio-info h4 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-info p {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.portfolio-meta span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}

/* GitHub link button */
.portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: 14px;
  transition: var(--transition-fast);
}

.portfolio-link:hover {
  background-image: var(--accent-gradient);
  color: #050816;
  border-color: transparent;
  transform: scale(1.1);
}

/* Portfolio section title fallback */
.section-title {
  font-size: 38px;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ---------- Insights ---------- */
.insight-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-subtle);
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

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

.insight-card h4 {
  font-size: 20px;
}

.insight-card p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.insight-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 600;
  background: rgba(75, 233, 245, 0.1);
  color: var(--accent);
}

/* ---------- Testimonials ---------- */
#testimonials .section-header h3 {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.testimonial-item {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.testimonial-item h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-item p {
  color: var(--text-secondary);
  font-size: 17px;
  font-style: italic;
}

/* ---------- Tech Stack (Clients) ---------- */
#clients {
  background: var(--bg);
}

.clients-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.client-logo {
  background: var(--surface-glass);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  min-width: 140px;
}

.client-logo img {
  max-height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.client-logo:hover img {
  opacity: 1;
}

.client-logo:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

/* ---------- Contact ---------- */
#contact {
  background: linear-gradient(150deg, #070c24 0%, #0e1938 60%, #1a0e3e 100%);
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
}

.contact-card h4 {
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-card span {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
}

.contact-email {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.contact-email svg {
  width: 28px;
  height: 28px;
}

/* Form */
.form .form-control {
  background: rgba(8, 12, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: var(--transition-fast);
}

.form .form-control:focus {
  box-shadow: 0 0 0 3px rgba(75, 233, 245, 0.15);
  border-color: rgba(75, 233, 245, 0.5);
  background: rgba(6, 10, 26, 0.95);
  outline: none;
}

.form .form-control::placeholder {
  color: rgba(164, 179, 214, 0.5);
}

.form button[type="submit"] {
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  background-image: var(--accent-gradient);
  color: #050816;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 16px 48px var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

.form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px var(--glow-purple);
}

#sendmessage {
  color: var(--accent);
  border: 1px solid rgba(75, 233, 245, 0.3);
  background: rgba(75, 233, 245, 0.08);
  padding: 16px;
  border-radius: var(--radius-sm);
  display: none;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

#sendmessage.show {
  display: block;
}

#errormessage {
  color: var(--accent-pink);
  border: 1px solid rgba(255, 126, 219, 0.3);
  background: rgba(255, 126, 219, 0.08);
  padding: 16px;
  border-radius: var(--radius-sm);
  display: none;
  text-align: center;
  margin-bottom: 20px;
}

#errormessage.show {
  display: block;
}

/* ---------- Footer ---------- */
#footer {
  background: #030510;
  color: var(--text-secondary);
  font-size: 15px;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  border-bottom: 1px solid var(--border-subtle);
}

#footer .footer-info h3 {
  font-size: 22px;
}

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

#footer .footer-links ul li {
  padding: 6px 0;
}

#footer .footer-links ul li a {
  color: var(--text-secondary);
}

#footer .footer-links ul li a:hover {
  color: var(--accent);
}

#footer .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  margin-right: 10px;
  transition: var(--transition-fast);
}

#footer .social-links a:hover {
  background-image: var(--accent-gradient);
  color: #050816;
  transform: translateY(-3px);
}

#footer .footer-bottom {
  padding: 24px 0 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

#footer .credits {
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  display: none;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  background-image: var(--accent-gradient);
  color: #050816;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  box-shadow: 0 12px 36px var(--glow-cyan);
  z-index: 999;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  transform: translateY(-3px);
  color: #050816;
}

.back-to-top i {
  line-height: 46px;
}

/* ---------- Desktop nav guard ---------- */
@media (min-width: 992px) {

  .mobile-nav,
  .mobile-nav-toggle,
  .mobile-nav-overly {
    display: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 46px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  #intro {
    padding-top: 140px;
  }

  #header .logo img {
    max-height: 38px;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  section {
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: 38px;
  }

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

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    gap: 16px;
  }

  .portfolio-wrap {
    border-radius: 22px;
  }

  #footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-header h3 {
    font-size: 30px;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .section-header h3 {
    font-size: 26px;
  }

  .hero-badge,
  .hero-badge.secondary {
    position: static;
    display: inline-block;
    margin: 14px 8px 0 0;
  }

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

/* ---------- Process Cards ---------- */
.process-card {
  text-align: center;
  padding: 36px 24px;
}

.process-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.process-card h4 {
  margin-bottom: 10px;
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  bottom: 80px;
  right: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(75, 233, 245, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

.floating-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(75, 233, 245, 0.5);
  color: #fff;
  text-decoration: none;
}

@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(75, 233, 245, 0.35);
  }

  50% {
    box-shadow: 0 4px 32px rgba(125, 107, 255, 0.5);
  }
}

@media (max-width: 575px) {
  .floating-cta {
    bottom: 72px;
    right: 16px;
    padding: 12px 18px;
    font-size: 13px;
  }
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  text-align: center;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.pricing-amount span {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.7;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  width: 100%;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
  position: relative;
  padding-left: 24px;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* Featured pricing card */
.pricing-card {
  overflow: visible;
}

.pricing-featured {
  border: 1px solid var(--accent-purple);
  box-shadow: 0 0 30px rgba(125, 107, 255, 0.15);
  position: relative;
  padding-top: 44px;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}