/* Enterprise Sections - Billion-Dollar Premium v5.0 */

/* Platforms */
#platforms {
  background: var(--bg-elevated)
}

.platform-card {
  padding: 36px 30px 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.02),
    0 0 1px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #4F46E5, #7C3AED, #818CF8, #6366F1, #4F46E5);
  background-size: 300% 100%;
  opacity: 0.15;
  transition: opacity 0.4s ease, background-position 0.6s ease;
  z-index: 2;
}

.platform-card:hover {
  border-color: rgba(79, 70, 229, 0.22);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.04),
    0 22px 64px rgba(79, 70, 229, 0.09),
    0 0 50px rgba(79, 70, 229, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.platform-card:hover::before {
  opacity: 1;
  animation: borderShimmerAnim 4s ease infinite;
}

@keyframes borderShimmerAnim {

  0%,
  100% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }
}

/* Generic Premium Dual Floating Background Glowing Orbs */
.card-glow-1,
.card-glow-2 {
  position: absolute !important;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0 !important;
  filter: blur(35px);
  opacity: 0.45;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-glow-1 {
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  top: -20px;
  right: -20px;
  animation: platformGlowFloat1 12s ease-in-out infinite;
}

.card-glow-2 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  bottom: -30px;
  left: -30px;
  animation: platformGlowFloat2 14s ease-in-out infinite;
}

.platform-card:hover .card-glow-1,
.industry-card:hover .card-glow-1,
.trust-card:hover .card-glow-1,
.why-us-card:hover .card-glow-1,
.project-card:hover .card-glow-1,
.pricing-card:hover .card-glow-1,
.blog-card:hover .card-glow-1 {
  opacity: 0.75;
  transform: scale(1.15) translate(-12px, 12px);
}

.platform-card:hover .card-glow-2,
.industry-card:hover .card-glow-2,
.trust-card:hover .card-glow-2,
.why-us-card:hover .card-glow-2,
.project-card:hover .card-glow-2,
.pricing-card:hover .card-glow-2,
.blog-card:hover .card-glow-2 {
  opacity: 0.7;
  transform: scale(1.15) translate(12px, -12px);
}

@keyframes platformGlowFloat1 {

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

  50% {
    transform: translate(-15px, 18px) scale(1.08);
  }
}

@keyframes platformGlowFloat2 {

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

  50% {
    transform: translate(18px, -15px) scale(1.1);
  }
}

.platform-card-badge-group {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.platform-card-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.22);
  color: var(--accent);
  font-weight: 600;
}

.platform-badge-coming {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(197, 168, 128, 0.14);
  border: 1px solid rgba(197, 168, 128, 0.35);
  color: #C5A880;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.platform-badge-coming::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C5A880;
  box-shadow: 0 0 6px rgba(197, 168, 128, 0.8);
  animation: tagPulse 2s ease-in-out infinite;
}

.platform-card-metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
  z-index: 2;
  position: relative;
}

.platform-metric-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.14);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.platform-metric-item span {
  font-weight: 700;
  color: var(--accent);
}

.platform-card:hover .platform-metric-item {
  background: rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.28);
}

.platform-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.03));
  border: 1px solid rgba(79, 70, 229, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.platform-card:hover .platform-card-icon {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.16), rgba(124, 58, 237, 0.08));
  border-color: rgba(79, 70, 229, 0.25);
  transform: translateY(-5px) scale(1.06) rotate(6deg);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12);
}

.platform-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
  transition: color 0.3s ease;
  z-index: 2;
}

.platform-card:hover h3 {
  color: var(--accent);
}

.platform-card-subtitle {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px !important;
  z-index: 2;
}

.platform-card>p:not(.platform-card-subtitle) {
  font-size: .88rem;
  margin-bottom: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  z-index: 2;
}

.platform-card-cta {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  z-index: 2;
}

.platform-card-cta .btn {
  padding: 10px 22px;
  font-size: .84rem
}

.powered-badge {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.powered-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: tagPulse 2s ease-in-out infinite
}

/* Industries */
#industries {
  background: var(--bg)
}

.industry-card {
  padding: 26px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.02),
    0 0 1px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.industry-card:hover {
  border-color: rgba(79, 70, 229, 0.22);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.04),
    0 22px 64px rgba(79, 70, 229, 0.09),
    0 0 50px rgba(79, 70, 229, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.industry-icon {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-bottom: 18px
}

.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px
}

.industry-card p {
  font-size: .84rem;
  line-height: 1.65
}

.industry-pain {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px !important;
  font-family: var(--font-mono);
  letter-spacing: .03em
}

/* How It Works */
#how-it-works {
  background: var(--bg-elevated)
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap
}

.step-card {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 28px 18px;
  transition: transform .3s var(--ease)
}

.step-card:hover {
  transform: translateY(-4px)
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gradient-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 4s ease-in-out infinite;
  margin-bottom: 16px;
  display: block
}

.step-card h3 {
  font-size: .95rem;
  margin-bottom: 8px;
  font-weight: 700
}

.step-card p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6
}

.step-connector {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--text-dim));
  margin-top: 55px;
  border-radius: 2px;
  opacity: .25;
  flex-shrink: 0
}

@media(max-width:768px) {
  .steps-grid {
    flex-direction: column;
    align-items: center
  }

  .step-connector {
    width: 2px;
    height: 32px;
    margin: 0
  }
}

/* Dashboard Preview */
#dashboard-preview {
  background: var(--bg)
}

.dashboard-mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.08);
  background: var(--bg-surface);
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1)
}

.dashboard-mockup:hover {
  box-shadow: 0 30px 80px -12px rgba(0, 0, 0, 0.16), 0 12px 24px rgba(0, 0, 0, 0.05), 0 0 60px rgba(79, 70, 229, 0.06);
  transform: translateY(-6px)
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border)
}

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

.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: all .3s
}

.dash-dots span:first-child {
  background: #FF5F56
}

.dash-dots span:nth-child(2) {
  background: #FFBD2E
}

.dash-dots span:nth-child(3) {
  background: #27C93F
}

.dash-title {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 500
}

.dash-user {
  font-size: .68rem;
  color: var(--text-muted)
}

.dash-body {
  display: flex;
  min-height: 420px
}

.dash-sidebar {
  width: 200px;
  padding: 20px 14px;
  border-right: 1px solid var(--border);
  flex-shrink: 0
}

.dash-nav-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .76rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  cursor: default;
  transition: all .3s ease
}

.dash-nav-item.active {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-muted);
  font-weight: 600
}

.dash-main {
  flex: 1;
  padding: 22px
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px
}

.dash-metric {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: all .3s var(--ease)
}

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

.dash-metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em
}

.dash-metric-label {
  font-size: .66rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .05em
}

.dash-metric-change {
  font-size: .66rem;
  margin-top: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: var(--radius-full)
}

.dash-metric-change.positive {
  color: var(--success);
  background: rgba(5, 150, 105, .06)
}

.dash-charts {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px
}

.dash-chart,
.dash-chat {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border)
}

.dash-chart-title {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 18px
}

.dash-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  padding-top: 8px
}

.dash-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  opacity: .65;
  transition: all .4s var(--ease)
}

.dash-bar:hover {
  opacity: 1;
  transform: scaleY(1.05);
  transform-origin: bottom
}

.dash-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.dash-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .73rem;
  line-height: 1.5;
  max-width: 90%
}

.dash-msg.user {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-muted);
  align-self: flex-end;
  color: var(--text)
}

.dash-msg.bot {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  align-self: flex-start;
  color: var(--text-secondary)
}

@media(max-width:900px) {
  .dash-sidebar {
    display: none
  }

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

  .dash-charts {
    grid-template-columns: 1fr
  }
}

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

/* Case Study Impact — Premium gradient pill */
.case-impact {
  font-size: .74rem;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.04), rgba(5, 150, 105, 0.01));
  transition: all .3s ease
}

.case-impact::before {
  content: '↗';
  font-size: .72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.08);
  color: var(--success);
  flex-shrink: 0;
  transition: transform .3s ease
}

.case-impact strong {
  color: var(--text-secondary);
  font-weight: 600
}

.case-impact span,
.case-impact:not(:has(strong)) {
  color: var(--success)
}

.project-card:hover .case-impact::before {
  transform: translateY(-2px) rotate(-5deg)
}

/* Trust */
#trust {
  background: var(--bg-elevated)
}

.trust-card {
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.02),
    0 0 1px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.trust-card:hover {
  border-color: rgba(79, 70, 229, 0.22);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-7px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.04),
    0 22px 64px rgba(79, 70, 229, 0.09),
    0 0 50px rgba(79, 70, 229, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.trust-icon {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-bottom: 16px
}

.trust-card h4 {
  font-size: .92rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--text)
}

.trust-card p {
  font-size: .82rem;
  line-height: 1.6
}

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center
}

.tech-logo-item {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px)
}

.tech-logo-item:hover {
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--accent);
  background: rgba(79, 70, 229, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(79, 70, 229, 0.08), 0 0 16px rgba(79, 70, 229, 0.04), 0 4px 14px rgba(0, 0, 0, 0.04)
}

/* Integrations */
#integrations {
  background: var(--bg)
}

.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center
}

.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  min-width: 105px;
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.01),
    0 0 1px rgba(0, 0, 0, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.integration-item:hover {
  border-color: rgba(79, 70, 229, 0.25);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.03),
    0 0 50px rgba(79, 70, 229, 0.08),
    0 0 20px rgba(79, 70, 229, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.integration-item div {
  font-size: .73rem;
  color: var(--text-muted);
  font-weight: 500
}

/* FAQ */
#faq {
  background: var(--bg-elevated)
}

.faq-list {
  max-width: 740px;
  margin: 0 auto
}

.faq-item {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px)
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.1)
}

.faq-item.open {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.15), 0 0 50px rgba(79, 70, 229, 0.06), 0 0 20px rgba(79, 70, 229, 0.03)
}

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

.faq-question:hover {
  color: var(--accent)
}

.faq-toggle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform .4s var(--ease-spring);
  flex-shrink: 0;
  margin-left: 14px
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg)
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-expo), padding .4s ease
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 26px 22px
}

.faq-answer p {
  font-size: .85rem;
  line-height: 1.7;
  color: var(--text-secondary)
}

/* Service wide card */
.service-card-wide {
  grid-column: 1/-1
}

@media(min-width:769px) {
  .service-card-wide {
    max-width: 50%;
    margin: 0 auto
  }
}

/* Nav Dropdown */
.nav-dropdown-wrap {
  position: relative
}

.nav-dropdown {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  padding: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(0.16, 1, 0.3, 1), transform .3s cubic-bezier(0.16, 1, 0.3, 1), visibility .3s cubic-bezier(0.16, 1, 0.3, 1)
}

.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0)
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: all .3s ease
}

.nav-dropdown a:hover {
  background: var(--accent-subtle)
}

.nav-dd-icon {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center
}

.nav-dropdown strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text)
}

.nav-dropdown small {
  display: block;
  font-size: .66rem;
  color: var(--text-muted);
  margin-top: 2px
}

.nav-dropdown-trigger svg {
  margin-left: 2px;
  transition: transform .3s ease;
  vertical-align: middle
}

.nav-dropdown-wrap.open .nav-dropdown-trigger svg {
  transform: rotate(180deg)
}

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

.nav-login {
  font-size: .82rem !important;
  padding: 8px 16px !important;
  border-color: var(--border) !important
}

@media(max-width:768px) {
  .nav-cta-group {
    display: none
  }
}

/* Testimonials */
#testimonials {
  background: var(--bg)
}

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

.testimonial-card {
  padding: 36px 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--border);
  transition: all .45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px)
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4F46E5, #7C3AED, #818CF8, #6366F1, #4F46E5);
  background-size: 300% 100%;
  opacity: .3;
  transition: opacity .4s ease, background-position .6s ease
}

.testimonial-card:hover {
  border-color: rgba(79, 70, 229, 0.18);
  transform: translateY(-8px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03), 0 12px 36px rgba(0, 0, 0, 0.05), 0 24px 60px rgba(79, 70, 229, 0.07), 0 0 50px rgba(79, 70, 229, 0.03)
}

.testimonial-card:hover::before {
  opacity: 1;
  background-position: 100% 0
}

/* Large decorative quote glyph */
.testimonial-card .testimonial-stars::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.04));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.testimonial-stars {
  color: #D97706;
  font-size: .85rem;
  letter-spacing: 2px;
  margin-bottom: 16px
}

.testimonial-quote {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-style: italic;
  position: relative;
  z-index: 1
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.2)
}

.testimonial-name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--text)
}

.testimonial-role {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 2px
}

@media(max-width:900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto
  }
}

/* Why Us */
#why-us {
  background: var(--bg-elevated)
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.why-us-card {
  padding: 26px 22px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all .5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.02),
    0 0 1px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.why-us-card:hover {
  border-color: rgba(79, 70, 229, 0.22);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.04),
    0 22px 64px rgba(79, 70, 229, 0.09),
    0 0 50px rgba(79, 70, 229, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.why-us-icon {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 18px
}

.why-us-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px
}

.why-us-card p {
  font-size: .85rem;
  line-height: 1.65;
  margin-bottom: 16px
}

.why-us-stat {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(124, 58, 237, 0.03));
  border: 1px solid var(--accent-muted);
  display: inline-block;
  transition: all .3s ease
}

.why-us-card:hover .why-us-stat {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.05));
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: 0 0 16px rgba(79, 70, 229, 0.06)
}

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

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

/* Platform Modal */
.platform-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(250, 249, 246, 0.72) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s cubic-bezier(0.16, 1, 0.3, 1) !important
}

.platform-modal-overlay.open {
  opacity: 1;
  pointer-events: all
}

.platform-modal {
  position: relative;
  max-width: 740px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--radius-xl);
  padding: 48px 40px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(79, 70, 229, 0.03), inset 0 1px 0 #fff !important;
  transform: translateY(24px) scale(.96);
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1) !important
}

.platform-modal-overlay.open .platform-modal {
  transform: translateY(0) scale(1)
}

.platform-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0
}

.platform-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  line-height: 1
}

.platform-modal-close:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: var(--border-hover);
  transform: rotate(90deg)
}

.platform-modal-header {
  text-align: center;
  margin-bottom: 32px
}

.platform-modal-header h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: var(--text) !important;
  font-weight: 800
}

.platform-modal-header p {
  font-size: .88rem;
  color: var(--text-secondary) !important;
  line-height: 1.6
}

.platform-modal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px
}

.platform-modal-card {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
  text-align: center
}

.platform-modal-card:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: var(--shadow-md), var(--shadow-glow)
}

.platform-modal-icon {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-bottom: 12px
}

.platform-modal-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px
}

.platform-modal-sub {
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px !important;
  display: block
}

.platform-modal-card>p:not(.platform-modal-sub) {
  font-size: .8rem;
  line-height: 1.6;
  margin-bottom: 18px
}

.platform-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: center
}

.platform-modal-actions .btn {
  padding: 8px 18px;
  font-size: .78rem
}

.platform-modal-footer {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px
}

.platform-modal-footer p {
  font-size: .8rem;
  color: var(--text-secondary) !important
}

.platform-modal-footer a {
  color: var(--accent)
}

.platform-modal-footer a:hover {
  text-decoration: underline
}

@media(max-width:600px) {
  .platform-modal {
    padding: 36px 20px 28px
  }

  .platform-modal-cards {
    grid-template-columns: 1fr
  }

  .platform-modal-header h2 {
    font-size: 1.3rem
  }
}

/* Lucide Icons */
.industry-icon .lucide,
.trust-icon .lucide,
.why-us-icon .lucide,
.platform-card-icon .lucide,
.platform-modal-icon .lucide,
.project-banner-icon .lucide,
.nav-dd-icon .lucide,
.blog-img .lucide {
  stroke: var(--accent);
  transition: all .4s var(--ease)
}

.integration-item .lucide {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
  stroke: var(--accent)
}

.industry-icon .lucide {
  width: 38px;
  height: 38px;
  stroke-width: 1.5
}

.trust-icon .lucide {
  width: 30px;
  height: 30px;
  stroke-width: 1.5
}

.why-us-icon .lucide {
  width: 34px;
  height: 34px;
  stroke-width: 1.5
}

.platform-card-icon .lucide {
  width: 38px;
  height: 38px;
  stroke-width: 1.5
}

.platform-modal-icon .lucide {
  width: 36px;
  height: 36px;
  stroke-width: 1.5
}

.project-banner-icon .lucide {
  width: 32px;
  height: 32px;
  stroke-width: 1.5
}

.project-banner-icon {
  font-size: 0
}

.nav-dd-icon .lucide {
  width: 20px;
  height: 20px;
  stroke-width: 1.8
}

.blog-img .lucide {
  width: 40px;
  height: 40px;
  stroke-width: 1.5
}

.blog-img span {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center
}

.dash-nav-item .lucide {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  stroke: currentColor;
  vertical-align: -2px;
  margin-right: 4px
}

/* Icon hover animations */
.industry-card:hover .industry-icon .lucide {
  transform: scale(1.12) translateY(-2px)
}

.trust-card:hover .trust-icon .lucide {
  transform: scale(1.1)
}

.why-us-card:hover .why-us-icon .lucide {
  transform: scale(1.12) translateY(-2px)
}

.platform-card:hover .platform-card-icon .lucide {
  transform: scale(1.1)
}

.integration-item:hover .lucide {
  transform: scale(1.12)
}

.blog-card:hover .blog-img .lucide {
  transform: scale(1.15)
}

/* Responsive */
@media(max-width:1024px) {
  .platform-grid {
    gap: 18px
  }

  .why-us-cta {
    flex-direction: column;
    align-items: center;
    gap: 10px
  }

  .why-us-cta .btn {
    margin-left: 0 !important
  }
}

@media(max-width:768px) {
  .project-card[style*="grid-column: span 2"] {
    grid-column: span 1 !important
  }

  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 0
  }

  .step-connector {
    width: 2px;
    height: 32px;
    margin: 0 auto
  }

  .cta-actions {
    flex-direction: column;
    align-items: center
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center
  }

  .platform-card-cta {
    flex-direction: column;
    gap: 8px
  }

  .platform-card-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center
  }

  .integrations-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px
  }

  .btn {
    min-height: 44px;
    padding: 12px 24px
  }

  .faq-question {
    padding: 18px 16px;
    font-size: .88rem
  }
}

@media(max-width:480px) {
  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem)
  }

  h3 {
    font-size: clamp(1rem, 4vw, 1.2rem)
  }

  .section-subtitle {
    font-size: .88rem
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr) !important
  }

  .blog-body {
    padding: 16px
  }

  .testimonial-card {
    padding: 22px 18px
  }

  .why-us-card {
    padding: 24px 18px
  }

  .industry-card {
    padding: 22px 16px
  }

  .trust-card {
    padding: 20px 14px
  }

  .platform-modal {
    padding: 32px 16px 24px
  }

  .platform-modal-card {
    padding: 20px 14px
  }

  .platform-modal-header h2 {
    font-size: 1.2rem
  }

  .platform-modal-actions {
    flex-direction: column;
    gap: 6px
  }

  .platform-modal-actions .btn {
    width: 100%;
    justify-content: center
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 20px
  }

  .pricing-card {
    padding: 24px 18px
  }

  .price-amount {
    font-size: 1.8rem
  }
}

@supports(padding-bottom:env(safe-area-inset-bottom)) {
  .mobile-menu {
    padding-bottom: calc(40px + env(safe-area-inset-bottom))
  }

  #footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom))
  }
}

/* Coming Soon Platform Badge */
.platform-badge-coming {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.18);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}