/* ==========================================================================
   AUTHRONIC — COMING SOON PAGE STYLESHEET
   Brand Palette: Rust Ember (#C14919) on Deep Carbon (#0A0A0C)
   ========================================================================== */

:root {
  /* Exact extracted brand color palette */
  --brand-primary: #C14919;
  --brand-bright: #E25822;
  --brand-glow: rgba(193, 73, 25, 0.4);
  --brand-subtle: rgba(193, 73, 25, 0.12);
  --brand-border: rgba(193, 73, 25, 0.35);

  /* Dark Theme Surfaces */
  --bg-carbon: #0A0A0C;
  --bg-surface: #111114;
  --bg-surface-elevated: #18181D;
  --bg-glass: rgba(18, 18, 22, 0.65);

  /* Typography & Foreground */
  --text-primary: #F4EDE6;
  --text-secondary: #9E968F;
  --text-muted: #615B56;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Transitions & Easing */
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Single section constraint */
  background-color: var(--bg-carbon);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Replaced by custom Spider-Man reticle cursor */
}

/* Restore default cursor on touch screens */
@media (pointer: coarse) {
  html, body {
    cursor: auto;
  }
}

/* --------------------------------------------------------------------------
   Interactive Web Canvas & Custom Cursor
   -------------------------------------------------------------------------- */
#web-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.04s linear;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-bright), 0 0 20px var(--brand-primary);
  transition: transform 0.15s ease;
}

.cursor-ring {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px dashed rgba(193, 73, 25, 0.6);
  animation: cursorSpin 8s linear infinite;
  transition: transform 0.2s var(--ease-elastic);
}

.cursor-spikes {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease;
}

@keyframes cursorSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Cursor firing state on click */
.cursor-fire .cursor-dot {
  transform: scale(2.2);
  background-color: #FFF;
  box-shadow: 0 0 16px #FFF, 0 0 30px var(--brand-bright);
}

.cursor-fire .cursor-ring {
  transform: scale(1.6);
  border-color: #FFF;
}

/* --------------------------------------------------------------------------
   Ambient Atmosphere & Grid Lines
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
}

.ambient-glow-1 {
  width: 650px;
  height: 650px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(193, 73, 25, 0.15) 0%, rgba(193, 73, 25, 0.02) 60%, transparent 80%);
}

.ambient-glow-2 {
  width: 750px;
  height: 750px;
  bottom: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(193, 73, 25, 0.12) 0%, rgba(193, 73, 25, 0.01) 60%, transparent 80%);
}

.ambient-grid-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Viewport Single Section Wrapper
   -------------------------------------------------------------------------- */
.viewport-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 3rem;
  max-width: 1440px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .viewport-wrapper {
    padding: 1.25rem 1.25rem;
  }

  .brand-logo-img {
    height: 30px;
    max-width: 140px;
  }

  .status-text {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 5.2vw, 2.6rem);
    line-height: 1.18;
    margin-bottom: 0.95rem;
  }

  .hero-tagline {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 560px) {
  .status-text {
    display: none;
  }

  .status-pill {
    padding: 0.45rem;
  }

  .hero-headline {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
  }

  .notify-container {
    max-width: 100%;
  }

  .notify-submit-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   Site Header
   -------------------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  z-index: 20;
}

.brand-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px var(--brand-glow));
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .brand-logo-img {
    height: 28px;
    max-width: 140px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 480px) {
  .status-pill {
    padding: 0.35rem 0.65rem;
  }
}

.status-pulse-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  box-shadow: 0 0 8px var(--brand-bright);
  animation: pulseLight 2s infinite ease-in-out;
  flex-shrink: 0;
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 440px) {
  .status-text {
    display: none;
  }
  .status-pill {
    padding: 0.45rem;
  }
}

.interactive-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 9999px;
  padding: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.interactive-btn:hover {
  background: rgba(193, 73, 25, 0.15);
  border-color: var(--brand-border);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-tooltip {
  position: absolute;
  bottom: -32px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition-fast);
}

.interactive-btn:hover .btn-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Hero Stage (Center Section)
   -------------------------------------------------------------------------- */
.hero-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
  padding: 1.25rem 0;
  width: 100%;
}

.hero-content {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0.5rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 9999px;
  background: rgba(193, 73, 25, 0.08);
  border: 1px solid var(--brand-border);
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 20px rgba(193, 73, 25, 0.1);
  transition: transform var(--transition-fast);
}

.hero-badge:hover {
  transform: translateY(-1px);
}

.badge-spark {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

.spark-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px var(--brand-glow));
}

.badge-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand-bright);
}

/* Minimal Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
  text-wrap: balance;
  word-break: break-word;
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(1.55rem, 6.8vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
  }
}

.highlight-text {
  color: var(--brand-bright);
  background: linear-gradient(135deg, #FF6A28 0%, #C14919 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(193, 73, 25, 0.3);
}

/* Short Refined Tagline */
.hero-tagline {
  font-size: clamp(0.92rem, 1.6vw, 1.08rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 1.85rem;
  text-wrap: pretty;
}

@media (max-width: 480px) {
  .hero-tagline {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
  }
}

/* Notify Capsule */
.notify-container {
  width: 100%;
  max-width: 440px;
  margin-bottom: 1.35rem;
  position: relative;
}

.notify-form {
  width: 100%;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.35rem 0.35rem 0.35rem 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all var(--transition-smooth);
  width: 100%;
}

.input-wrapper:focus-within {
  border-color: var(--brand-border);
  box-shadow: 0 0 0 3px rgba(193, 73, 25, 0.18), 0 12px 35px rgba(0, 0, 0, 0.5);
  background: var(--bg-surface-elevated);
}

.notify-input {
  flex: 1;
  min-width: 0; /* Prevents overflow in flex container */
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 400;
}

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

.notify-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--brand-primary);
  color: #FFF;
  border: none;
  border-radius: 9999px;
  padding: 0.6rem 1.15rem;
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px var(--brand-glow);
}

@media (max-width: 420px) {
  .notify-submit-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
  }
}

.notify-submit-btn:hover {
  background-color: var(--brand-bright);
  box-shadow: 0 4px 18px rgba(193, 73, 25, 0.5);
  transform: translateY(-1px);
}

.notify-submit-btn:active {
  transform: translateY(0);
}

.submit-arrow {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.notify-submit-btn:hover .submit-arrow {
  transform: translateX(2px);
}

/* Feedback message */
.notify-feedback {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  min-height: 18px;
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateY(-4px);
}

.notify-feedback.visible {
  opacity: 1;
  transform: translateY(0);
}

.notify-feedback.success {
  color: #34D399;
}

.notify-feedback.error {
  color: #F87171;
}

/* Interactive Spidey Web Hint */
.web-instruction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  max-width: 100%;
  text-align: center;
  line-height: 1.4;
}

.hint-mobile {
  display: none;
}

@media (max-width: 768px) {
  .hint-desktop {
    display: none;
  }
  .hint-mobile {
    display: inline;
  }
}

.web-icon {
  display: inline-flex;
  color: var(--brand-primary);
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Site Footer
   (Left: Instagram, Facebook, LinkedIn, Twitter | Right: Brand & Tagline)
   -------------------------------------------------------------------------- */
.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 20;
}

@media (max-width: 680px) {
  .site-footer {
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    padding-top: 1rem;
  }
}

/* Footer Left: Social Links */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (max-width: 680px) {
  .footer-left {
    align-items: center;
  }
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.social-links-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: all var(--transition-fast);
}

.social-icon-link.is-empty {
  opacity: 0.45;
  cursor: default;
}

.social-icon-link.is-empty:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
  color: var(--text-secondary);
  transform: none;
  box-shadow: none;
}

.social-icon-link:hover {
  background: rgba(193, 73, 25, 0.16);
  border-color: var(--brand-border);
  color: var(--brand-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--brand-glow);
}

.social-tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-fast);
}

.social-icon-link:hover .social-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer Right: Brand Name & Logo Tagline */
.footer-right {
  display: flex;
  align-items: flex-end;
}

.brand-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

@media (max-width: 680px) {
  .brand-signature {
    align-items: center;
  }
}

.brand-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.signature-spark {
  color: var(--brand-primary);
  font-size: 0.95rem;
  animation: sparkTwinkle 3s ease-in-out infinite;
}

@keyframes sparkTwinkle {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 6px var(--brand-bright)); }
}

.signature-brand {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.signature-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Animations (Subtle & Artisanal)
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s var(--ease-out-quad) forwards;
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.85s var(--ease-out-quad) forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.28s;
}

.delay-3 {
  animation-delay: 0.42s;
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
