/* ==========================================================================
   Aanandi TechnoSoft - Custom Software & Product Engineering Studio
   Clean, Single-Page Centered Design System: Liquid Glass & High Contrast
   ========================================================================== */

/* 1. Base & Reset */
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: #08090e;
  color: #f1f5f9;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* Custom Selection */
::selection {
  background-color: rgba(59, 130, 246, 0.35);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #08090e;
}

::-webkit-scrollbar-thumb {
  background: #1e2230;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

::-webkit-scrollbar-thumb:hover {
  background: #2b3245;
}

/* Subtle Architectural Grid Background */
.bg-cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.mask-radial-center {
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 95%);
}

/* Organic Floating Aurora Glow Spheres */
.aurora-glow-core {
  position: absolute;
  border-radius: 9999px;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.38;
  mix-blend-mode: screen;
}

.aurora-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(37, 99, 235, 0.12) 50%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation: auraPulse 14s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
  top: 400px;
  left: 50%;
  transform: translateX(-50%);
  animation: auraPulse 18s ease-in-out infinite alternate-reverse;
}

@keyframes auraPulse {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.3; }
  50% { transform: translateX(-50%) scale(1.08); opacity: 0.45; }
  100% { transform: translateX(-50%) scale(0.95); opacity: 0.3; }
}

/* Crisp Hero Title Gradient */
.hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 30%, #c7d2fe 65%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(59, 130, 246, 0.3));
}

/* ==========================================================================
   2. Liquid Glass Design System
   ========================================================================== */

/* Liquid Glass Floating Navigation */
.liquid-nav-bar {
  background: rgba(10, 12, 18, 0.78);
  backdrop-filter: blur(24px) saturate(190%) brightness(105%);
  -webkit-backdrop-filter: blur(24px) saturate(190%) brightness(105%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 36px -10px rgba(0, 0, 0, 0.65);
}

.liquid-nav-link {
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.liquid-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18);
}

.liquid-nav-link.active {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.3);
}

/* Liquid Glass Cards */
.liquid-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(18, 20, 29, 0.85) 45%, rgba(10, 11, 16, 0.95) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  box-shadow: 
    inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4),
    0 16px 40px -12px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.liquid-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.35),
    0 24px 50px -12px rgba(0, 0, 0, 0.85),
    0 0 45px -10px rgba(59, 130, 246, 0.22);
  transform: translateY(-3px);
}

/* Liquid Specular Rim */
.liquid-specular-rim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.6) 45%, rgba(59, 130, 246, 0.4) 65%, transparent 95%);
  pointer-events: none;
  z-index: 10;
}

/* Liquid Glass Badges & Pills */
.liquid-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.liquid-badge:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 18px rgba(59, 130, 246, 0.2);
}

/* Primary Glass Button */
.btn-glass-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 25px -4px rgba(37, 99, 235, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-glass-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.55),
    0 14px 30px -4px rgba(37, 99, 235, 0.65);
}

/* Secondary Glass Button */
.btn-glass-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glass-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

/* Shimmer Highlight Effect */
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 80%
  );
  transform: rotate(25deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn-shimmer:hover::after {
  transform: rotate(25deg) translate(280%, -20%);
}

/* ==========================================================================
   3. Product Showcase Cards & Interactive Filters
   ========================================================================== */

/* Filter Pills */
.filter-btn {
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: #94a3b8;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.filter-btn.active {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
}

/* Product Card Media Box */
.product-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.875rem;
  overflow: hidden;
  background: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-media-frame img {
  transform: scale(1.04);
}

.product-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 14, 0.85) 100%);
  pointer-events: none;
}

/* Tech Stack Tags */
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.tech-tag:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   4. Contact Form Design & State Highlights
   ========================================================================== */

.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.875rem;
  transition: all 0.25s ease;
  outline: none;
}

.glass-input::placeholder {
  color: #64748b;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: #3b82f6;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.22);
}

/* Choice Pills (Project Type & Budget) */
.choice-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.choice-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.choice-pill.selected {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.25);
}

/* ==========================================================================
   5. Fullscreen Image Preview Lightbox
   ========================================================================== */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  background: #0d0f17;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   6. Keyframe Animations
   ========================================================================== */

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0.6; }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* ==========================================================================
   7. Form Input Icon Enhancements
   ========================================================================== */
.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-icon-wrapper input:focus + .input-icon,
.input-icon-wrapper input:focus ~ .input-icon,
.input-icon-wrapper:focus-within .input-icon {
  color: #3b82f6;
}

.input-icon-wrapper .glass-input {
  padding-left: 42px;
}

/* ==========================================================================
   8. Laravel-Style Giant Typographic Footer Signature
   ========================================================================== */
.footer-laravel-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, rgba(8, 9, 14, 0.4) 0%, rgba(11, 13, 20, 0.9) 35%, #050609 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-specular {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, rgba(59, 130, 246, 0.4) 30%, rgba(255, 255, 255, 0.7) 50%, rgba(99, 102, 241, 0.4) 70%, transparent 95%);
  pointer-events: none;
}

.footer-ambient-stage {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 95vw;
  max-width: 1200px;
  height: 320px;
  background: radial-gradient(ellipse 75% 65% at 50% 100%, rgba(59, 130, 246, 0.45) 0%, rgba(99, 102, 241, 0.28) 38%, rgba(6, 182, 212, 0.12) 65%, transparent 85%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.footer-giant-wordmark-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.footer-giant-svg {
  width: 100%;
  height: auto;
  max-width: 1050px;
  display: block;
  user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 35px rgba(59, 130, 246, 0.28));
  transition: filter 0.4s ease;
}

.footer-giant-wordmark-container:hover .footer-giant-svg {
  filter: drop-shadow(0 0 55px rgba(59, 130, 246, 0.45));
}

/* Fallback pure CSS text for Laravel signature (completely unclipped) */
.footer-giant-brand-text {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  padding: 0.75rem 0;
  font-size: clamp(3.75rem, 13.5vw, 12rem);
  text-align: center;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(191, 219, 254, 0.22) 40%, rgba(59, 130, 246, 0.08) 80%, rgba(30, 58, 138, 0.01) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 60px rgba(59, 130, 246, 0.25);
  position: relative;
  z-index: 2;
  transition: all 0.5s ease;
}

/* Action Badges for Live Projects */
.playstore-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.playstore-badge-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.2);
}

.livedemo-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.livedemo-badge-btn:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.5);
  color: #93c5fd;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.2);
}

/* Workflow Step Cards */
.workflow-step-card {
  position: relative;
  background: rgba(15, 18, 28, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-step-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.15);
}

/* Security Certification Badges */
.security-badge-card {
  background: rgba(15, 18, 28, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.security-badge-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.12);
}

