/* ============================================
   KEPLER DIGITAL
   Space-themed. Clean. Dynamic.
   ============================================ */

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

:root {
  --bg: #000000;
  --bg-card: #0a0a0a;
  --bg-hover: #111111;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.3);
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --container: 1000px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   ANIMATED STARS BACKGROUND
   ============================================ */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: twinkle var(--duration, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
  will-change: opacity, transform;
}

.star.large {
  width: 3px;
  height: 3px;
  background: rgba(167, 139, 250, 0.9);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ============================================
   KEPLER PLANET ANIMATION - REAL VISUAL
   ============================================ */
.kepler-planet {
  position: fixed;
  width: 400px;
  height: 400px;
  top: 20%;
  right: -200px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.2;
  animation: planetFloat 25s ease-in-out infinite;
}

.kepler-planet::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(124, 58, 237, 0.4) 0%, 
    rgba(167, 139, 250, 0.2) 40%,
    rgba(124, 58, 237, 0.1) 70%,
    transparent 100%);
  box-shadow: 
    inset -30px -30px 60px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(124, 58, 237, 0.3),
    0 0 200px rgba(124, 58, 237, 0.1);
  animation: planetRotate 40s linear infinite;
}

.kepler-planet::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, 
    rgba(124, 58, 237, 0.3) 0%, 
    rgba(167, 139, 250, 0.1) 50%,
    transparent 100%);
  opacity: 0.7;
  animation: planetRotate 30s linear infinite reverse;
}

@keyframes planetFloat {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  33% { transform: translateY(-30px) translateX(-30px) rotate(5deg); }
  66% { transform: translateY(20px) translateX(-20px) rotate(-3deg); }
}

@keyframes planetRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Orbital rings */
.kepler-planet-ring {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  animation: ringRotate 50s linear infinite;
}

.kepler-planet-ring::before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  border: 1px solid rgba(167, 139, 250, 0.1);
  border-radius: 50%;
  animation: ringRotate 70s linear infinite reverse;
}

@keyframes ringRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   NEBULA BACKGROUND EFFECTS
   ============================================ */
.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  animation: nebulaPulse 20s ease-in-out infinite;
  will-change: opacity, transform;
}

.nebula-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
  top: -300px;
  right: -300px;
}

.nebula-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  animation-delay: -10s;
}

.nebula-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  top: 50%;
  left: 10%;
  animation-delay: -5s;
}

@keyframes nebulaPulse {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.1); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-logo span {
  color: var(--accent-light);
  font-weight: 400;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  transition: all 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
}

@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }
  
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 48px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-toggle {
    display: flex;
  }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.section {
  padding: 100px 0;
  position: relative;
  scroll-margin-top: 72px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-cta {
  margin-bottom: 100px;
}

.hero-promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.hero-promise-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-promise-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.hero-pattern {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  opacity: 0.35;
  position: relative;
}

.hero-pattern-growth {
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.8) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

.hero-pattern-retain {
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255,255,255,0.3) 8px, rgba(255,255,255,0.3) 9px);
}

.hero-pattern-automate {
  background-image: 
    linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 12px 12px;
}

.hero-promise-text {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }
  
  .hero-promise {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   KEPLER DIGS SECTION
   ============================================ */
.digs-content {
  max-width: 800px;
  margin: 0 auto;
}

.digs-intro {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 56px;
  font-weight: 400;
}

.digs-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.digs-feature {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.digs-pattern {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.digs-pattern-speed {
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.6) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.digs-pattern-tracking {
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(255,255,255,0.3) 6px, rgba(255,255,255,0.3) 7px);
}

.digs-pattern-retention {
  background-image: 
    linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 10px 10px;
}

.digs-pattern-smart {
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 1px, transparent 1px),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

.digs-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.05), transparent);
  transition: left 0.5s;
}

.digs-feature:hover::before {
  left: 100%;
}

.digs-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}



.digs-feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.digs-feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

.sample-report {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  margin-top: 56px;
  position: relative;
}

.sample-report::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: reportGlow 3s ease-in-out infinite;
}

@keyframes reportGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.sample-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.sample-report-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.sample-report-url {
  font-size: 13px;
  color: var(--text-muted);
  font-family: monospace;
  margin-top: 4px;
}

.sample-report-section {
  margin-bottom: 28px;
}

.sample-report-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-muted);
  letter-spacing: -0.2px;
}

.sample-report-item {
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s;
}

.sample-report-item:hover {
  transform: translateX(4px);
}

.sample-report-item.success {
  background: rgba(34, 197, 94, 0.1);
  border-left: 3px solid var(--success);
}

.sample-report-item.issue {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--danger);
}

.sample-report-item-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.sample-report-item-text {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

.sample-report-recommendation {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 32px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.sample-report-recommendation::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  animation: recommendationGlow 4s ease-in-out infinite;
}

@keyframes recommendationGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.sample-report-recommendation-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.sample-report-recommendation-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .digs-features {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.service-card-large {
  margin-bottom: 40px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.service-card-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card-large:hover::before {
  opacity: 1;
}

.service-header {
  margin-bottom: 32px;
  position: relative;
}

.service-pattern {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  opacity: 0.25;
  position: absolute;
  top: 0;
  right: 0;
}

.service-pattern-boost {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.5) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.5) 2px, transparent 2px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.service-pattern-retain {
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.25) 10px, rgba(255,255,255,0.25) 11px);
}

.service-pattern-automate {
  background-image: 
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 14px 14px;
}


.service-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.service-info p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
}

.service-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.service-detail {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
  position: relative;
}

.service-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-detail:hover::before {
  transform: scaleX(1);
}

.service-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.service-detail-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.service-detail-value {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.service-cta-wrapper {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .service-header {
    flex-direction: column;
    gap: 24px;
  }
  
  .service-details {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.about-text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 400;
}

.kepler-story {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  margin: 56px 0;
  position: relative;
  overflow: hidden;
}

.kepler-story::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
  animation: storyGlow 8s ease-in-out infinite;
}

@keyframes storyGlow {
  0%, 100% { opacity: 0.3; transform: rotate(0deg); }
  50% { opacity: 0.6; transform: rotate(180deg); }
}

.kepler-story-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.kepler-story-text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.about-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.case-study-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-section {
  margin: 64px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  padding: 32px;
  position: relative;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.testimonial-quote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  font-weight: 400;
}

.testimonial-source {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

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

.calendly-section {
  text-align: center;
  padding: 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.calendly-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: calendlyPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes calendlyPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.calendly-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
}

.calendly-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.calendly-section .btn {
  position: relative;
  z-index: 2;
}

/* ============================================
   AUDIT SECTION
   ============================================ */
.audit-form-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 48px;
  position: relative;
}

.audit-form-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(167, 139, 250, 0.3));
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}

.audit-form-card:hover::before {
  opacity: 1;
}

.audit-form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.audit-form-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 400;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  transition: all 0.3s;
  font-weight: 400;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input::placeholder {
  color: var(--text-dim);
}

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

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  overflow-y: auto;
  padding: 40px 24px;
}

.modal-overlay.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  max-width: 700px;
  width: 100%;
  margin: 40px 0;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--accent);
}

.loading-state {
  text-align: center;
  padding: 80px 20px;
}

.loading-dig-animation {
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dig-circle {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--accent);
  opacity: 0.6;
}

.dig-circle-1 {
  width: 40px;
  height: 40px;
  animation: digPulse 1.2s ease-out infinite;
}

.dig-circle-2 {
  width: 60px;
  height: 60px;
  animation: digPulse 1.2s ease-out infinite 0.4s;
}

.dig-circle-3 {
  width: 80px;
  height: 80px;
  animation: digPulse 1.2s ease-out infinite 0.8s;
}

@keyframes digPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.loading-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.loading-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  animation: loadProgress 1.5s ease-out;
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.results-header {
  text-align: center;
  margin-bottom: 48px;
}

.results-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.results-url {
  font-size: 14px;
  color: var(--text-muted);
  font-family: monospace;
}

.results-section {
  margin-bottom: 32px;
}

.results-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.result-item {
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s;
}

.result-item:hover {
  transform: translateX(4px);
}

.result-item.success {
  background: rgba(34, 197, 94, 0.1);
  border-left: 3px solid var(--success);
}

.result-item.issue {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--danger);
}

.result-item.warning {
  background: rgba(234, 179, 8, 0.1);
  border-left: 3px solid var(--warning);
}

.result-item-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.result-item-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.result-item-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
}

.recommendation-card {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.recommendation-card > * {
  position: relative;
  z-index: 1;
}

.recommendation-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  animation: recommendationCardGlow 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes recommendationCardGlow {
  0%, 100% { opacity: 0.3; transform: rotate(0deg); }
  50% { opacity: 0.6; transform: rotate(180deg); }
}

.recommendation-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.recommendation-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.recommendation-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.recommendation-cta {
  margin-bottom: 16px;
  position: relative;
  z-index: 10;
}

.recommendation-cta .btn {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.recommendation-note {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0;
}

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

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--text);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-weight: 400;
}
