/* ==========================================================================
   HashTrix Homepage - Enterprise Edition CSS
   Mobile-first responsive design
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables & Base Overrides
   -------------------------------------------------------------------------- */
:root {
  --gradient-primary: linear-gradient(135deg, #0066B3 0%, #00A0E3 50%, #393185 100%);
  --gradient-dark: linear-gradient(180deg, #0B1220 0%, #1a2332 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 102, 179, 0.08) 0%, rgba(0, 160, 227, 0.05) 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-soft: 0 4px 24px rgba(11, 18, 32, 0.08);
  --shadow-medium: 0 8px 32px rgba(11, 18, 32, 0.12);
  --shadow-strong: 0 16px 48px rgba(11, 18, 32, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --------------------------------------------------------------------------
   Animated Background
   -------------------------------------------------------------------------- */
.bg-animated {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #393185;
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 102, 179, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 179, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Section Common Styles
   -------------------------------------------------------------------------- */
.section {
  padding: 60px 0;
  position: relative;
}

.section-dark {
  background: var(--gradient-dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-alt {
  background: rgba(0, 102, 179, 0.03);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-header.light h2,
.section-header.light p {
  color: #fff;
}

.section-header.light p {
  opacity: 0.8;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.12) 0%, rgba(0, 160, 227, 0.08) 100%);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 102, 179, 0.15);
}

.section-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
  
  .section-header {
    margin-bottom: 56px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 100px 0;
  }
}

/* --------------------------------------------------------------------------
   Button Variants
   -------------------------------------------------------------------------- */
.btn-xl {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: none;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn svg {
  vertical-align: middle;
  margin-left: 6px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-main {
  padding: 90px 0 30px;
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

.hero-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-main h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--dark);
}

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

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-stat {
  text-align: center;
  min-width: 70px;
}

.hs-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hs-label {
  font-size: 0.7rem;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: none;
  width: 100%;
  max-width: none;
}

.hero-card {
  background: #1a1f2e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: auto;
  max-width: 420px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-dots {
  display: flex;
  gap: 5px;
}

.card-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.card-dots span:first-child { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #ffbd2e; }
.card-dots span:last-child { background: #28ca41; }

.card-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Monaco', 'Menlo', monospace;
}

.card-code {
  padding: 16px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.card-code .c { color: #6b7280; }
.card-code .k { color: #c792ea; }
.card-code .s { color: #89ddff; }
.card-code .f { color: #82aaff; }

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
  animation: floatBadge 3s ease-in-out infinite;
  white-space: nowrap;
}

.floating-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.fb-1 {
  top: 8%;
  right: 0;
  animation-delay: 0s;
}

.fb-2 {
  bottom: 30%;
  left: 0;
  animation-delay: -1s;
}

.fb-3 {
  bottom: 0;
  right: 10%;
  animation-delay: -2s;
}

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

/* Hero Responsive */
@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
  
  .hero-stats {
    gap: 32px;
  }
  
  .hs-number {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-main {
    padding: 100px 0 40px;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-cta {
    justify-content: flex-start;
  }
  
  .hero-stats {
    justify-content: flex-start;
  }
  
  .hero-visual {
    display: block;
  }
  
  .hero-card {
    max-width: 380px;
  }
  
  .floating-badge {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  
  .floating-badge svg {
    width: 16px;
    height: 16px;
  }
  
  .fb-1 {
    top: 5%;
    right: 0;
  }
  
  .fb-2 {
    bottom: 35%;
    left: 10px;
  }
  
  .fb-3 {
    bottom: 5%;
    right: 5%;
  }
}

@media (min-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  
  .hero-card {
    max-width: 420px;
  }
  
  .floating-badge {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   Impact Numbers Section
   -------------------------------------------------------------------------- */
.section-impact {
  padding: 40px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

.impact-item {
  padding: 16px;
}

.impact-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

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

@media (min-width: 768px) {
  .section-impact {
    padding: 48px 0;
  }
  
  .impact-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   Services Showcase
   -------------------------------------------------------------------------- */
.services-showcase {
  display: grid;
  gap: 24px;
}

.service-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 102, 179, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.12) 0%, rgba(0, 160, 227, 0.08) 100%);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.service-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--dark);
  font-size: 0.9rem;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--accent);
}

@media (min-width: 640px) {
  .services-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .service-item {
    padding: 32px;
  }
}

/* --------------------------------------------------------------------------
   Industries Carousel
   -------------------------------------------------------------------------- */
.industries-carousel {
  display: grid;
  gap: 20px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

.industry-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.ind-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 160, 227, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.ind-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

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

.industry-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.ind-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ind-tags span {
  padding: 4px 12px;
  background: rgba(0, 160, 227, 0.15);
  border: 1px solid rgba(0, 160, 227, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--accent);
}

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

@media (min-width: 1024px) {
  .industries-carousel {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   Why HashTrix Section
   -------------------------------------------------------------------------- */
.why-layout {
  display: grid;
  gap: 48px;
}

.why-content .section-badge {
  margin-bottom: 16px;
}

.why-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.why-desc {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.why-features {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.wf-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.12) 0%, rgba(0, 160, 227, 0.08) 100%);
  border-radius: var(--radius-md);
}

.wf-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.wf-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}

.wf-text p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 400px;
}

.cert-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.cert-card svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-bottom: 10px;
}

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

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

@media (min-width: 1024px) {
  .why-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
  }
  
  .why-features {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Technology Stack
   -------------------------------------------------------------------------- */
.tech-showcase {
  display: grid;
  gap: 24px;
}

.tech-cat {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.tech-cat h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pills span {
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.08) 0%, rgba(0, 160, 227, 0.04) 100%);
  border: 1px solid rgba(0, 102, 179, 0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.3s ease;
}

.tech-pills span:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (min-width: 640px) {
  .tech-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* --------------------------------------------------------------------------
   Featured Case Study
   -------------------------------------------------------------------------- */
.case-featured {
  display: grid;
  gap: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.case-content .section-badge {
  margin-bottom: 12px;
}

.case-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.case-desc {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.cm-item {
  text-align: center;
  padding: 16px 8px;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.08) 0%, rgba(0, 160, 227, 0.04) 100%);
  border-radius: var(--radius-md);
}

.cm-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.cm-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.case-tags span {
  padding: 6px 14px;
  background: rgba(0, 102, 179, 0.1);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
}

.case-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Case Visual */
.case-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-preview {
  background: #1a1f2e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
}

.preview-header {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
}

.preview-list {
  padding: 12px;
}

.preview-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease;
  align-items: center;
}

.preview-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pi-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 160, 227, 0.2) 0%, rgba(0, 102, 179, 0.15) 100%);
  border-radius: 10px;
}

.pi-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.pi-text strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.pi-text span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .case-featured {
    padding: 48px;
  }
}

@media (min-width: 1024px) {
  .case-featured {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Process Steps
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  gap: 24px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.ps-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 50px;
}

.ps-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.ps-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.ps-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-outputs span {
  padding: 4px 12px;
  background: rgba(0, 102, 179, 0.08);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  .process-step {
    padding: 28px;
  }
}

@media (min-width: 1200px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .ps-number {
    min-width: auto;
  }
  
  .ps-outputs {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  gap: 24px;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}

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

.tc-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 24px;
}

.tc-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

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

.tc-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.tc-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}

.tc-info span {
  font-size: 0.8rem;
  color: var(--muted);
}

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

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* --------------------------------------------------------------------------
   Engagement Cards
   -------------------------------------------------------------------------- */
.engagement-cards {
  display: grid;
  gap: 24px;
}

.eng-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

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

.eng-card.featured {
  background: var(--gradient-dark);
  color: #fff;
  border-color: transparent;
}

.eng-card.featured h3,
.eng-card.featured p {
  color: #fff;
}

.eng-card.featured .eng-features li {
  color: rgba(255, 255, 255, 0.8);
}

.eng-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eng-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.12) 0%, rgba(0, 160, 227, 0.08) 100%);
  border-radius: 50%;
}

.eng-card.featured .eng-icon {
  background: rgba(255, 255, 255, 0.1);
}

.eng-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.eng-card.featured .eng-icon svg {
  color: var(--accent);
}

.eng-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.eng-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.eng-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.eng-features li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.eng-card.featured .eng-features li {
  border-color: rgba(255, 255, 255, 0.1);
}

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

.eng-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.eng-card.featured .eng-features li::before {
  color: var(--accent);
}

@media (min-width: 768px) {
  .engagement-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .eng-card {
    padding: 32px;
  }
}

/* --------------------------------------------------------------------------
   Insights Grid
   -------------------------------------------------------------------------- */
.insights-grid {
  display: grid;
  gap: 24px;
}

.insight-card {
  display: block;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 102, 179, 0.2);
}

.ic-category {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.12) 0%, rgba(0, 160, 227, 0.08) 100%);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
}

.insight-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.insight-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.ic-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.insight-card:hover .ic-link {
  color: var(--accent);
}

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

@media (min-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* --------------------------------------------------------------------------
   Final CTA Section
   -------------------------------------------------------------------------- */
.section-cta-main {
  padding: 80px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.section-cta-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-box {
  display: grid;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.cta-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-visual {
  display: none;
  justify-content: center;
  align-items: center;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.cc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.cc-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.cc-text {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.cc-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .section-cta-main {
    padding: 100px 0;
  }
  
  .cta-box {
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
  }
  
  .cta-content {
    text-align: left;
  }
  
  .cta-content p {
    margin: 0 0 32px;
  }
  
  .cta-buttons {
    justify-content: flex-start;
  }
  
  .cta-visual {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #0B1220;
  color: #fff;
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .brand {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand .logo-wrap img {
  height: 36px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer-contact-info strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.footer-cta-link {
  color: var(--accent) !important;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-decoration: none;
}

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

@media (min-width: 768px) {
  .footer {
    padding: 80px 0 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr 2fr;
  }
  
  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Sticky Contact Button
   -------------------------------------------------------------------------- */
.sticky-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
}

.sticky-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.sticky-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.sticky-btn svg {
  width: 20px;
  height: 20px;
}

.sticky-btn span {
  display: none;
}

@media (min-width: 768px) {
  .sticky-btn span {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   Mobile Drawer Enhancements
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-drawer.active {
  visibility: visible;
  opacity: 1;
}

.mobile-drawer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.6);
  backdrop-filter: blur(4px);
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active .drawer {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.drawer-top .logo-wrap img {
  height: 32px;
}

.drawer-links {
  flex: 1;
  padding: 16px 0;
}

.drawer-links a {
  display: block;
  padding: 14px 24px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.drawer-links a:hover {
  background: rgba(0, 102, 179, 0.05);
  color: var(--primary);
}

.drawer-cta {
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.drawer-cta .btn {
  margin-bottom: 12px;
}

.drawer-contact {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Animation Utilities
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.services-showcase [data-reveal]:nth-child(1) { transition-delay: 0s; }
.services-showcase [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.services-showcase [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.services-showcase [data-reveal]:nth-child(4) { transition-delay: 0.3s; }
.services-showcase [data-reveal]:nth-child(5) { transition-delay: 0.4s; }
.services-showcase [data-reveal]:nth-child(6) { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .bg-animated,
  .grid-pattern,
  .sticky-contact,
  .mobile-drawer,
  .floating-badge {
    display: none !important;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .hero-main {
    min-height: auto;
    padding: 40px 0;
  }
}
