@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@600;700;800&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --bg-primary: #050508;
  --bg-secondary: #0c0d12;
  --bg-glass: rgba(12, 13, 18, 0.65);
  --border-glass: rgba(255, 255, 255, 0.05);
  --border-glass-hover: rgba(255, 255, 255, 0.12);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-primary: #6366f1; /* Indigo */
  --accent-secondary: #06b6d4; /* Cyan */
  --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --accent-glow: rgba(99, 102, 241, 0.15);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Hide default cursor for custom cursor experience */
}

@media (max-width: 1024px) {
  * {
    cursor: auto !important; /* Restore normal cursor on touch/mobile devices */
  }
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gradient);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--transition-fast);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  section {
    padding: 5rem 0;
  }
}

/* --- GLASSMORPHIC & GLOW CARDS --- */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  transition: border-color 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.04), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
}

/* --- PREMIUM BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: none;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
}

/* --- CUSTOM CURSOR --- */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
  mix-blend-mode: difference;
}

.custom-cursor-dot {
  width: 4px;
  height: 4px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
}

.custom-cursor.hover {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(12, 13, 18, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  transition: all 0.3s var(--transition-fast);
}

header.scrolled {
  top: 0.5rem;
  width: 95%;
  background: rgba(5, 5, 8, 0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.05em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

nav a:hover {
  color: var(--text-primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s var(--transition-smooth);
}

nav a:hover::after {
  width: 100%;
}

.header-cta {
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 55%);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: pulse-border 3s infinite;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-secondary);
}

.hero-section h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }
}

/* Floating Grid Animation for Hero Background */
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  z-index: 1;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 10;
}

.scroll-mouse {
  width: 22px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-secondary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel-anim 1.8s infinite;
}

/* --- MY WORK (LOCAL & ECOMMERCE) --- */
.section-title-wrap {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-subtitle {
  color: var(--accent-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 700px;
  margin: 0 auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

.project-card {
  border-radius: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: all 0.5s var(--transition-smooth);
}

.project-media {
  position: relative;
  width: 100%;
  height: 320px;
  background: #0f1015;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG Mockups inside Project Card */
.mockup-svg {
  width: 85%;
  height: 85%;
  transition: transform 0.6s var(--transition-smooth);
}

.project-card:hover .mockup-svg {
  transform: scale(1.05) translateY(-5px);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5,5,8,0.9) 0%, rgba(5,5,8,0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  padding: 2.2rem;
}

.project-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-outcomes {
  border-top: 1px solid var(--border-glass);
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.outcome-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #10b981; /* Green */
  background: rgba(16, 185, 129, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}

.outcome-tag.trust {
  color: #3b82f6; /* Blue for trust */
  background: rgba(59, 130, 246, 0.08);
}

.project-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transform: translateY(-8px);
}

/* Before/After slider layout style for one of the projects */
.ba-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-before {
  background: #1e1e24;
  z-index: 1;
}

.ba-after {
  background: #0d0e12;
  z-index: 2;
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.1s;
}

.ba-slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* --- ABOUT ME --- */
.about-section {
  background: radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
}

.about-photo-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
}

.about-photo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(99, 102, 241, 0.2), transparent 70%);
  z-index: 1;
}

/* Styling for a custom decorative grid graphic instead of photo placeholder */
.about-photo-graphic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.about-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.1);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.about-content {
  padding-left: 2rem;
}

@media (max-width: 900px) {
  .about-content {
    padding-left: 0;
  }
}

.about-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.about-bio {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- BENEFITS SECTION ("What you get") --- */
.benefits-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.tabs-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 0.4rem;
  display: flex;
  position: relative;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 100px;
  z-index: 2;
  transition: color 0.3s var(--transition-smooth);
}

.tab-btn.active {
  color: #fff;
}

.tab-indicator {
  position: absolute;
  top: 0.4rem;
  left: 0;
  bottom: 0.4rem;
  width: calc(50% - 0.4rem);
  background: var(--accent-gradient);
  border-radius: 100px;
  z-index: 1;
  transition: transform 0.4s var(--transition-smooth), width 0.4s var(--transition-smooth);
}

.tab-pane {
  display: none;
  animation: fade-in 0.5s var(--transition-smooth) forwards;
}

.tab-pane.active {
  display: block;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: all 0.4s var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 15px rgba(6, 182, 212, 0.1);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.benefit-feature {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.benefit-card h4 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- ESTIMATE CALCULATOR --- */
.calculator-wrap {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

.calculator-card {
  width: 100%;
  max-width: 800px;
  background: rgba(12,13,18,0.7);
  border: 1px solid rgba(99,102,241,0.2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.calc-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.calc-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2.5rem;
}

.calc-row {
  margin-bottom: 2rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.calc-label-val {
  color: var(--accent-secondary);
  font-weight: 700;
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 5px;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99,102,241,0.5);
  transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-glass-hover);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.calc-result-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #10b981;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
  margin-bottom: 0.5rem;
}

.calc-result-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- VIDEO TESTIMONIALS --- */
.testimonials-section {
  background: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

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

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

.testimonial-card {
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #0b0c10;
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.testimonial-video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--transition-smooth);
}

/* Hover looping zoom effect mimicking video interaction */
.testimonial-card:hover .testimonial-video-placeholder {
  transform: scale(1.06);
}

/* Gradient overlay to read details clearly */
.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,8,0.95) 0%, rgba(5,5,8,0.6) 40%, transparent 100%);
  z-index: 2;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
}

.play-hover-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  z-index: 3;
  opacity: 0.7;
  transition: all 0.4s var(--transition-smooth);
  pointer-events: none;
}

.testimonial-card:hover .play-hover-indicator {
  transform: translate(-50%, -50%) scale(1.05);
  background: #fff;
  color: #000;
  opacity: 1;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.client-outcome {
  color: #10b981;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.client-quote {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.client-meta {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.client-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.client-company {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- WE HANDLE EVERYTHING --- */
.tech-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.tech-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tech-card h4 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-check {
  color: #10b981;
  font-size: 1.1rem;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- CONSULTATION BOOKING --- */
.booking-section {
  background: radial-gradient(circle at 50% 90%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  border-top: 1px solid var(--border-glass);
}

.booking-form-card {
  padding: 3rem;
  border-color: rgba(99, 102, 241, 0.15);
}

.booking-form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.booking-form-card p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .form-group-2 {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

.form-input:focus {
  border-color: var(--accent-secondary);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.booking-secondary-ctas {
  margin-top: 2rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.booking-quick-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.booking-quick-link {
  color: var(--accent-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0;
  text-align: center;
  background: var(--bg-primary);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* --- LEAD CAPTURE POPUP MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--transition-smooth);
}

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

.modal-card {
  width: 90%;
  max-width: 520px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.5s var(--transition-smooth);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px rgba(99, 102, 241, 0.1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.modal-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-secondary);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.modal-card p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.modal-card form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* --- FLOATING WHATSAPP & CHATBOT --- */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
  cursor: none;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.whatsapp-btn {
  background-color: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.chatbot-btn {
  background: var(--accent-gradient);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  position: relative;
}

.chatbot-btn-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  animation: pulse-badge 2s infinite;
}

/* Chatbot Drawer Drawer */
.chat-drawer {
  position: fixed;
  bottom: 8.5rem;
  right: 2rem;
  width: 360px;
  height: 480px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 30px rgba(99, 102, 241, 0.1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--transition-smooth);
}

.chat-drawer.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-bot-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-bot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
}

.chat-bot-info h5 {
  font-size: 0.9rem;
}

.chat-bot-status {
  font-size: 0.75rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chat-bot-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: none;
}

.chat-close-btn:hover {
  color: #fff;
}

.chat-messages {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-msg {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 15px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.chat-msg-bot {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
  align-self: flex-start;
}

.chat-msg-user {
  background: var(--accent-gradient);
  color: #fff;
  border-bottom-right-radius: 2px;
  align-self: flex-end;
}

.chat-quick-replies {
  padding: 0.5rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-reply-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  color: var(--accent-secondary);
  border-radius: 100px;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: none;
  transition: all 0.3s;
}

.quick-reply-btn:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
}

.chat-input-area {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 0.75rem;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
}

.chat-input:focus {
  border-color: var(--accent-secondary);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: none;
  transition: transform 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

/* --- ANIMATIONS KEYFRAMES --- */
@keyframes scroll-wheel-anim {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  60% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

@keyframes pulse-border {
  0%, 100% { border-color: var(--border-glass); }
  50% { border-color: rgba(99, 102, 241, 0.3); }
}

@keyframes pulse-badge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 110, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 110, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 110, 0); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
