/* ------------------------------
   GLOBAL
------------------------------ */
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: #f8f9fb;
  color: #0A0F1F;
  line-height: 1.6;
}

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

/* ------------------------------
   HEADER
------------------------------ */
header {
  background: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo img {
  height: 96px;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #0A0F1F;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.6;
}

/* ------------------------------
   HERO
------------------------------ */
.hero {
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 650px;
  margin: 1rem auto 2.5rem;
  font-size: 1.25rem;
  color: #1a1f2c;
}

/* ------------------------------
   CHAOS → CLARITY COLLAGE
------------------------------ */
.chaos-clarity-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 3rem auto;
}

.chaos-block h3,
.clarity-block h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.chaos-collage {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.chaos-item {
  background: #ffffff;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255,0,0,0.25);
  box-shadow: 0 8px 20px rgba(255,0,0,0.15);
  font-size: 0.9rem;
  transform: rotate(-6deg);
  opacity: 0.85;
}

.chaos-item:nth-child(2) { transform: rotate(4deg); }
.chaos-item:nth-child(3) { transform: rotate(-3deg); }
.chaos-item:nth-child(4) { transform: rotate(5deg); }
.chaos-item:nth-child(5) { transform: rotate(-2deg); }

.chaos-arrow {
  font-size: 3rem;
  font-weight: 700;
  opacity: 0.4;
}

.clarity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.clarity-card {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,224,255,0.25);
  box-shadow: 0 8px 24px rgba(10,15,31,0.08);
  font-size: 0.9rem;
  text-align: center;
}

/* CTA BUTTONS */
.button,
.button-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
  background: linear-gradient(90deg, #00e0ff, #4df3ff);
  color: #0A0F1F;
  box-shadow: 0 12px 32px rgba(0,224,255,0.35);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,224,255,0.45);
}

/* ------------------------------
   SECTION WRAPPERS
------------------------------ */
.section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #0A0F1F;
}

.section p {
  max-width: 750px;
  margin: 1rem auto 2rem;
  font-size: 1.2rem;
  color: #1a1f2c;
}

/* ------------------------------
   FLOATING PRODUCT PREVIEW
------------------------------ */
.screenshot-frame {
  max-width: 950px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 0;
  background: rgba(255,255,255,0.95);
  box-shadow: 
    0 30px 60px rgba(0, 224, 255, 0.25),
    0 20px 40px rgba(10, 15, 31, 0.25);
  border: 1px solid rgba(0,224,255,0.35);
  transform: translateY(20px);
  opacity: 0;
  transition:
    opacity 1.2s ease,
    transform 1.2s ease,
    box-shadow 0.4s ease,
    scale 0.4s ease;
}

.screenshot-frame.visible {
  opacity: 1;
  transform: translateY(0);
}

.screenshot-frame:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 40px 80px rgba(0, 224, 255, 0.35),
    0 25px 50px rgba(10, 15, 31, 0.35);
}

.screenshot-frame img {
  border-radius: 20px;
  display: block;
}

/* GLOW PULSE BEHIND SCREENSHOT */
.screenshot-frame {
  position: relative;
}

.screenshot-frame::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 30px;
  background: radial-gradient(
    circle at center,
    rgba(0, 224, 255, 0.25),
    rgba(0, 224, 255, 0) 70%
  );
  filter: blur(40px);
  opacity: 0.6;
  animation: glowPulse 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes glowPulse {
  0% { opacity: 0.45; transform: scale(0.95); }
  50% { opacity: 0.75; transform: scale(1.05); }
  100% { opacity: 0.45; transform: scale(0.95); }
}

/* ------------------------------
   3-LAYER FLOATING CARD STACK
------------------------------ */

/* Base layer styling */
.stack-layer {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  z-index: -2;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-style: preserve-3d;
}

/* Layer 1 — closest */
.layer-1 {
  background: rgba(255, 255, 255, 0.35);
  filter: blur(14px);
  opacity: 0.35;
  transform: translateY(8px) scale(1.02);
}

/* Layer 2 — middle */
.layer-2 {
  background: rgba(255, 255, 255, 0.25);
  filter: blur(22px);
  opacity: 0.28;
  transform: translateY(14px) scale(1.04);
  z-index: -3;
}

/* Layer 3 — deepest */
.layer-3 {
  background: rgba(255, 255, 255, 0.18);
  filter: blur(30px);
  opacity: 0.22;
  transform: translateY(20px) scale(1.06);
  z-index: -4;
}

/* Hover depth */
.screenshot-frame:hover .layer-1 {
  transform: translateY(4px) scale(1.015);
  opacity: 0.42;
}

.screenshot-frame:hover .layer-2 {
  transform: translateY(8px) scale(1.03);
  opacity: 0.34;
}

.screenshot-frame:hover .layer-3 {
  transform: translateY(12px) scale(1.045);
  opacity: 0.28;
}

/* Parallax tilt for layers */
.stack-layer {
  transform: translateY(10px) scale(1.03)
             rotateX(var(--tilt-y, 0deg))
             rotateY(calc(var(--tilt-x, 0deg) * -1));
}

/* PARALLAX TILT */
.screenshot-frame {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* ------------------------------
   FEATURE GRID
------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto;
}

.feature-card {
  padding: 2rem;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(0,224,255,0.25);
  box-shadow: 0 12px 32px rgba(10,15,31,0.08);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

/* ------------------------------
   PERSONA GRID
------------------------------ */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto;
}

.persona-card {
  padding: 2rem;
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(0,224,255,0.25);
  box-shadow: 0 8px 24px rgba(10,15,31,0.08);
  transition: transform 0.2s ease;
}

.persona-card:hover {
  transform: translateY(-4px);
}

/* ------------------------------
   SNAPSHOT STRIP
------------------------------ */
.snapshot-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.snapshot-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(0,224,255,0.25);
  box-shadow: 0 12px 32px rgba(10,15,31,0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.snapshot-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.snapshot-card p {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: #374151;
}

.snapshot-card img {
  border-radius: 10px;
}

/* ------------------------------
   TRUST SECTION
------------------------------ */
.trust-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  opacity: 0.7;
  margin-top: 2rem;
}

.trust-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0,224,255,0.15);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0A0F1F;
}

/* ------------------------------
   TRUST LOGO PLACEHOLDERS
------------------------------ */
.trust-logo-placeholder {
  width: 120px;
  height: 50px;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(0,224,255,0.25);
  box-shadow: 0 8px 20px rgba(10,15,31,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
  padding: 40px;
  text-align: center;
  background: #111827;
  color: white;
  margin-top: 80px;
  font-size: 0.95rem;
}

/* ------------------------------
   SCROLL ANIMATIONS
------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.visible {
  opacity: 1;
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }

/* FORM FIELDS */
.input-field {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0 1.5rem;
  border-radius: 8px;
  border: 1px solid #d0d7e2;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
  border-color: #00e0ff;
  box-shadow: 0 0 0 3px rgba(0,224,255,0.25);
  outline: none;
}

