/* 
  VeriVestum GmbH - Premium Coming Soon Page
  Design System & Baseline Styles 
*/

:root {
  /* Colors */
  --color-bg-cream: #F3ECE3;
  --color-primary-navy: #061532;
  --color-accent-gold: #BAAE9B;

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  /* Modern mobile fix for address bar */
  overflow: hidden;
  /* No scrolling (100vh One-Screen-Design) */
  background-color: var(--color-bg-cream);
  color: var(--color-primary-navy);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Base */
h1,
h2,
h3,
.logo span {
  font-family: var(--font-serif);
  font-weight: 500;
}

p,
a,
input,
button {
  font-family: var(--font-sans);
  font-weight: 300;
}

/* Page Soft Fade-In State */
body.loading .page-wrapper {
  opacity: 0;
  transform: translateY(10px);
}

/* Layout - 100vh One-Screen */
.page-wrapper {
  position: relative;
  z-index: 10;
  /* Above the canvas */
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
  /* Better mobile padding */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  pointer-events: none;
  /* Let clicks pass to form if not on elements */
}

@media (min-width: 640px) {
  .page-wrapper {
    padding: 3rem 2rem;
  }
}

.page-wrapper>* {
  pointer-events: auto;
  /* Re-enable pointer events on children */
}

/* Header */
.header {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary-navy);
}

.logo svg {
  width: 32px;
  height: auto;
  opacity: 0.9;
}

.logo span {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Hero Section (Center) */
.hero {
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.target-headline {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-primary-navy);
}

/* Form */
.notify-form {
  width: 100%;
  max-width: 500px;
  margin-top: 1rem;
}

.submit-button {
  background-color: var(--color-primary-navy);
  color: var(--color-bg-cream);
  border: none;
  padding: 0.75rem 1.5rem;
  /* Smaller padding */
  font-size: 0.75rem;
  /* Smaller font */
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  /* For the anchor tag */
  display: inline-block;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

@media (min-width: 640px) {
  .submit-button {
    padding: 0.6rem 1.25rem;
  }
}

.submit-button:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(186, 174, 155, 0.2);
}

/* Footer */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(6, 21, 50, 0.5);
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-links a {
  color: rgba(6, 21, 50, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary-navy);
}

.separator {
  opacity: 0.5;
}

/* WebGL Canvas Container */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  /* Behind content due to page-wrapper z-index 10 */
  pointer-events: none;
  /* Cannot intereact with background */
}