/* ===================================
   REDESIGN DESIGN SYSTEM - CSS OVERRIDES
   PREMIUM LIGHT MODE GLASSMORPHISM
   =================================== */

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

:root {
  /* Premium Light Palette */
  --fast-accent: #7C3AED; /* Original Vibrant Purple */
  --fast-accent-dark: #6D28D9;
  --fast-accent-light: #A78BFA;
  --fast-gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  --fast-ink: #111827; /* Dark text for light mode */
  --fast-muted: #4b5563; /* Muted gray for secondary text */
  --fast-border: rgba(255, 255, 255, 0.6); /* White frosted borders */
  --fast-surface: rgba(255, 255, 255, 0.65); /* Glassmorphism Base for light mode */
  --fast-surface-2: rgba(255, 255, 255, 0.85);
  --fast-shadow: 0 10px 35px -5px rgba(124, 58, 237, 0.15); /* Soft purple-tinted shadow */
  --fast-radius: 16px;
  
  --bg-color-main: #f8fafc; /* Very soft cool gray/white */
}

html {
  background: linear-gradient(135deg, #fdfbfb 0%, #f1f5f9 100%) !important;
  background-attachment: fixed !important;
}

body {
  max-width: 1440px !important;
  margin: 0 auto !important;
  background-color: transparent !important;
  color: var(--fast-ink) !important;
  font-family: 'Inter', sans-serif !important;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.03) !important;
}

h1, h2, h3, h4, h5, h6, .head1, .section-heading, .process-title {
  font-family: 'Outfit', sans-serif !important;
  color: var(--fast-ink) !important;
  letter-spacing: -0.02em;
}

/* Typography Overrides */
.head1 {
  background: var(--fast-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0px 2px 4px rgba(124, 58, 237, 0.15));
}

.head2 {
  color: var(--fast-muted) !important;
}

/* Sections Overrides - clear explicit backgrounds so our mesh gradient shows */
.goodWebsite, 
.value-section, 
.testimonials-section, 
.pricing-section, 
.contact-section,
.featured-work {
  background: transparent !important;
}

/* Floating Navigation Header */
.mainHeading {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 15px !important;
}

.mainHeading .container {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.08) !important;
  border-radius: 25px !important;
  padding: 10px 30px !important;
}

.mainLogo h1 {
  color: var(--fast-ink) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Glassmorphism Cards */
.service-card,
.svc-item,
.cta-card,
.testimonial-card,
.pricing-card,
.contact-card,
.fw-card,
.proof-card {
  background: var(--fast-surface) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--fast-border) !important;
  box-shadow: var(--fast-shadow) !important;
  color: var(--fast-ink) !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.service-card:hover,
.svc-item:hover,
.testimonial-card:hover,
.pricing-card:hover,
.fw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15) !important;
  border-color: rgba(124, 58, 237, 0.3) !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

/* Text inside cards */
.service-card p,
.svc-item .svc-body,
.testimonial-quote,
.pricing-desc,
.fw-card p {
  color: var(--fast-muted) !important;
}

.svc-title,
.pricing-name,
.testimonial-name,
.fw-card h3 {
  color: var(--fast-ink) !important;
}

/* Buttons */
.btn-primary {
  background: var(--fast-gradient) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 6px 15px rgba(124, 58, 237, 0.25) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-primary:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4) !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid var(--fast-accent) !important;
  color: var(--fast-accent) !important;
  backdrop-filter: blur(4px) !important;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.05) !important;
}

.btn-secondary:hover {
  background: var(--fast-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3) !important;
}

/* --- Navigation Links Overrides --- */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px !important;
}

.site-nav ul li a {
  background: transparent !important;
  color: var(--fast-muted) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 8px 16px !important;
  transition: all 0.2s ease !important;
  font-weight: 500 !important;
  font-size: 15px !important;
}

.site-nav ul li a:hover {
  background: rgba(124, 58, 237, 0.06) !important;
  color: var(--fast-accent) !important;
  box-shadow: none !important;
}

.site-nav ul li.active a {
  background: var(--fast-accent) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25) !important;
  font-weight: 600 !important;
}

/* Navigation Links */
#primaryNav ul li a {
  color: var(--fast-ink) !important;
  font-weight: 500 !important;
  transition: color 0.2s ease;
}

#primaryNav ul li a:hover {
  color: var(--fast-accent) !important;
}

/* Input Fields */
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: var(--fast-ink) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--fast-accent) !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
  background: #ffffff !important;
}

.form-row label {
  color: var(--fast-ink) !important;
  font-weight: 600 !important;
}

/* Code Banner Special - Keep this dark for contrast, like a real IDE */
.yc-codebanner {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3) !important;
  border-radius: 12px;
  overflow: hidden;
}

.yc-codebanner__header {
  background: rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Footer overrides */
.footFooter {
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  color: var(--fast-muted) !important;
}

.footer-contact p, .footer-contact a {
  color: var(--fast-muted) !important;
}

.contact-heading {
  color: var(--fast-ink) !important;
}

/* Process steps */
.step-number {
  background: var(--fast-gradient) !important;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
  color: white !important;
}

/* Pricing popular badge */
.popular-badge {
  background: var(--fast-gradient) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.pricing-card.popular {
  border: 2px solid var(--fast-accent) !important;
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15) !important;
  background: rgba(255, 255, 255, 0.85) !important;
}

/* --- Header Layout Fix --- */
@media screen and (min-width: 769px) {
  .mainHeading .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .mainLogo {
    margin: 0 !important;
    padding: 0 !important;
  }

  #primaryNav {
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-nav ul {
    gap: 12px !important;
  }
}

/* --- Mobile Friendly Overrides --- */
.nav-toggle-bar {
  background-color: var(--fast-ink) !important;
}

@media screen and (max-width: 768px) {
  .mainHeading {
    padding: 10px !important;
  }
  
  .mainHeading .container {
    padding: 15px 20px !important;
    border-radius: 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  body.nav-open .site-nav {
    display: block !important;
    background: var(--fast-surface) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--fast-border);
    border-radius: 16px;
    padding: 20px !important;
    margin-top: 15px !important;
    box-shadow: var(--fast-shadow);
    width: 100%;
  }

  body.nav-open .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .head1 {
    font-size: 36px !important;
  }
  
  .cta-card, .service-card, .pricing-card {
    padding: 24px 20px !important;
  }
}

/* --- Quote Strip Redesign --- */
.value-quote-strip {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  background: var(--fast-surface) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--fast-border) !important;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1) !important;
  border-radius: var(--fast-radius) !important;
  padding: 30px 40px !important;
  margin-bottom: 40px !important;
  border-left: none !important;
  position: relative;
  overflow: hidden;
}

.value-quote-img {
  width: 120px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(124, 58, 237, 0.2));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.value-quote-content {
  flex: 1;
}

.value-quote {
  font-size: 26px !important;
  background: var(--fast-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px !important;
  font-family: 'Outfit', sans-serif !important;
}

.value-sub {
  font-size: 18px !important;
  color: var(--fast-muted) !important;
}

@media screen and (max-width: 768px) {
  .value-quote-strip {
    flex-direction: column !important;
    text-align: center !important;
    padding: 24px 20px !important;
    gap: 20px !important;
  }
  .value-quote-img {
    width: 90px;
  }
}

/* --- Testimonials Grid Flex Layout --- */
.testimonials-grid {
  display: flex !important;
  gap: 24px !important;
  flex-wrap: nowrap !important; /* 4 columns on desktop and tablet */
  align-items: stretch !important;
}

.testimonial-card {
  flex: 1 !important;
  min-width: 0 !important; /* Prevent text overflow from breaking flex */
  background: var(--fast-surface) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--fast-border) !important;
  border-radius: var(--fast-radius) !important;
  padding: 24px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  flex-grow: 1; /* Pushes the name to the bottom evenly */
}

@media screen and (max-width: 768px) {
  .testimonials-grid {
    flex-wrap: wrap !important;
  }
  .testimonial-card {
    flex: 1 1 100% !important;
  }
}

/* --- CTA Banner Redesign --- */
.cta-card {
  background: linear-gradient(135deg, var(--fast-accent) 0%, #3b82f6 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3) !important;
  padding: 60px 40px !important;
  border-radius: 30px !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.cta-heading {
  color: white !important;
  font-size: 42px !important;
  margin-bottom: 16px !important;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 20px !important;
  margin-bottom: 32px !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px !important;
}

.cta-card .btn-primary {
  background: white !important;
  color: var(--fast-accent) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  border: none !important;
}

.cta-card .btn-primary:hover {
  background: #f8fafc !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15) !important;
}

.cta-card .btn-outline {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: white !important;
  background: transparent !important;
}

.cta-card .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: white !important;
  transform: translateY(-2px) !important;
}

.cta-micro {
  font-weight: 800 !important;
  letter-spacing: 4px !important;
  font-size: 15px !important;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff, #fde047, #67e8f9, #f9a8d4, #ffffff) !important;
  background-size: 300% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: shineText 4s linear infinite !important;
}

@keyframes shineText {
  0% { background-position: 0% center; }
  100% { background-position: -300% center; }
}

@media screen and (max-width: 768px) {
  .cta-card {
    padding: 40px 20px !important;
  }
  .cta-heading {
    font-size: 32px !important;
  }
  .cta-text {
    font-size: 18px !important;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* --- Contact Form Redesign --- */
.contact-form-card {
  background: var(--fast-surface) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--fast-border) !important;
  border-radius: var(--fast-radius) !important;
  padding: 40px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03) !important;
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 24px !important;
}

.form-row label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--fast-ink) !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.5px !important;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100% !important;
  background: #f8fafc !important; /* Very light gray to stand out from white card */
  border: 1px solid #cbd5e1 !important; /* Clear, visible gray border */
  border-radius: 12px !important;
  padding: 16px 20px !important;
  font-size: 16px !important;
  font-family: 'Inter', sans-serif !important;
  color: var(--fast-ink) !important;
  transition: all 0.3s ease !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none !important;
  background: #ffffff !important;
  border-color: var(--fast-accent) !important;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15) !important;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #94a3b8 !important; /* Darker placeholder for better readability */
}

.submit-btn {
  width: 100% !important;
  padding: 18px !important;
  font-size: 18px !important;
  border-radius: 12px !important;
  margin-top: 10px !important;
}
