/* SoftBenderAI — Premium AI Company Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --primary: #00D9FF;
  --primary-dark: #00B8D9;
  --secondary: #7C3AED;
  --accent: #F59E0B;
  --dark-bg: #0B0F19;
  --card-bg: #131824;
  --border: #1E293B;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --success: #10B981;
  --glow: rgba(0, 217, 255, 0.3);
}

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

html { scroll-behavior: smooth; }

body { 
  font-family: 'Inter', sans-serif; 
  background: var(--dark-bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
  background-size: 200% 200%;
}

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

/* Glass Morphism */
.glass {
  background: rgba(19, 24, 36, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Grid Background */
.grid-bg {
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Dot Background */
.dot-bg {
  background-image: radial-gradient(rgba(0, 217, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 217, 255, 0.5);
}

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

.card-hover::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 217, 255, 0.2), 0 0 40px rgba(124, 58, 237, 0.1);
}

/* Form Elements - FIX FOR DROPDOWN VISIBILITY */
input, select, textarea {
  background: rgba(19, 24, 36, 0.8) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1) !important;
  outline: none !important;
}

/* SELECT DROPDOWN FIX */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300D9FF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem !important;
}

select option {
  background: var(--card-bg);
  color: var(--text);
  padding: 10px;
}

::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.7;
}

/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 40s linear infinite; }

/* Float Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(2deg); }
}
.animate-float { animation: float 8s ease-in-out infinite; }

/* Pulse Glow */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--glow); }
  50% { box-shadow: 0 0 40px var(--glow), 0 0 60px var(--glow); }
}
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { 
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Tilt Cards */
[data-tilt] { transform-style: preserve-3d; }

/* Magnetic Button Effect */
.btn-magnetic {
  transition: transform 0.2s ease;
}

/* Glow Effect */
.glow-effect {
  box-shadow: 0 0 30px var(--glow), 0 0 60px var(--glow);
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .card-hover:hover { transform: translateY(-5px); }
}
