/* ==========================================================================
   Solana Token Creator — Theme & Base  (LIGHT)
   ========================================================================== */

:root {
  /* Brand palette (unchanged) */
  --brand-50: #eafff9;
  --brand-100: #c7fff0;
  --brand-200: #8bffdf;
  --brand-300: #3effca;
  --brand-400: #00e6b0;
  --brand-500: #00b894;
  --brand-600: #009478;

  --solana-violet: #9945ff;
  --solana-green: #14f195;
  --solana-cyan: #00d1ff;
  --solana-magenta: #ff4ecd;

  /* Light neutrals */
  --ink-0: #ffffff;
  --ink-50: #fafbfc;
  --ink-100: #f4f6f9;
  --ink-200: #e7ebf0;
  --ink-300: #d1d8e1;
  --ink-400: #9aa4b2;
  --ink-500: #6b7686;
  --ink-600: #4a5568;
  --ink-700: #2d3748;
  --ink-800: #1a202c;
  --ink-900: #0f1419;
  --ink-950: #05070a;

  /* Semantic (light) */
  --bg: #ffffff;
  --bg-elevated: rgba(255, 255, 255, 0.85);
  --border: rgba(15, 20, 25, 0.08);
  --border-strong: rgba(15, 20, 25, 0.14);
  --text: #0f1419;
  --text-muted: #4a5568;
  --text-dim: #8b96a6;
  --accent: var(--solana-green);
  --accent-2: var(--solana-violet);
  --danger: #e53e3e;
  --warning: #d97706;
  --success: #059669;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #9945ff 0%, #14f195 50%, #00d1ff 100%);
  --grad-glow: radial-gradient(
      1000px circle at 20% 10%,
      rgba(153, 69, 255, 0.10),
      transparent 50%
    ),
    radial-gradient(
      800px circle at 80% 30%,
      rgba(20, 241, 149, 0.08),
      transparent 55%
    ),
    radial-gradient(
      700px circle at 50% 90%,
      rgba(0, 209, 255, 0.06),
      transparent 50%
    );

  /* Layout */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 4px 16px rgba(15, 20, 25, 0.06), 0 1px 3px rgba(15, 20, 25, 0.04);
  --shadow-glow: 0 0 0 1px rgba(20, 241, 149, 0.18),
    0 8px 28px rgba(20, 241, 149, 0.14);
  --max-w: 1200px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 150ms;
  --t-base: 280ms;
  --t-slow: 520ms;
}

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

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

body {
  font-family: "Space Grotesk", "Inter", ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  /* Subtle pastel mesh glow on white — adds depth without darkening */
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grad-glow);
  z-index: -2;
  pointer-events: none;
}

body::after {
  /* Removed grain on light theme — it added noise on dark, looks dirty on white */
  content: none;
}

/* -------------------------------------------------------------------------- */
/* Background-image utilities                                                  */
/* -------------------------------------------------------------------------- */

.bg-hero-photo {
  position: relative;
  isolation: isolate;
}

.bg-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/backgrounds/hero-1.jpg") center/cover no-repeat;
  opacity: 0.12;
  z-index: -2;
  filter: saturate(0.4) blur(2px);
}

.bg-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, var(--bg) 90%);
  z-index: -1;
  pointer-events: none;
}

.bg-section-photo {
  position: relative;
  isolation: isolate;
}

.bg-section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  z-index: -1;
  filter: saturate(0.4);
}

.bg-section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.85) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--solana-violet);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(153, 69, 255, 0.08);
  border: 1px solid rgba(153, 69, 255, 0.2);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--solana-violet);
  box-shadow: 0 0 12px var(--solana-violet);
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

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

.dim {
  color: var(--text-dim);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* Selection */
::selection {
  background: rgba(20, 241, 149, 0.25);
  color: #05070a;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink-50);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-300);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-400);
}

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}