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

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: #e2e8f0;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.gradient-text {
  background: var(--primary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Special animated text for hero */
.special-text {
  background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

/* Static text for "Human" - white color */
.static-special-text {
  color: white;
  position: relative;
  display: inline-block;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.text-fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 1.2s ease-in-out;
}

.text-fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 1.2s ease-in-out;
}

/* Demo Cards Styles */
.demo-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px;
  position: absolute;
  width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Mobile responsive cards */
@media (max-width: 768px) {
  .demo-card {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
  
  .demo-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .demo-cards-left, .demo-cards-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .demo-card:hover {
    transform: none;
  }
}

.demo-card.ai-card {
  border-color: rgba(245, 87, 108, 0.5);
}

.demo-card.human-card {
  border-color: rgba(0, 242, 254, 0.5);
}

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
}

.card-status.ai {
  color: #f5576c;
}

.card-status.human {
  color: #00f2fe;
}

.card-text {
  font-size: 13px;
  line-height: 1.4;
  color: #e2e8f0;
}

/* More complex squiggly arrow - responsive to card spacing */
.squiggly-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  width: calc(100% - 300px); /* Bigger: Even less subtracted space */
  max-width: 600px; /* Bigger: Increased max width even more */
  min-width: 250px; /* Bigger: Increased min width */
  height: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1; /* Always visible - no fade in */
}

.squiggly-arrow img {
  width: 100%;
  height: auto;
  max-height: 200px; /* Bigger: Even taller max height */
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mobile transformation indicators */
.mobile-transformation {
  display: none;
  text-align: center;
  margin: 30px 0;
  padding: 20px;
}

.transformation-text {
  font-size: 16px;
  font-weight: 600;
  color: #667eea;
  margin: 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.transformation-arrow {
  font-size: 24px;
  color: #667eea;
  margin: 10px 0;
  animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .squiggly-arrow {
    display: none;
  }
  
  .mobile-transformation {
    display: block;
  }
}

/* What We Do section at bottom */
.what-we-do-section {
  text-align: center;
  padding: 20px;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  white-space: nowrap; /* Prevent text wrapping */
  width: auto; /* Allow natural width */
}

/* Hide on mobile devices */
@media (max-width: 768px) {
  .what-we-do-section {
    display: none;
  }
}

/* Fade out when hidden */
.what-we-do-section.hidden {
  opacity: 0;
  visibility: hidden;
}

.what-we-do-text {
  font-size: 18px;
  font-weight: 400;
  color: #e2e8f0;
  margin-bottom: 16px;
  text-transform: none;
  letter-spacing: 0.5px;
  font-family: 'Space Grotesk', sans-serif;
  text-shadow: none;
}

.down-arrow {
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.down-arrow:hover {
  transform: translateY(4px);
  background: rgba(102, 126, 234, 0.2);
}

.down-arrow svg {
  width: 24px;
  height: 24px;
  color: #667eea;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Glassmorphism cards - removed hover glow */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.8s ease;
}

/* Unique button styles */
.neon-button {
  position: relative;
  background: var(--primary-gradient);
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 0 20px rgba(102, 126, 234, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.neon-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.neon-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 0 30px rgba(102, 126, 234, 0.5),
    0 12px 24px rgba(0, 0, 0, 0.3);
}

.neon-button:hover::before {
  left: 100%;
}

.ghost-button {
  background: transparent;
  border: 2px solid rgba(102, 126, 234, 0.5);
  border-radius: 16px;
  padding: 14px 30px;
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ghost-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  transition: left 0.4s ease;
  z-index: -1;
}

.ghost-button:hover {
  border-color: rgba(102, 126, 234, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.2);
}

.ghost-button:hover::before {
  opacity: 1;
}

/* Static blobs - no animation */
.animated-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  z-index: -1;
}

.blob-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -10%;
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.2) 100%);
  animation: blob-anim-1 15s cubic-bezier(0.7, 0, 0.3, 1) infinite alternate;
}

.blob-2 {
  width: 600px;
  height: 600px;
  bottom: -15%;
  right: -15%;
  background: linear-gradient(180deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.1) 100%);
  animation: blob-anim-2 20s cubic-bezier(0.7, 0, 0.3, 1) infinite alternate;
}

.blob-3 {
  width: 450px;
  height: 450px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.1) 100%);
  animation: blob-anim-3 25s cubic-bezier(0.7, 0, 0.3, 1) infinite alternate;
}

@keyframes blob-anim-1 {
  from { transform: translate(-10%, -10%) scale(1); }
  to { transform: translate(10%, 10%) scale(1.2); }
}

@keyframes blob-anim-2 {
  from { transform: translate(10%, 10%) scale(1); }
  to { transform: translate(-10%, -10%) scale(1.2); }
}

@keyframes blob-anim-3 {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(-40%, -60%) scale(1.2); }
}

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

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
}

/* Mobile menu with unique styling */
#mobile-menu {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: static; /* push content down */
  margin-top: 0;
  width: 100%;
}

#mobile-menu.hidden {
  display: none;
}

/* Demo specific styles */
.demo-container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.text-input-area {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-dot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.status-dot.ai-detected {
  background: #f5576c;
}

.status-dot.ai-detected::before {
  border: 2px solid #f5576c;
}

.status-dot.human-like {
  background: #00f2fe;
}

.status-dot.human-like::before {
  border: 2px solid #00f2fe;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
} 