@import "tailwindcss";

:root {
  /* Primary - Ocean Cyan */
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;

  /* Secondary - Coral/Lobster Red */
  --coral-400: #fb7185;
  --coral-500: #f43f5e;

  /* Accent - Deep Sea Emerald */
  --emerald-400: #34d399;
  --emerald-500: #10b981;

  /* Background - Deep Ocean */
  --background: #0a0f1a;
  --background-secondary: #111827;
  --background-card: #1a2332;

  /* Text */
  --foreground: #f1f5f9;
  --foreground-muted: #94a3b8;

  /* Other */
  --border-color: #1e293b;
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --danger: #ef4444;
  --warning: #f59e0b;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

/* Scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

html {
  background: var(--background);
}

body {
  background: transparent;
  color: var(--foreground);
  font-family: var(--font-sans), system-ui, sans-serif;
  min-height: 100vh;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-coral {
  background: linear-gradient(135deg, var(--coral-400) 0%, var(--coral-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GLOW EFFECTS ===== */
.glow-cyan {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.glow-emerald {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.glow-coral {
  box-shadow: 0 0 20px rgba(251, 113, 133, 0.3);
}

/* ===== CARD EFFECTS ===== */
.card-hover {
  transition: all 0.3s ease;
}

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

/* ===== STATUS INDICATORS ===== */
.status-online {
  background: var(--emerald-500);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-offline {
  background: var(--danger);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: var(--background-card);
  border: 1px solid var(--border-color);
  color: var(--foreground);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--cyan-500);
  background: rgba(6, 182, 212, 0.1);
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral-400) 0%, var(--coral-500) 100%);
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-coral:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(251, 113, 133, 0.3);
}

/* ===== INPUT STYLES ===== */
.input-field {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  width: 100%;
}

.input-field:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.input-field::placeholder {
  color: var(--foreground-muted);
}

/* ===== ANIMATIONS ===== */

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Floating Lobster Animation */
@keyframes float-lobster {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  25% {
    transform: translateY(-8px) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(5deg);
  }
  75% {
    transform: translateY(-12px) rotate(0deg);
  }
}

.animate-float-lobster {
  animation: float-lobster 4s ease-in-out infinite;
}

/* Wave Gradient Animation */
@keyframes wave-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-wave-gradient {
  background-size: 200% 200%;
  animation: wave-gradient 8s ease infinite;
}

/* Bubble Rise Animation */
@keyframes bubble-rise {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.animate-bubble-rise {
  animation: bubble-rise 6s ease-in-out infinite;
}

/* Glow Pulse for CTAs */
@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.5), 0 0 60px rgba(16, 185, 129, 0.3);
  }
}

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

/* Float Animation for particles */
@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  50% {
    transform: translateY(-5px) translateX(-5px);
  }
  75% {
    transform: translateY(-15px) translateX(3px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Smooth Reveal with Intersection Observer */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
}

.reveal-on-scroll.revealed {
  animation: reveal-up 0.6s ease-out forwards;
}

/* Stagger animation delays */
.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }
.reveal-delay-4 { animation-delay: 0.4s; }
.reveal-delay-5 { animation-delay: 0.5s; }
.reveal-delay-6 { animation-delay: 0.6s; }

/* ===== LOBSTER SPECIAL EFFECTS ===== */

/* Ocean background with waves */
.ocean-bg {
  background: linear-gradient(180deg,
    var(--background) 0%,
    rgba(6, 182, 212, 0.05) 50%,
    rgba(16, 185, 129, 0.08) 100%
  );
}

/* Water shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 182, 212, 0.1) 50%,
    transparent 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 3s infinite linear;
}

/* Coral accent underline */
.coral-underline {
  position: relative;
}

.coral-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--coral-400), var(--coral-500));
  border-radius: 2px;
}

/* OpenClaw Badge */
.openclaw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--coral-400);
  transition: all 0.3s ease;
}

.openclaw-badge:hover {
  background: rgba(251, 113, 133, 0.15);
  border-color: rgba(251, 113, 133, 0.4);
  transform: translateY(-1px);
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  animation: fadeIn 0.3s ease-out;
}

/* ===== FEATURE CARD STYLES ===== */
.feature-card {
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--cyan-500);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(6, 182, 212, 0.1);
}

/* ===== PRICING CARD STYLES ===== */
.pricing-card {
  background: var(--background-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border-color: var(--cyan-500);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  transform: scale(1.02);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-8px);
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.3);
}

.faq-question {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--background-secondary);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--foreground-muted);
  line-height: 1.6;
}

/* ===== RESPONSIVE HELPERS ===== */
@media (max-width: 768px) {
  .btn-primary, .btn-secondary, .btn-coral {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
}

/* ===== PREMIUM EFFECTS ===== */

/* Noise texture overlay */
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Spotlight cursor effect */
.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(244,63,94,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}
.spotlight-card:hover::before {
  opacity: 1;
}

/* Glassmorphism */
.glass {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium gradient text */
.text-gradient-premium {
  background: linear-gradient(135deg, #fff 0%, #f43f5e 50%, #fb7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated gradient border */
@keyframes border-rotate {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

.gradient-border {
  position: relative;
  background: #111827;
  border-radius: 1rem;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, #f43f5e, #fb7185, #10b981, #6ab3f3, #f43f5e);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}
.gradient-border:hover::before {
  opacity: 0.5;
}

/* Section divider glow */
.section-glow {
  position: relative;
}
.section-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,63,94,0.3), transparent);
}

/* Counter animation */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium heading style */
.heading-premium {
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* Subtle lift on hover */
.hover-lift {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

