/* ==========================================================================
   AXIOCAST — Landing Beta
   style.css
   ========================================================================== */

:root {
  --orange: #f97316;
  --dark: #1d1d1b;
  --dark-2: #141414;
  --paper: #F5F2ED;
  --grey: #8A8580;
  --grey-2: #999999;
  --white: #ffffff;
  --border: rgba(255,255,255,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NOISE TEXTURE ── */
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── LOGOTYPE ── */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}

.logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
}

.logo-axio {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #f0ede8;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-cast {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--grey-2);
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-beta {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: var(--orange);
  display: flex;
  justify-content: space-between;
  margin-top: -2px;
}

/* ── BADGE ── */
.badge {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.35);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 65% 15%, rgba(249,115,22,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* HERO BODY */
.hero-body {
  position: relative;
  z-index: 2;
  padding: 3rem 0 2rem;
}

.eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.25rem;
}

.headline {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 13vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.headline .accent {
  color: var(--orange);
}

.headline .sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0;
  line-height: 1.6;
  margin-top: 1.75rem;
  display: block;
  max-width: 460px;
  text-transform: none;
}

/* STATS */
.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* SCROLL HINT */
.scroll-hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--grey);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.scroll-line {
  width: 36px;
  height: 1px;
  background: var(--grey);
  animation: scrollpulse 2s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; transform: scaleX(1); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1.4); transform-origin: left; }
}

/* ── FEATURES ── */
.features {
  background: var(--paper);
  color: var(--dark);
  padding: 5rem 1.75rem;
}

.section-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  background: var(--paper);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 1.5;
}

.feature-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--dark);
  text-transform: uppercase;
  line-height: 1;
}

.feature-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(0,0,0,0.5);
  line-height: 1.65;
}

/* CTA INTERMEDIA */
.features-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-cta:hover { opacity: 0.9; }
.btn-cta:active { opacity: 0.85; transform: scale(0.98); }

/* ── SIGNUP ── */
.signup {
  background: var(--dark);
  padding: 5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.signup::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.signup-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.signup-title .orange { color: var(--orange); }

.signup-sub {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2.5rem;
  line-height: 1.65;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

/* FORM */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

input[type="text"],
input[type="email"],
select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  width: 100%;
}

input::placeholder { color: rgba(255,255,255,0.22); }

input:focus,
select:focus { border-color: var(--orange); }

select { color: rgba(255,255,255,0.5); }
select option { background: #1e1e1e; color: var(--white); }

.btn-submit {
  background: var(--orange);
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  margin-top: 0.5rem;
  width: 100%;
}

.btn-submit:hover { opacity: 0.9; }
.btn-submit:active { opacity: 0.85; transform: scale(0.98); }

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255,255,255,0.2);
  line-height: 1.55;
  margin-top: 0.25rem;
}

/* SUCCESS STATE */
.success {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background: rgba(249,115,22,0.07);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 16px;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.success-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--orange);
  text-transform: uppercase;
}

.success-text {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ERROR STATE */
.form-error {
  font-size: 0.72rem;
  color: #ff4d4d;
  margin-top: 0.25rem;
  display: none;
}

/* ── FOOTER ── */
footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo .logo-axio { font-size: 1.1rem; }
.footer-logo .logo-cast { font-size: 1.1rem; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.18);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-link {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover { color: rgba(255,255,255,0.5); }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (min-width: 600px) {
  .form-row {
    flex-direction: row;
  }
  .form-row input { flex: 1; }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero { padding: 2rem 3rem; }
  .features { padding: 6rem 3rem; }
  .signup { padding: 6rem 3rem; }
  footer { padding: 2rem 3rem; }
}
