/* ==========================================================================
   ORIXWEB AESTHETICS ENGINE (RunAds & Modern Studio Design System)
   - Fonts: Geist, Geist Mono, Instrument Serif (italic accents)
   - Visual Effects: Sky gradient, Horizon aura, Grain, Reeds, Glass cards
   ========================================================================== */

:root {
  --sky-50: #EEF8FD;
  --sky-100: #D6EEF9;
  --sky-200: #B2E1F6;
  --sky-300: #7CCBEC;
  --sky-400: #36ADE0;
  --sky-500: #0297DE;
  --sky-600: #0593C6;
  --sky-700: #0670A3;
  --deep-800: #0B2F90;
  --deep-900: #061A4F;
  --orange-500: #FC734D;
  --orange-400: #FA8C5D;
  --orange-100: #FFE6DC;
  --peach: #F3C2B3;
  --white: #FFFFFF;
  --paper: #F6F9FB;
  --ink: #04050C;
  --ink-2: #1B2230;
  --muted: #5B6676;
  --muted-2: #8A94A3;
  --line: #E3E9EF;
  --line-2: #EDF1F5;
  --green: #2F8F5E;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Serif italic accent typography (as seen in "Hire an agent", "step by step") */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Ambient Sky Atmosphere with Horizon Sunburst */
.sky-atmosphere {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, #38bdf8 0%, rgba(56, 189, 248, 0) 65%),
              linear-gradient(180deg, #0284c7 0%, #0369a1 40%, #0284c7 75%, #075985 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 0%, #000 65%, transparent 95%);
}

/* Horizon Warm Glow / Sunset Effect */
.sky-horizon {
  position: absolute;
  left: 50%;
  top: 18%;
  width: 140vw;
  height: 65%;
  transform: translate(-50%);
  pointer-events: none;
  background: radial-gradient(42% 44% at 50% 64%, #fff1e5 0%, #ffc2a0 16%, #fd8a5e 28%, #fc734d 42%, rgba(232, 86, 120, 0.45) 56%, rgba(216, 57, 149, 0) 78%);
  filter: blur(28px);
  opacity: 0.95;
  animation: aura-breathe 10s ease-in-out infinite alternate;
}

/* Ambient Blobs */
.sky-blob-a {
  position: absolute;
  width: 45vw;
  height: 30vw;
  left: 5vw;
  top: 20%;
  background: radial-gradient(closest-side, rgba(124, 203, 236, 0.7), transparent 72%);
  pointer-events: none;
}
.sky-blob-b {
  position: absolute;
  width: 35vw;
  height: 25vw;
  right: 5vw;
  top: 10%;
  background: radial-gradient(closest-side, rgba(214, 238, 249, 0.55), transparent 70%);
  pointer-events: none;
}

/* Vertical Reeds Lines Texture */
.sky-reeds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 12px);
  mix-blend-mode: overlay;
}

/* Delicate Film Grain Overlay */
.grain-overlay {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@keyframes aura-breathe {
  0% { transform: translate(-50%) scale(0.96); opacity: 0.85; }
  100% { transform: translate(-50%) scale(1.04); opacity: 1; }
}

/* Studio Pill Badges */
.pill-studio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pill-blue {
  background: rgba(2, 151, 222, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 151, 222, 0.25);
}
.pill-orange {
  background: rgba(252, 115, 77, 0.12);
  color: #ea580c;
  border: 1px solid rgba(252, 115, 77, 0.25);
}
.pill-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Glass & Card Design */
.studio-card {
  background: #ffffff;
  border: 1px solid #E3E9EF;
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(4, 5, 12, 0.04), 0 12px 36px -12px rgba(6, 26, 79, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.studio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(4, 5, 12, 0.04), 0 24px 60px -20px rgba(6, 26, 79, 0.15);
  border-color: #cbd5e1;
}

/* Dark Studio Card */
.studio-dark-card {
  background: #061A4F;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 40px 100px -30px rgba(6, 26, 79, 0.6);
}

/* UI Mockup Window Frame */
.mockup-frame {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 70px -15px rgba(4, 5, 12, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #04050C;
}
.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Numbers & Metric Banners */
.metric-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1;
}
