/* ─────────────────────────────────────────────────────────
   BLUESTONE — TRIA Consulting Design System
   Premium dark-mode glassmorphism, smooth animations
   ───────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --primary: #7c3aed;
  --primary-light: #9f67ff;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.4);
  --bg-dark: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --gradient-main: linear-gradient(135deg, #1e0d3b 0%, #0f172a 50%, #0d1f3c 100%);
  --gradient-cta: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Gradient gradient utilities ───────────────────────── */
.purple-gradient {
  background: linear-gradient(135deg, rgba(15, 7, 35, 0.95) 0%, rgba(91, 33, 182, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.dark-section {
  background: var(--gradient-main);
}

.light-section {
  background: rgba(255, 255, 255, 0.02);
}

/* ─── Typography ────────────────────────────────────────── */
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.blue-heading-color {
  color: var(--text-primary);
}

/* ─── Section divider ───────────────────────────────────── */
.line {
  height: 3px;
  width: 60px;
  margin: 1rem auto 0;
  border-radius: 99px;
  background: var(--gradient-cta);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

/* ─── Sections ──────────────────────────────────────────── */
.page-section {
  scroll-margin-top: 80px;
}

.services-section,
.aboutus-section,
.clients-section,
.ourwork-section,
.contactus-section {
  min-height: 100vh;
  position: relative;
}

/* ─── Cards / Glass morphism ────────────────────────────── */
.card-glass {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: var(--shadow-glow);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
  color: #fff;
  opacity: 0.95;
}

.btn-outline-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-2px);
}

/* Legacy alias used in LWC templates */
.banner-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* ─── Animations ────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease both;
}

.animate-fade-left {
  animation: fadeInLeft 0.7s ease both;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* ─── Service color badges ───────────────────────────────── */
.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 2rem;
}

.blue {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.green {
  background: linear-gradient(135deg, #059669, #10b981);
}

.yellow {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

.red {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.skyblue {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
}

.purple {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.white {
  background: linear-gradient(135deg, #475569, #94a3b8);
}

/* ─── Glow particles (decorative) ───────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.glow-orb-purple {
  background: radial-gradient(circle, #7c3aed, transparent 70%);
}

.glow-orb-cyan {
  background: radial-gradient(circle, #06b6d4, transparent 70%);
}

/* ─── Stats counter strip ───────────────────────────────── */
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─────────────────────────────────────────────────────────
   Premium Enhancements
   ───────────────────────────────────────────────────────── */

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
  z-index: -1;
}

.gradient-text-hero {
  background: linear-gradient(to right, #ffffff, #9f67ff, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.card-glass {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(124, 58, 237, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.btn-primary-cta {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn-primary-cta::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary-cta:hover::after {
  opacity: 1;
}

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #050508;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 99px;
  border: 2px solid #050508;
}


/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .section-heading {
    font-size: 1.8rem;
  }
}

@media (min-width: 1900px) {

  .services-section,
  .aboutus-section,
  .ourwork-section,
  .contactus-section {
    padding: 0 5rem;
  }
}