@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Serif+SC:wght@400;600&family=Fira+Code:wght@400;500&display=swap');

:root {
  /* Light Mode (Warm & Tech for B2B) */
  --background: #FDFBF7; 
  --foreground: #1A1D27;
  --card-bg: rgba(255, 255, 255, 0.7);
  --border-color: rgba(0, 0, 0, 0.08);
  
  --color-silicon: #0088CC; /* Tech blue */
  --color-carbon: #FF6B00;  /* Warm orange */
  --color-ai: #8B5CF6;      /* Tech purple */
  --color-success: #10B981; /* B2B success green */
  
  --font-sans: 'Inter', Arial, Helvetica, sans-serif;
  --font-serif: 'Noto Serif SC', serif;
  --font-mono: 'Fira Code', monospace;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism & Navbar */
.nav-glass {
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  border-radius: 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 136, 204, 0.2);
}

/* Text Gradients */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-silicon {
  background-image: linear-gradient(135deg, #0088CC 0%, #005580 100%);
}

.gradient-carbon {
  background-image: linear-gradient(135deg, #FF6B00 0%, #CC5500 100%);
}

.gradient-ai {
  background-image: linear-gradient(135deg, #8B5CF6 0%, #5B21B6 100%);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-silicon) 0%, #005580 100%);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(0, 136, 204, 0.4);
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(0, 136, 204, 0.5);
}

.btn-carbon {
  background: linear-gradient(135deg, var(--color-carbon) 0%, #CC5500 100%);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(255, 107, 0, 0.4);
  transition: all 0.3s;
}

.btn-carbon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(255, 107, 0, 0.5);
}

/* Scanline Effect */
.scanline {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,0) 50%,
    var(--border-color) 50%,
    var(--border-color)
  );
  background-size: 100% 4px;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.15;
}

/* Background Shapes */
.bg-shapes {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 20s infinite alternate;
}

.shape-1 {
  width: 700px; height: 700px;
  top: -150px; left: -150px;
  background: rgba(0, 136, 204, 0.15); /* Silicon */
}

.shape-2 {
  width: 900px; height: 900px;
  bottom: -250px; right: -150px;
  background: rgba(255, 107, 0, 0.1); /* Carbon */
}

.shape-3 {
  width: 600px; height: 600px;
  top: 40%; left: 40%;
  background: rgba(139, 92, 246, 0.1); /* AI Purple */
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -50px) scale(1.1); }
}

/* Typography utilities */
.font-mono {
  font-family: var(--font-mono);
}

.font-serif {
  font-family: var(--font-serif);
}

::selection {
  background-color: rgba(0, 136, 204, 0.2);
  color: currentcolor;
}
