/* 
  Neuriko Standalone Coming Soon Landing Page Stylesheet
  Inspired by Neobrutalism and Sensory-Friendly Design
*/

:root {
  --font-display: "Baloo 2", "Comic Sans MS", cursive, sans-serif;
  --font-body: "Nunito", "Segoe UI", Roboto, sans-serif;
  --bg: #d9d9d6;
  --surface: #f5f2ec;
  --surface-strong: #fffdf8;
  --surface-soft: #f0ece6;
  --text: #101010;
  --text-soft: #3c3a36;
  --focus-ring: #0b5fff;
  --line: #181818;
  --line-soft: #cfc8be;
  --yellow: #fff1b6;
  --yellow-deep: #ffe08a;
  --mint: #c9efb6;
  --sky: #d8e4ff;
  --sun: #ffe78a;
  --neutral: #ece7dd;
  --shadow: 0 18px 50px rgba(18, 18, 18, 0.08);
  --motion-fast: 120ms;
  --motion-normal: 180ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body), sans-serif;
  line-height: 1.5;
  background: 
    radial-gradient(rgba(24, 24, 24, 0.04) 1.5px, transparent 1.5px),
    linear-gradient(180deg, #eae8e2 0%, #e2dfd9 100%);
  background-size: 24px 24px, 100% 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Background floating radial accents */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: 88px;
  left: 18px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 225, 0, 0.18), transparent 70%);
}

body::after {
  right: 28px;
  bottom: 48px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
}

/* Custom Display font override */
.font-display {
  font-family: var(--font-display), sans-serif;
  font-weight: 800;
}

/* Neobrutalist Card style */
.surface-card {
  background: var(--surface-strong);
  border: 4px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 6px 6px 0px 0px var(--line);
  padding: 2rem;
  transition: transform var(--motion-normal) var(--ease-out), box-shadow var(--motion-normal) var(--ease-out);
}

.surface-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0px 0px var(--line);
}

.surface-soft {
  background: var(--surface-soft);
}

.surface-accent {
  background: linear-gradient(180deg, #fffbe0, #fff9cd);
}

/* Neobrutalist Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 32px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--sky);
  color: #1a3e7a;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 4px 4px 0px 0px var(--line);
  transition: all var(--motion-fast) var(--ease-out);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px 0px var(--line);
}

.button:active {
  transform: translateY(4px);
  box-shadow: 0px 0px 0px 0px var(--line);
}

.button:focus-visible {
  outline: 4px solid var(--focus-ring);
  outline-offset: 4px;
}

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-secondary {
  background: #ffd043;
  color: #553d00;
}

.button-ghost {
  background: var(--surface-strong);
  color: var(--text);
}

.button-full {
  width: 100%;
}

/* Neobrutalist Inputs */
.field-input {
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 3px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  box-shadow: 4px 4px 0px 0px var(--line);
  transition: all var(--motion-fast) var(--ease-out);
}

.field-input:focus {
  outline: none;
  border-color: #ffd043;
  box-shadow: 4px 4px 0px 0px var(--line), 0 0 0 4px rgba(255, 208, 67, 0.25);
}

.field-input::placeholder {
  color: #7b7871;
  font-weight: 500;
}

/* Noise overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Tag style */
.deepstash-tags span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  font-size: 0.9rem;
  background: var(--surface);
  font-weight: 800;
  box-shadow: 2px 2px 0px 0px var(--line);
}

/* Section label */
.section-label {
  font-family: var(--font-display), sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b38b00;
  margin-bottom: 1.5rem;
}

/* GSAP Pin Layout for horizontal scrolling */
@media (min-width: 1024px) {
  .gsap-subjects-pin-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fcfbf9;
    border-top: 4px solid var(--line);
    border-bottom: 4px solid var(--line);
    padding: 0;
  }

  .gsap-subjects-split-layout {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4rem;
    align-items: center;
  }

  .gsap-subjects-left-col {
    width: 35%;
    flex-shrink: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .gsap-subjects-right-col {
    width: 65%;
    flex-shrink: 0;
    overflow: hidden;
  }

  .gsap-subjects-horizontal-track {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    width: fit-content;
    will-change: transform;
  }

  .gsap-subject-card {
    width: 380px !important;
    flex-shrink: 0;
  }
}

.gsap-floating-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* Brand block Logo container */
.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Coming Soon Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 16, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(520px, 100%);
  background: var(--surface-strong);
  border: 4px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 10px 10px 0px 0px var(--line);
  padding: 2.5rem 2rem;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 2px 2px 0px 0px var(--line);
  transition: all var(--motion-fast) var(--ease-out);
}

.modal-close:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px 0px var(--line);
  background: var(--yellow);
}

.modal-close:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px 0px var(--line);
}

/* Success Feedback / Confetti styling */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10001;
}

/* Early bird badge in modal */
.modal-badge {
  background: #ffd043;
  border: 2px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 2px 2px 0px 0px var(--line);
}

/* Custom Alert / Toast message */
.toast-alert {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--mint);
  border: 3px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  font-weight: 800;
  box-shadow: 4px 4px 0px 0px var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10005;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-alert.active {
  transform: translateY(0);
}

/* Page Section custom margins */
.page-section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 4rem 0;
}
