/* ==========================================================================
   itzblaze AI Hub — Maximalist Claymorphism Design System & Abstract Patterns
   ========================================================================== */

:root {
  /* Color Palette - Deep Volumetric Clay & Cyber Glow */
  --bg-void: #070810;
  --bg-deep: #0e101e;
  --bg-surface: #131527;
  --bg-surface-hover: #1b1e36;
  
  /* Claymorphism 3D Shadow Layers */
  --clay-shadow-main: 10px 18px 36px rgba(0, 0, 0, 0.65);
  --clay-shadow-hover: 14px 26px 48px rgba(0, 0, 0, 0.75), 0 0 35px rgba(139, 92, 246, 0.35);
  --clay-inset-light: inset 3px 3px 6px rgba(255, 255, 255, 0.14);
  --clay-inset-dark: inset -4px -4px 8px rgba(0, 0, 0, 0.55);
  --clay-border: 1px solid rgba(255, 255, 255, 0.1);

  /* Accents */
  --accent-purple: #a855f7;
  --accent-purple-light: #d8b4fe;
  --accent-purple-glow: rgba(168, 85, 247, 0.65);
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #67e8f9;
  --accent-cyan-glow: rgba(6, 182, 212, 0.55);
  --accent-pink: #ec4899;
  --accent-pink-glow: rgba(236, 72, 153, 0.55);
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  /* Clay Gradients */
  --grad-primary: linear-gradient(135deg, #3b82f6 0%, #a855f7 50%, #ec4899 100%);
  --grad-fire: linear-gradient(145deg, #a855f7 0%, #ec4899 100%);
  --grad-fire-subtle: linear-gradient(145deg, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0.25) 100%);
  --grad-user-clay: linear-gradient(145deg, #341b5a 0%, #1a2a4c 100%);
  --grad-assistant-clay: linear-gradient(145deg, #181932 0%, #0f1124 100%);
  --grad-button-clay: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%);
  --grad-button-stop: linear-gradient(145deg, #f87171 0%, #d97706 100%);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Fonts */
  --font-sans: 'Lexend', 'Poppins', system-ui, -apple-system, sans-serif;
  --font-heading: 'Lexend', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Pillowy Clay Radius */
  --radius-clay: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-full: 9999px;
  
  /* Backdrop Blur */
  --backdrop-blur: blur(20px);
}


/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   MAXIMALIST ABSTRACT ART PATTERNS (Pure CSS)
   ========================================================================== */

/* Pattern 1 — Diagonal Futuristic Hash */
.pattern-hash {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(139, 92, 246, 0.035) 10px,
    rgba(139, 92, 246, 0.035) 11px
  );
}

/* Pattern 2 — High-Density Matrix Dot Grid */
.pattern-dots {
  background-image: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.07) 1.2px,
    transparent 1.2px
  );
  background-size: 22px 22px;
}

/* Pattern 3 — Cyber Circuit Traces */
.pattern-circuit {
  background-image:
    linear-gradient(0deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Pattern 4 — Concentric Warp Rings */
.pattern-rings {
  background-image: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0px,
    transparent 16px,
    rgba(255, 255, 255, 0.03) 16px,
    rgba(255, 255, 255, 0.03) 17px
  );
}

/* Pattern 5 — Geometric Isometric Triangles */
.pattern-triangles {
  background-image:
    linear-gradient(60deg, rgba(139, 92, 246, 0.03) 25%, transparent 25%),
    linear-gradient(-60deg, rgba(6, 182, 212, 0.03) 25%, transparent 25%),
    linear-gradient(60deg, transparent 75%, rgba(236, 72, 153, 0.03) 75%),
    linear-gradient(-60deg, transparent 75%, rgba(249, 115, 22, 0.03) 75%);
  background-size: 40px 70px;
}

/* ==========================================================================
   MAXIMALIST GEOMETRIC ANIMATIONS
   ========================================================================== */

@keyframes float-poly-1 {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-12px) rotate(180deg) scale(1.06);
  }
}

@keyframes float-poly-2 {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(14px) rotate(-180deg) scale(0.95);
  }
}

@keyframes radar-sweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bracket-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* ==========================================================================
   MORPHING LOGO CONTAINER STYLING (Monochrome)
   ========================================================================== */

.morph-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.morph-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

.morph-hexagon-frame {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}

.morph-inner-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.morph-inner-svg {
  fill: currentColor;
}

/* SVG Icon Helper Utilities */
.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Base form resets */
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  user-select: none;
}
