/* Freezah — landing page (static, DreamHost-ready) */

:root {
  --bg: #06060c;
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f4ff;
  --muted: rgba(240, 244, 255, 0.62);
  --primary: #4da3ff;
  --primary-deep: #2b7fe8;
  --accent: #7c5cff;
  --cyan: #3ee8ff;
  --gradient-brand: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-deep) 48%,
    var(--accent) 100%
  );
  --gradient-cta: linear-gradient(135deg, var(--primary), var(--primary-deep));
  --radius: 20px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Background mesh ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}

.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.bg__orb--1 {
  width: 520px;
  height: 520px;
  top: -120px;
  left: 50%;
  transform: translateX(-60%);
  background: radial-gradient(circle, var(--primary-deep), transparent 70%);
}

.bg__orb--2 {
  width: 400px;
  height: 400px;
  top: 40%;
  right: -100px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation-delay: -6s;
}

.bg__orb--3 {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -80px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  animation-delay: -12s;
  opacity: 0.35;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 24px) scale(1.08); }
}

/* ── Layout ── */
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.logo__mark {
  display: inline-block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 20px var(--glow);
  background-image: url('../assets/app-icon.png'), var(--gradient-brand);
  background-size: cover;
  background-position: center;
  background-blend-mode: lighten;
}

.nav__badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: blur(12px);
  color: var(--muted);
}

/* ── Hero ── */
.hero {
  padding: 48px 0 80px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(62, 232, 255, 0.25);
  background: rgba(62, 232, 255, 0.06);
}

.hero__eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero h1 .gradient {
  background: linear-gradient(
    135deg,
    #fff 0%,
    var(--primary) 45%,
    var(--accent) 85%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: var(--gradient-cta);
  box-shadow: 0 8px 32px var(--glow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(77, 163, 255, 0.5);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: blur(12px);
}

/* ── Phone mock ── */
.mock {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.mock__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 30%, var(--glow), transparent 65%);
  pointer-events: none;
}

.mock__frame {
  position: relative;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.mock__screen {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #0e1424 0%, #0a0e18 100%);
  padding: 20px 16px 24px;
  min-height: 380px;
}

.mock__status {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.mock__greeting {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mock__sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.mock__card {
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.mock__card-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.mock__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.mock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock__dot--soon { background: #ffb74d; box-shadow: 0 0 8px #ffb74d; }
.mock__dot--ok { background: var(--primary); }

.mock__nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 24px;
  padding: 10px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.mock__fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: grid;
  place-items: center;
  margin-top: -28px;
  box-shadow: 0 4px 20px var(--glow);
  font-size: 1.4rem;
  font-weight: 300;
  color: #fff;
}

/* ── Features ── */
.features {
  padding: 40px 0 100px;
}

.section-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.section-headline {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

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

.card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: blur(16px);
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(77, 163, 255, 0.35);
  transform: translateY(-4px);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(77,163,255,0.2), rgba(124,92,255,0.15));
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── How it works ── */
.steps {
  padding: 0 0 100px;
}

.steps__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent), var(--primary-deep));
  box-shadow: 0 4px 20px rgba(124, 92, 255, 0.3);
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Footer ── */
.footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__brand {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .hero { padding-top: 24px; }
  .nav__badge { display: none; }
}
