/* ==========================================================================
   SurfaceGPT Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
}

::selection {
  background: rgba(168, 85, 247, 0.4);
}

/* ---- Ambient orbs ---- */
/* 🔮 Floating orbs for ambient vibes 🌊✨ */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -2;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: #7c3aed;
  top: -200px;
  left: -150px;
  animation: float 18s ease-in-out infinite;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: #0891b2;
  top: 30%;
  right: -200px;
  animation: float 22s ease-in-out infinite reverse;
}

.orb-3 {
  width: 480px;
  height: 480px;
  background: #db2777;
  bottom: -200px;
  left: 30%;
  opacity: 0.35;
  animation: float 26s ease-in-out infinite;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ---- Utilities ---- */
/* 💎 The glass utility — apply liberally 🧴 */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

/* 🌈 Gradient text makes everything 10x more premium 💯 */
.gradient-text {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-9) var(--space-4);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-7);
}

.section-header p {
  font-size: var(--fs-lg);
  margin-top: var(--space-4);
}

/* 🤨 Eyebrow labels — raising eyebrows since day one 👀 */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--purple-400);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.fineprint {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  margin-top: var(--space-3);
}
