/* ========================================
   GlassCube AR — Landing Page Styles
   ======================================== */

/* --- Reset & Base --- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #000;
  color: #f5f5f7;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: #2997ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #6cb6ff;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utility --- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Hero --- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    rgba(100, 100, 255, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
  background: linear-gradient(
    180deg,
    #fff 0%,
    rgba(255, 255, 255, 0.82) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.hero-subtext {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.55);
  max-width: 28rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero-aside {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.01em;
}

/* --- Visual / Screenshot --- */

.visual {
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.visual-frame {
  position: relative;
  max-width: 380px;
  margin: 0 auto 2rem;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-placeholder {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visual-caption {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.55);
  max-width: 30rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Features --- */

.features {
  padding: 6rem 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
  }
}

.feature {
  padding: 2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.06);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* --- Philosophy --- */

.philosophy {
  padding: 7rem 1.5rem;
  text-align: center;
}

.philosophy-text {
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 30rem;
  margin: 0 auto;
}

/* --- Footer --- */

.footer {
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.5rem;
}

.footer-links {
  font-size: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Support Page --- */

.support-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.support-page .back-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3rem;
  display: inline-block;
}

.support-page .back-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.support-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #f5f5f7;
}

.support-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 26rem;
  margin: 0 auto;
}

.support-text a {
  color: #2997ff;
  font-weight: 500;
}

.support-aside {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}
