/* ============================================
   STA7US - Webseite Styles
   Premium dark, Whoop-vibe, Geist typography
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0D0D0F;
  color: #FAFAFA;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay - subtle texture for premium feel */
.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  background: rgba(13, 13, 15, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FAFAFA;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #FAFAFA;
}

.nav-cta {
  padding: 10px 20px;
  background: #AFA9EC;
  color: #0D0D0F;
  border-radius: 100px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #C0BBF0;
  color: #0D0D0F;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 70vh;
}

.hero-text {
  max-width: 540px;
}

.hero-headline {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FAFAFA;
  margin-bottom: 28px;
}

.hero-headline-accent {
  color: rgba(250, 250, 250, 0.5);
  font-weight: 800;
}

.hero-subline {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(250, 250, 250, 0.65);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-meta {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(250, 250, 250, 0.4);
  letter-spacing: 0.02em;
}

/* Email Form */
.email-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 6px;
  transition: border-color 0.2s ease;
  max-width: 480px;
}

.email-form:focus-within {
  border-color: rgba(175, 169, 236, 0.5);
}

.email-input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  outline: none;
  color: #FAFAFA;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
}

.email-input::placeholder {
  color: rgba(250, 250, 250, 0.35);
}

.email-submit {
  padding: 14px 24px;
  background: #AFA9EC;
  color: #0D0D0F;
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.email-submit:hover {
  background: #C0BBF0;
  transform: translateY(-1px);
}

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

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

.email-submit:hover .arrow {
  transform: translateX(3px);
}

/* ============================================
   KIT FORM OVERRIDES
   Neutralize Kit's default formkit-form styles
   so our custom design wins
   ============================================ */

.formkit-form {
  max-width: none !important;
  margin: 0 !important;
}

.formkit-form .formkit-input {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 20px !important;
  color: #FAFAFA !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  flex: 1 !important;
}

.formkit-form .formkit-input:focus {
  outline: none !important;
  border: none !important;
}

.formkit-form .formkit-input::placeholder {
  color: rgba(250, 250, 250, 0.35) !important;
  opacity: 1 !important;
}

.formkit-form .formkit-submit {
  background: #AFA9EC !important;
  color: #0D0D0F !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.formkit-form .formkit-submit:hover {
  background: #C0BBF0 !important;
}

.formkit-form .formkit-submit > span {
  padding: 14px 24px !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.formkit-form .formkit-submit:hover > span {
  background: transparent !important;
}

.formkit-form .formkit-alert {
  background: rgba(175, 169, 236, 0.1) !important;
  border: 1px solid rgba(175, 169, 236, 0.3) !important;
  color: #AFA9EC !important;
  border-radius: 12px !important;
  margin: 16px 0 0 0 !important;
}

.formkit-form .formkit-alert-success {
  background: rgba(175, 169, 236, 0.1) !important;
  border-color: rgba(175, 169, 236, 0.3) !important;
  color: #AFA9EC !important;
}

.formkit-form .formkit-spinner > div {
  background-color: #0D0D0F !important;
}

/* Hide Kit branding */
.formkit-powered-by-convertkit-container {
  display: none !important;
}

/* ============================================
   FORM SUCCESS / ERROR STATES
   ============================================ */

.form-success {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: rgba(175, 169, 236, 0.08);
  border: 1px solid rgba(175, 169, 236, 0.3);
  border-radius: 100px;
  max-width: 480px;
  animation: success-fade-in 0.4s ease-out;
}

.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #AFA9EC;
  color: #0D0D0F;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.form-success-text {
  color: #FAFAFA;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.form-error {
  margin-top: 12px;
  padding: 12px 20px;
  background: rgba(255, 100, 100, 0.08);
  border: 1px solid rgba(255, 100, 100, 0.3);
  border-radius: 12px;
  color: rgba(255, 150, 150, 0.95);
  font-size: 14px;
  max-width: 480px;
}

@keyframes success-fade-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Visual - Phone */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-glow {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: radial-gradient(
    circle at center,
    rgba(175, 169, 236, 0.18) 0%,
    rgba(175, 169, 236, 0.08) 35%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.phone-frame {
  position: relative;
  z-index: 1;
  max-width: 380px;
  width: 100%;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 60px 120px -20px rgba(0, 0, 0, 0.6),
    0 30px 60px -30px rgba(175, 169, 236, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1500px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.phone-frame:hover {
  transform: perspective(1500px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  width: 100%;
  height: auto;
  border-radius: 32px;
  display: block;
}

/* ============================================
   PILLARS
   ============================================ */

.pillars {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pillars-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #AFA9EC;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #FAFAFA;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.pillar:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(175, 169, 236, 0.2);
  transform: translateY(-2px);
}

.pillar-num {
  font-size: 13px;
  font-weight: 600;
  color: rgba(175, 169, 236, 0.7);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-feature-settings: 'tnum';
}

.pillar-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #FAFAFA;
}

.pillar-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.6);
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.quote-section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.quote {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(250, 250, 250, 0.85);
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.cta-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #FAFAFA;
}

.cta-subline {
  font-size: 17px;
  color: rgba(250, 250, 250, 0.55);
  margin-bottom: 40px;
}

.email-form-cta {
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #08080A;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FAFAFA;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(250, 250, 250, 0.4);
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(250, 250, 250, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #FAFAFA;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(250, 250, 250, 0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .phone-frame {
    max-width: 300px;
    transform: none;
  }

  .phone-frame:hover {
    transform: none;
  }

  .email-form {
    margin: 0 auto;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillars {
    padding: 80px 0;
  }

  .pillars-header {
    margin-bottom: 48px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .nav {
    gap: 16px;
  }

  .nav-link:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .hero-subline {
    font-size: 17px;
  }

  .email-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }

  .email-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    width: 100%;
  }

  .email-submit {
    width: 100%;
    border-radius: 12px;
    padding: 16px;
    justify-content: center;
  }

  .pillar {
    padding: 32px 24px;
  }

  .pillar-title {
    font-size: 24px;
  }

  .quote {
    font-size: 26px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
}
