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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --accent-blue: #2563eb;
  --accent-navy: #1e3a8a;
  --accent-emerald: #10b981;
  --navy-dark: #172554;
}

.dark {
  --bg-primary: #070a12;
  --bg-secondary: #0f172a;
  --bg-card: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --accent-blue: #3b82f6;
  --accent-navy: #60a5fa;
  --accent-emerald: #10b981;
  --navy-dark: #020617;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: 'Inter', 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
  background: #334155;
}

/* Fixed Centered Faint Watermark Logo (5-8% Opacity) */
.watermark-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.watermark-logo {
  width: 40vw;
  max-width: 320px;
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  object-fit: contain;
}

.dark .watermark-logo {
  opacity: 0.08;
}

/* Hero Subtle Gradients & Background Mesh */
.bg-mesh-gradient {
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(30, 58, 138, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(15, 23, 42, 0.05) 0px, transparent 50%);
}

.dark .bg-mesh-gradient {
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.18) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(2, 6, 23, 0.8) 0px, transparent 50%);
}

/* Logo Brand Text Style */
.brand-logo-text {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #000000;
  text-transform: uppercase;
}

.dark .brand-logo-text {
  color: #ffffff;
}

/* Gradient Text */
.gradient-text-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .gradient-text-blue {
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle Grid Pattern */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image: linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
}

.dark .bg-grid-pattern {
  background-image: linear-gradient(to right, rgba(51, 65, 85, 0.3) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(51, 65, 85, 0.3) 1px, transparent 1px);
}

/* Glassmorphic elements */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.dark .glass-panel {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.6);
}

/* Card Glow Hover Effects */
.card-glow {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.08), 0 8px 10px -6px rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.4);
}

.dark .card-glow:hover {
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.2), 0 8px 10px -6px rgba(37, 99, 235, 0.15);
  border-color: rgba(59, 130, 246, 0.5);
}

/* Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse Glow Animation */
@keyframes softGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.animate-soft-glow {
  animation: softGlow 4s infinite ease-in-out;
}

/* Gradient Text */
.gradient-text-blue {
  background: linear-gradient(135deg, #0F172A 0%, #2563EB 50%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .gradient-text-blue {
  background: linear-gradient(135deg, #F8FAFC 0%, #60A5FA 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Checkmark Badge */
.check-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: 9999px;
  padding: 2px;
}

/* Focus Ring Customization */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
