/* Global Styles for bidnobid */

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

:root {
  --primary: #5e98f1;
  --primary-dark: #4a7ad3;
  --primary-light: #7ab0ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --border: #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Full page gradient background */
.page-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(94, 152, 241, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(94, 152, 241, 0.1) 0%, transparent 40%),
              radial-gradient(circle at 90% 10%, rgba(122, 176, 255, 0.08) 0%, transparent 30%),
              white;
  pointer-events: none;
  z-index: 0;
}

/* Layered gradient backgrounds */
.gradient-bg {
  position: relative;
  overflow: hidden;
}

.gradient-bg > * {
  position: relative;
  z-index: 1;
}

/* Floating gradient orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
  animation: float-orb 20s ease-in-out infinite;
}

.gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94, 152, 241, 0.3) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.gradient-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(122, 176, 255, 0.25) 0%, transparent 70%);
  bottom: 20%;
  left: -150px;
  animation-delay: -7s;
}

.gradient-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(74, 122, 211, 0.2) 0%, transparent 70%);
  top: 60%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(94, 152, 241, 0.2);
  box-shadow: 0 8px 32px rgba(94, 152, 241, 0.1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(94, 152, 241, 0.4);
  box-shadow: 0 16px 48px rgba(94, 152, 241, 0.2);
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(94, 152, 241, 0.3); }
  50% { box-shadow: 0 0 40px rgba(94, 152, 241, 0.5), 0 0 60px rgba(94, 152, 241, 0.2); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

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

/* Animation utilities */
.scroll-fade { opacity: 0; }
.scroll-fade.in-view { animation: fadeInUp 0.6s ease-out forwards; }
.scroll-fade-left.in-view { animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.scroll-scale.in-view { animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.animate-fadeIn { animation: fadeIn 0.6s ease-out forwards; opacity: 0; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; opacity: 0; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s ease-out forwards; opacity: 0; }
.animate-fadeInRight { animation: fadeInRight 0.6s ease-out forwards; opacity: 0; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

.stagger-1 { animation-delay: 0.1s !important; }
.stagger-2 { animation-delay: 0.2s !important; }
.stagger-3 { animation-delay: 0.3s !important; }
.stagger-4 { animation-delay: 0.4s !important; }
.stagger-5 { animation-delay: 0.5s !important; }

.glow-on-hover { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.glow-on-hover:hover { box-shadow: 0 0 30px rgba(94, 152, 241, 0.4), 0 10px 40px rgba(94, 152, 241, 0.2); }

.shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 10px 25px rgba(94, 152, 241, 0.3);
  transform: scale(1.05);
}

.btn:active { transform: scale(0.95); }

.btn.secondary {
  border: 2px solid var(--primary);
  background-color: transparent;
  color: var(--primary);
}

.btn.secondary:hover {
  background-color: rgba(94, 152, 241, 0.1);
  border-color: var(--primary-dark);
}

.btn.large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Text utilities */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }

/* Section styles */
section {
  padding: 5rem 0;
  position: relative;
  background: white;
}

.section-center {
  text-align: center;
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(94, 152, 241, 0.1);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Badge */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.badge.secondary {
  background: var(--gray-100);
  color: var(--text-secondary);
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

/* List items */
.list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.list-item:last-child { border-bottom: none; }

.list-item-arrow {
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
}

/* Info box */
.info-box {
  padding: 2rem;
  border-radius: 1.5rem;
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  font-weight: 600;
}

.info-tag {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
}

.info-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.info-item:last-child { border-bottom: none; }

.info-item-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tag-essential { background: var(--primary); color: white; }
.tag-popular { background: #10b981; color: white; }
.tag-new { background: #f59e0b; color: white; }

.item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.item-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Dark section */
.dark-section {
  background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
  color: white;
}

.dark-section h2 {
  color: white;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
}

/* Content wrapper */
.content-wrapper {
  position: relative;
  z-index: 10;
  background: white;
}

/* Mobile responsive */
@media (max-width: 767px) {
  html { overflow-x: hidden !important; }
  body { overflow-x: hidden !important; width: 100vw !important; }
  section { padding: 3rem 0; }
}
