/* Centralized Design System & Theme Styles for Blurr */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --accent: #00A389;
  --accent-soft: #008A73;
  --accent-hover: #00BE9F;
  --accent-glow: rgba(0, 163, 137, 0.25);
  
  --bg-dark: #0A0E17;
  --bg-card: rgba(18, 24, 38, 0.65);
  --border-card: rgba(255, 255, 255, 0.08);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  --error: #EF4444;
  --success: #10B981;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 9999px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Text Selection */
::selection {
  background-color: var(--accent);
  color: #0D0F12;
}

/* Ambient Blur Orbs background */
.blur-orb {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
}

.orb-teal {
  background: var(--accent);
  top: 10%;
  right: -5%;
  animation: pulse-orb 10s ease-in-out infinite alternate;
}

.orb-purple {
  background: #4F46E5;
  bottom: 15%;
  left: -5%;
  animation: pulse-orb 10s ease-in-out infinite alternate-reverse;
}

.orb-secondary {
  background: #00C6FF;
  top: 60%;
  right: 10%;
  animation: pulse-orb 8s ease-in-out infinite alternate;
}

@keyframes pulse-orb {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.15;
  }
  100% {
    transform: scale(1.25) translateY(20px);
    opacity: 0.25;
  }
}

/* Glassmorphic Components */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-nav {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
}

/* Keyframe Animations */
.float-gentle {
  animation: floatGentle 6s ease-in-out infinite;
}

.fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: #0D0F12;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 163, 137, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(0, 163, 137, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Interactive Device Screen Styles */
.phone-bezel {
  position: relative;
  width: 320px;
  height: 600px;
  background: #000;
  border: 10px solid #1E293B;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.1),
              0 0 20px 4px rgba(0, 163, 137, 0.15);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #090B0E;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 13px;
  overflow-y: auto;
  position: relative;
}

/* Custom notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 18px;
  background: #1E293B;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 50;
}

/* Form Styles */
.form-input {
  width: 100%;
  background: rgba(10, 15, 26, 0.5);
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  color: var(--text-main);
  padding: 12px 16px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(10, 15, 26, 0.7);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
