/* ============================================
   AlphaDog Web Studio - Main Styles
   Modern, responsive website design
   ============================================ */

/* ========== CSS VARIABLES ========== */
:root {
  /* Colors - Premium Palette */
  --primary: #FF4D00;
  --primary-light: #FF7A45;
  --primary-dark: #CC3D00;
  --secondary-orange: #FF8534;
  --white: #FFFFFF;
  --black: #000000;
  --bg-dark: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(255, 77, 0, 0.3);

  /* Typography */
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Fluid Typography - Improved for wrapping */
  --h1-size: clamp(42px, 7vw, 88px);
  --h2-size: clamp(34px, 5vw, 60px);
  --h3-size: clamp(26px, 3.5vw, 36px);
  --text-large: clamp(18px, 1.8vw, 22px);
  --text-normal: clamp(15px, 1.3vw, 17px);

  /* Glassmorphism */
  --glass-blur: blur(24px);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Spacing */
  --container-max: 1300px;
  --section-padding: clamp(60px, 10vw, 180px);
  --transition-normal: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========== GLOBAL TYPOGRAPHY IMPROVEMENTS ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
  color: var(--white);
}

h1 {
  font-size: var(--h1-size);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 2.5rem;
}

h2 {
  font-size: var(--h2-size);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
  line-height: 1.1;
}

h3 {
  font-size: var(--h3-size);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 2rem;
}

p {
  font-size: var(--text-normal);
  line-height: 1.8;
  opacity: 0.7;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}

.text-large {
  font-size: var(--text-large);
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 800px;
  text-wrap: balance;
}

/* Fix for mobile text wrapping and spacing */
@media (max-width: 768px) {

  h1,
  .h1 {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  h2,
  .h2 {
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  h3,
  .h3 {
    font-size: clamp(24px, 6vw, 28px);
    margin-bottom: 1rem;
  }

  .text-large {
    font-size: 16px;
    margin-bottom: 2rem;
  }

  p {
    line-height: 1.6;
    font-size: 15px;
  }
}

/* ========== SPACING HELPERS ========== */
.section {
  padding: clamp(100px, 15vw, 200px) 0;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  /* More padding for mobile */
  padding-right: 30px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-24 {
  margin-bottom: 6rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-20 {
  margin-top: 5rem;
}

.p-8 {
  padding: 2rem;
}

.p-10 {
  padding: 2.5rem;
}

.p-12 {
  padding: 3rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-20 {
  padding-top: 5rem;
}

.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.2em;
}

.tracking-wider {
  letter-spacing: 0.1em;
}

.font-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.text-xs {
  font-size: 11px;
}

.text-sm {
  font-size: 14px;
}

.text-lg {
  font-size: 18px;
}

/* ========== DECORATIVE ELEMENTS ========== */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1) 0%, rgba(5, 5, 5, 1) 100%);
}

.floating-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: float 25s infinite alternate ease-in-out;
  pointer-events: none;
}

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

.sphere-2 {
  width: 500px;
  height: 500px;
  background: #6C5CE7;
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
  opacity: 0.1;
}

.sphere-3 {
  width: 400px;
  height: 400px;
  background: #FF8534;
  top: 40%;
  right: 15%;
  animation-duration: 30s;
  animation-delay: -10s;
  opacity: 0.05;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(100px, 50px) rotate(180deg);
  }

  100% {
    transform: translate(-50px, 100px) rotate(360deg);
  }
}

/* Glass noise overlay */
.animated-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
}

/* ========== HERO BLOCK REFINEMENT ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  background: transparent;
  z-index: 10;
}

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

@media (max-width: 991px) {
  .hero {
    padding-top: 140px;
    text-align: center;
  }

  .hero h1 {
    text-wrap: normal;
  }
}

.section-title {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto clamp(80px, 12vw, 140px);
}

.section-title h2 {
  margin-bottom: 32px;
}

.section-title p {
  font-size: clamp(18px, 2.2vw, 22px);
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.6;
}

/* Page specific hero variations */
.ai-page-hero,
.b2b-page-hero,
.blog-hero,
.case-page-hero {
  min-height: 80vh;
  padding-top: 180px;
  padding-bottom: 120px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 80px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: 100px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(255, 77, 0, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 77, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.btn-small {
  padding: 12px 24px;
  font-size: 12px;
}

.btn-group {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 576px) {
  .btn-group {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    width: 100%;
  }
}

/* ========== PREMIUM GLASS CARD & HERO AI ========== */
.premium-glass-card {
  width: 100%;
  max-width: 480px;
  height: 520px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  position: relative;
  backdrop-filter: blur(40px);
  padding: 40px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    inset 0 0 40px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 77, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.floating-ai-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary) 0%, #6C5CE7 100%);
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.7;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transition: all 0.5s ease;
}

.ai-typewriter-box {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 32px;
  border-radius: 24px;
  width: 100%;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.typewriter-text {
  font-family: 'Inter', monospace;
  font-size: 14px;
  color: var(--white);
  min-height: 1.5em;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.typewriter-text::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--primary);
  margin-left: 2px;
  font-weight: bold;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ========== PREMIUM CARDS & HOVER EFFECTS ========== */
.premium-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 50px 40px;
  border-radius: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 77, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

.premium-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 0, 0.4);
  transform: translateY(-15px) scale(1.02);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 77, 0, 0.1);
}

.premium-icon-box {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 35px;
  color: var(--primary);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 2;
}

.premium-card:hover .premium-icon-box {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 15px 35px rgba(255, 77, 0, 0.4);
}

.premium-card h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  transition: color 0.3s ease;
}

.premium-card:hover h4 {
  color: var(--primary);
}

.premium-card p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* ========== CASE STUDIES (CARDS) ========== */
.case-study {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  overflow: hidden;
  margin-bottom: 80px;
  transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.case-study:hover {
  border-color: rgba(255, 77, 0, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.case-image {
  height: 100%;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

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

.case-study:hover .case-image img {
  transform: scale(1.1);
}

.case-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 5, 5, 0.4), transparent);
  pointer-events: none;
}

.case-content {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

@media (max-width: 768px) {
  .case-content {
    padding: 40px;
  }

  .case-image {
    min-height: 350px;
  }
}

.case-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: 100px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  width: fit-content;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.result-stat strong {
  font-size: 32px;
  color: var(--white);
  font-family: var(--font-display);
  display: block;
  margin-bottom: 5px;
}

.result-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 700;
}

/* ========== STATS GRID (FIX) ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  transition: all 0.5s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  transform: translateY(-10px);
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  display: block;
  margin-bottom: 15px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== AI SOLUTIONS v2 ========== */
.ai-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.ai-card-premium {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px;
  border-radius: 40px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.ai-card-premium:hover {
  background: rgba(255, 77, 0, 0.03);
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.ai-card-premium .card-footer {
  margin-top: auto;
  padding-top: 24px;
}

.ai-card-premium .learn-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 0.3s ease;
}

.ai-card-premium:hover .learn-more {
  gap: 12px;
}

.ai-card-premium .learn-more svg {
  transition: transform 0.3s ease;
}

.ai-card-premium:hover .learn-more svg {
  transform: translateX(4px);
}

.ai-card-premium .icon-blob {
  width: 64px;
  height: 64px;
  background: var(--wow-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 32px;
  box-shadow: 0 10px 20px rgba(255, 77, 0, 0.2);
}

/* ========== PRICING CARDS ========== */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 48px;
  border-radius: 32px;
  backdrop-filter: var(--glass-blur);
  transition: all 0.5s var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.active {
  background: rgba(255, 77, 0, 0.05);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(255, 77, 0, 0.15);
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

/* ========== FAQ v2 PREMIUM REFINED ========== */
.faq-container-v2 {
  max-width: 900px;
  margin: 60px auto 0;
}

.faq-item-v2 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item-v2:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 0, 0.2);
}

.faq-trigger {
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-trigger span {
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  padding-right: 20px;
}

.faq-plus {
  width: 24px;
  height: 24px;
  background: rgba(255, 77, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-content-v2 {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.faq-body-v2 {
  padding: 0 40px 40px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.faq-item-v2.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.faq-item-v2.active .faq-plus {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-item-v2.active .faq-content-v2 {
  max-height: 500px;
  opacity: 1;
}

@media (max-width: 576px) {
  .faq-trigger {
    padding: 20px 24px;
  }

  .faq-trigger span {
    font-size: 16px;
  }

  .faq-body-v2 {
    padding: 0 24px 24px;
  }
}

/* ========== FEATURED CASE CARD ========== */
.featured-case-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 48px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  margin-top: 80px;
}

.case-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: 100px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
}

.case-results {
  display: flex;
  gap: 40px;
  margin: 32px 0;
}

@media (max-width: 991px) {
  .featured-case-card {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }
}

/* ========== AI & B2B SPECIFIC COMPONENTS ========== */
.ai-grid,
.b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

@media (max-width: 1200px) {

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

@media (max-width: 768px) {

  .ai-grid,
  .b2b-grid {
    grid-template-columns: 1fr;
  }
}

/* Typewriter Effect Styles */
.typewriter-box {
  min-height: 1.5em;
  margin-top: 20px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--primary);
  margin-left: 4px;
  animation: blink 1s infinite;
  vertical-align: middle;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Moving Circle in Hero Card */
.moving-circle {
  width: 100px;
  height: 100px;
  background: var(--wow-gradient);
  border-radius: 50%;
  position: absolute;
  filter: blur(20px);
  opacity: 0.6;
  z-index: 0;
}

/* ========== CONTACT & FOOTER ========== */
.cta-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  background: #030303;
}

.contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  padding: 64px;
  backdrop-filter: blur(30px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  position: relative;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  border-radius: 16px;
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 77, 0, 0.15);
}

.footer {
  padding: 64px 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

/* ========== FOOTER ========== */
.footer {
  padding: 100px 0 60px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  text-align: left;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

.footer-brand p {
  max-width: 320px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========== GRID SYSTEM (FLEX) REFINEMENT ========== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -20px;
  margin-left: -20px;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
}

.col-lg-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-lg-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-lg-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-lg-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-lg-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) and (max-width: 991px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 991px) {
  [class*="col-lg-"]:not(.col-md-6) {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 32px;
  }
}

@media (max-width: 767px) {
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 32px;
  }
}

/* ========== UTILITIES ========== */
.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

@media (min-width: 992px) {
  .lg\:order-1 {
    order: 1;
  }

  .lg\:order-2 {
    order: 2;
  }
}

.case-grid-v2 {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.faq-container-v3 {
  max-width: 900px;
  margin: 0 auto;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.text-xs {
  font-size: 11px;
}

.text-sm {
  font-size: 14px;
}

.text-lg {
  font-size: 18px;
}

.tracking-widest {
  letter-spacing: 0.2em;
}

.tracking-wider {
  letter-spacing: 0.1em;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-40 {
  opacity: 0.4;
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.7s;
  will-change: transform, opacity;
}

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

/* ========== FORM STYLES ========== */
.glass-form {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 24px;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 77, 0, 0.15);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 9999;
  transition: all 0.4s ease;
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  padding: 16px 0;
  background: rgba(5, 5, 5, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== NAVIGATION ========== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links>a,
.nav-links .dropdown-trigger {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-links>a:hover,
.nav-links .dropdown-trigger:hover {
  opacity: 1;
  color: var(--primary);
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.dropdown-trigger:hover svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  top: calc(100% + 8px);
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-link .title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.dropdown-link .desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== LOGO & HEADER REFINED ========== */
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 77, 0, 0.2));
  transition: all 0.5s var(--transition-normal);
}

.logo:hover img {
  filter: drop-shadow(0 0 25px rgba(255, 77, 0, 0.5));
  transform: scale(1.05);
}

.logo-tagline {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  border-left: 2px solid var(--primary);
  padding-left: 18px;
  line-height: 1.2;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
}

.logo-tagline span {
  display: block;
  color: var(--primary);
}

.logo-tagline::after {
  content: 'WEB STUDIO';
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.4em;
  margin-top: 4px;
  font-weight: 600;
}

/* ========== PREMIUM CARDS & HOVER EFFECTS REFINED ========== */
.premium-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 50px 40px;
  border-radius: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.premium-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 77, 0, 0.08), 0 30px 60px rgba(0, 0, 0, 0.3);
}

.premium-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 77, 0, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

.premium-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 0, 0.4);
  transform: translateY(-15px);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 77, 0, 0.1);
}

.premium-icon-box {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 35px;
  color: var(--primary);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 2;
}

.premium-card:hover .premium-icon-box {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 15px 35px rgba(255, 77, 0, 0.4);
}

.premium-card h4,
.premium-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  transition: color 0.3s ease;
}

.premium-card:hover h4,
.premium-card:hover h3 {
  color: var(--primary);
}

.premium-card p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* ========== CASE STUDIES (CARDS) REFINED ========== */
.case-study {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  overflow: hidden;
  margin-bottom: 80px;
  transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.case-study:hover {
  border-color: rgba(255, 77, 0, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.case-image {
  height: 100%;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

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

.case-study:hover .case-image img {
  transform: scale(1.1);
}

.case-content {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: 100px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  width: fit-content;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.result-stat strong {
  font-size: 32px;
  color: var(--white);
  font-family: var(--font-display);
  display: block;
  margin-bottom: 5px;
}

.result-stat span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 700;
}

/* ========== STATS GRID (NUMBERS) REFINED ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  transition: all 0.5s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  transform: translateY(-10px);
}

.stat-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  display: block;
  margin-bottom: 15px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

/* ========== AI FEATURE CARDS REFINED ========== */
.ai-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.ai-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  transform: translateY(-10px);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(20px);
  z-index: 9998;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu .close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 10px;
  transition: transform 0.3s ease;
}

.mobile-menu .close-menu:hover {
  transform: rotate(90deg);
  color: var(--primary);
}

.mobile-menu .nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu .mobile-link {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-menu .mobile-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
}

.mobile-menu .mobile-link:hover {
  color: var(--primary);
}

.mobile-menu .mobile-link:hover::after {
  transform: translateX(0);
}

.mobile-menu .btn {
  margin-top: 24px;
  width: auto;
  min-width: 200px;
}

/* Prevent scrolling when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Show hamburger on mobile, hide on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  z-index: 9999;
  /* Above header background but below logo if needed, usually just high */
}

/* Lucide Icon Sizing */
.menu-toggle svg,
.close-menu svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 991px) {
  .nav .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-small {
  padding: 10px 24px;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 20px rgba(255, 77, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 77, 0, 0.5);
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Fix for manually embedded SVG in dropdown */
.dropdown-trigger svg {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.dropdown-trigger.active svg,
.dropdown-trigger:hover svg {
  transform: rotate(180deg);
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.header svg {
  max-width: 32px;
  max-height: 32px;
}

/* ========== CLIENT LOGOS SECTION ========== */
.client-logos {
  padding: 60px 0;
}

.logos-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: 80px;
  animation: scrollLogos 20s linear infinite;
  white-space: nowrap;
}

.logos-track span {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  opacity: 0.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.logos-track span:hover {
  opacity: 0.8;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========== PROCESS TIMELINE ========== */
.process-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Removed .process-timeline::before as requested */

.process-step {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: rgba(255, 77, 0, 0.1);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  position: relative;
  z-index: 2;
}

.step-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  flex: 1;
  transition: all 0.4s ease;
}

.step-content:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateX(10px);
}

.step-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.step-content p {
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .process-timeline::before {
    left: 30px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 18px;
  }

  .process-step {
    gap: 20px;
  }

  .step-content {
    padding: 24px;
  }

  .step-content h4 {
    font-size: 18px;
  }
}

/* ========== MB LARGE UTILITY ========== */
.mb-large {
  margin-bottom: 80px;
}

/* ========== AI PAGE STYLES ========== */
.ai-page-hero {
  padding-top: 160px;
  padding-bottom: 120px;
}

.ai-stats-v2 {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.ai-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.ai-stat-card:hover {
  background: rgba(255, 77, 0, 0.05);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.ai-stat-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}

.ai-stat-label {
  font-size: 12px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Demo Box */
.demo-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.demo-screen {
  background: linear-gradient(180deg, rgba(255, 77, 0, 0.02) 0%, transparent 100%);
  min-height: 400px;
}

/* AI Feature Cards */
.ai-feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s ease;
  height: 100%;
}

.ai-feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateY(-8px);
}

.ai-feature-card .feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 77, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.ai-feature-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.ai-feature-card p {
  font-size: 15px;
  opacity: 0.7;
  line-height: 1.6;
}

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

.ai-card-premium {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 48px;
  text-decoration: none;
  color: inherit;
  transition: all 0.5s ease;
  display: block;
}

.ai-card-premium:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.ai-card-premium .icon-blob {
  font-size: 48px;
  margin-bottom: 24px;
}

.ai-card-premium h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.ai-card-premium p {
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ai-card-premium .card-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-card-premium .learn-more {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 991px) {
  .ai-solutions-grid {
    grid-template-columns: 1fr;
  }

  .ai-stats-v2 {
    justify-content: center;
  }
}

/* ========== B2B SPECIFIC STYLES ========== */
.b2b-page-hero {
  padding-top: 160px;
  padding-bottom: 120px;
}

.roi-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 60px;
  backdrop-filter: blur(30px);
}

.result-box {
  background: rgba(255, 77, 0, 0.05);
  border: 1px solid rgba(255, 77, 0, 0.2);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
}

.savings-value {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  margin: 20px 0;
  text-shadow: 0 0 30px rgba(255, 77, 0, 0.3);
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateY(-8px);
}

.step-num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 77, 0, 0.3);
  font-family: var(--font-display);
  margin-bottom: 20px;
  line-height: 1;
}

.step-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.step-card p {
  font-size: 15px;
  opacity: 0.7;
  line-height: 1.6;
  margin: 0;
}

/* ========== AI & B2B RESPONSIVE STYLES ========== */
@media (max-width: 991px) {
  .ai-page-hero,
  .b2b-page-hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .roi-card {
    padding: 40px;
  }

  .savings-value {
    font-size: 48px;
  }

  .step-card {
    padding: 32px;
  }

  .step-num {
    font-size: 40px;
  }

  .ai-stats-v2 {
    justify-content: center;
  }

  .demo-box {
    margin-top: 40px;
  }

  .demo-screen {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .ai-page-hero,
  .b2b-page-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .ai-stats-v2 {
    gap: 16px;
  }

  .ai-stat-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    padding: 16px 20px;
  }

  .ai-stat-val {
    font-size: 24px;
  }

  .ai-stat-label {
    font-size: 11px;
  }

  .demo-screen {
    min-height: 300px;
  }

  .ai-feature-card {
    padding: 24px;
  }

  .ai-feature-card .feature-icon {
    width: 50px;
    height: 50px;
  }

  .ai-feature-card h4 {
    font-size: 18px;
  }

  .ai-feature-card p {
    font-size: 14px;
  }

  .roi-card {
    padding: 32px 24px;
  }

  .result-box {
    padding: 32px;
    margin-top: 32px;
  }

  .savings-value {
    font-size: 40px;
  }

  .step-card {
    padding: 28px;
  }

  .step-num {
    font-size: 36px;
  }

  .step-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .ai-stats-v2 {
    gap: 12px;
  }

  .ai-stat-card {
    flex: 1 1 calc(50% - 6px);
    min-width: 120px;
    padding: 14px 16px;
  }

  .ai-stat-val {
    font-size: 20px;
  }

  .ai-stat-label {
    font-size: 10px;
  }

  .demo-box {
    border-radius: 16px;
  }

  .demo-screen {
    min-height: 250px;
  }

  .ai-chat-demo {
    padding: 16px !important;
    gap: 8px !important;
  }

  .msg-bubble {
    padding: 12px 16px !important;
    font-size: 12px !important;
  }

  .roi-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .result-box {
    padding: 24px;
    margin-top: 24px;
  }

  .savings-value {
    font-size: 32px;
  }

  .step-card {
    padding: 24px;
  }

  .step-num {
    font-size: 32px;
  }

  .step-card h3 {
    font-size: 18px;
  }

  .step-card p {
    font-size: 14px;
  }
}

/* ========== CASE PAGE HERO ========== */
.case-page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
}

.back-link {
  transition: all 0.3s ease;
}

.back-link:hover {
  opacity: 1 !important;
  transform: translateX(-4px);
}

.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.client-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 77, 0, 0.3);
}

/* Case Page Responsive */
@media (max-width: 991px) {
  .case-page-hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .demo-box {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .case-page-hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .back-link {
    font-size: 13px !important;
  }

  .client-badge {
    padding: 10px 20px;
    font-size: 14px;
  }

  .chat-demo-messages {
    padding: 24px !important;
    gap: 12px !important;
  }
}

@media (max-width: 576px) {
  .case-page-hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .chat-demo-messages {
    padding: 20px !important;
    gap: 10px !important;
  }

  .ai-feature-card h3 {
    font-size: 18px;
  }
}

/* ========== SECTION LIGHT ========== */
.section-light {
  background: rgba(255, 255, 255, 0.02);
}

/* ========== CASE CARD V2 ========== */
.case-card-v2 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 60px;
  overflow: hidden;
}

.case-content-v2 {
  padding-right: 40px;
}

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

.case-tag {
  background: rgba(255, 77, 0, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.case-card-v2 h3 {
  font-size: 36px;
  margin-bottom: 20px;
}

/* ========== PRICING FEATURES LIST ========== */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  opacity: 0.8;
}

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

/* ========== SERVICE PRICE ========== */
.service-price {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

/* ========== FEATURE ICON ========== */
.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 77, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
}

/* ========== BG DARK ========== */
.bg-dark {
  background: rgba(0, 0, 0, 0.3);
}

/* ========== BUTTON GROUP ========== */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== HERO VISUAL ========== */
.hero-visual {
  display: flex;
  justify-content: center;
}

/* ========== ITEMS CENTER ========== */
.items-center {
  align-items: center;
}

/* ========== JUSTIFY CENTER ========== */
.justify-center {
  justify-content: center;
}

/* ========== GAP 6 ========== */
.gap-6 {
  gap: 1.5rem;
}

/* ========== MX AUTO ========== */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ========== OPACITY UTILITIES ========== */
.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-50 {
  opacity: 0.5;
}

/* ========== BORDER UTILITIES ========== */
.border-t {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.border-light {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ========== ROUNDED UTILITIES ========== */
.rounded-2xl {
  border-radius: 16px;
}

/* ========== ML UTILITY ========== */
.ml-4 {
  margin-left: 1rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

/* ========== LG PREFIX UTILITIES ========== */
@media (min-width: 992px) {
  .lg\:mt-0 {
    margin-top: 0;
  }
}

/* ========== FEATURES GRID ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========== FAQ ACCORDION V3 ========== */
.faq-container-v3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item-v3 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item-v3:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 77, 0, 0.2);
}

.faq-trigger-v3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
  gap: 20px;
}

.faq-trigger-v3 span {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.faq-plus-v3 {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-plus-v3::before,
.faq-plus-v3::after {
  content: '';
  position: absolute;
  background: var(--accent-color);
  transition: all 0.3s ease;
}

.faq-plus-v3::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.faq-plus-v3::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item-v3.active .faq-plus-v3 {
  transform: rotate(45deg);
}

.faq-content-v3 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item-v3.active .faq-content-v3 {
  max-height: 500px;
}

.faq-body-v3 {
  padding: 0 28px 24px 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-trigger-v3 {
    padding: 20px 22px;
  }

  .faq-trigger-v3 span {
    font-size: 16px;
  }

  .faq-body-v3 {
    padding: 0 22px 20px 22px;
    font-size: 15px;
  }

  .faq-plus-v3 {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .faq-trigger-v3 {
    padding: 18px 20px;
  }

  .faq-trigger-v3 span {
    font-size: 15px;
  }

  .faq-body-v3 {
    padding: 0 20px 18px 20px;
    font-size: 14px;
  }
}