/* ========================================
   Strike Landing Page - Premium Styles
   ======================================== */

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

/* Variables */
:root {
  --white: #ffffff;
  --off-white: #FAFAFA;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Accent gradient (matches logo) */
  --teal: #2DD4BF;
  --blue: #3B82F6;
  --purple: #8B5CF6;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

/* Body - Viewport locked */
html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Background Effects
   ======================================== */

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59, 130, 246, 0.1), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(139, 92, 246, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ========================================
   Main Layout
   ======================================== */

main {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 720px;
}

/* ========================================
   Animations
   ======================================== */

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

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(45, 212, 191, 0.5);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: calc(var(--delay) * 0.15s);
}

/* ========================================
   Logo
   ======================================== */

.logo-wrapper {
  margin-bottom: 2.5rem;
}

.logo {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* ========================================
   Typography
   ======================================== */

.headline {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 3rem;
  max-width: 540px;
}

/* ========================================
   Signup Form - Premium UI
   ======================================== */

.signup-wrapper {
  width: 100%;
  max-width: 540px;
  margin-bottom: 3rem;
}

.signup-form {
  position: relative;
  display: flex;
  gap: 0;
  padding: 6px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow:
    var(--glass-shadow),
    0 0 0 1px var(--glass-border),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Animated gradient border */
.signup-form::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--teal),
    var(--blue),
    var(--purple),
    var(--blue),
    var(--teal)
  );
  background-size: 300% 300%;
  border-radius: 16px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  animation: shimmer 3s ease infinite;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.signup-form:focus-within::before,
.signup-form:hover::before {
  opacity: 1;
}

.input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.mail-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--slate-light);
  pointer-events: none;
  transition: color 0.2s ease;
}

.email-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--navy);
  background: transparent;
  border: none;
  outline: none;
}

.email-input::placeholder {
  color: var(--slate-light);
}

.input-wrapper:focus-within .mail-icon {
  color: var(--teal);
}

/* Submit Button */
.submit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

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

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.submit-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* ========================================
   Success Message
   ======================================== */

.success-message {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 32px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 16px;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  animation: fadeInUp 0.5s ease-out;
}

.check-icon {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

/* ========================================
   Social Proof
   ======================================== */

.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-proof-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.logos:hover {
  opacity: 0.6;
}

.integration-logo {
  width: 24px;
  height: 24px;
  color: var(--slate);
  transition: all 0.3s ease;
}

.integration-logo:hover {
  color: var(--navy);
  transform: scale(1.2);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 640px) {
  .content {
    padding: 1.5rem;
  }

  .headline {
    font-size: 2rem;
  }

  .headline br {
    display: none;
  }

  .subheadline {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .subheadline br {
    display: none;
  }

  .signup-form {
    flex-direction: column;
    gap: 8px;
    padding: 8px;
  }

  .email-input {
    padding: 14px 14px 14px 44px;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .logos {
    gap: 1.5rem;
  }

  .integration-logo {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   Selection & Focus States
   ======================================== */

::selection {
  background: rgba(45, 212, 191, 0.2);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
