/* ============================================================
   habi — style.css
   Dark, minimal, human-centered landing
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --bg:          #080e1a;
  --bg-card:     #0d1525;
  --bg-subtle:   #111b2e;
  --text:        #e8eaf0;
  --text-muted:  #5a6a80;
  --accent:      #1e7bff;
  --accent-soft: rgba(30, 123, 255, 0.12);
  --accent-glow: rgba(30, 123, 255, 0.25);
  --warm:        #ff6b4a;
  --border:      #1a2538;

  --font-display: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container:   1120px;
  --gutter:      clamp(20px, 5vw, 80px);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--bg); }

/* --- Custom Cursor — glowing dot --- */
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              box-shadow 0.35s, opacity 0.3s, background 0.3s;
  opacity: 0;
  box-shadow: 0 0 10px var(--accent-glow), 0 0 30px rgba(30, 123, 255, 0.1);
}

.cursor-dot.active {
  width: 18px;
  height: 18px;
  box-shadow: 0 0 16px var(--accent-glow), 0 0 40px rgba(30, 123, 255, 0.15);
}

.cursor-dot.check {
  width: 24px;
  height: 24px;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.3), 0 0 40px rgba(34, 197, 94, 0.1);
}

.cursor-dot.on-accent {
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.1);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-icon {
  filter: drop-shadow(0 0 24px var(--accent-glow));
}

.preloader-icon svg {
  overflow: visible;
}

.pl-bg {
  opacity: 0;
  animation: plFadeIn 0.3s 0.1s var(--ease-out) forwards;
}

.pl-dot {
  opacity: 0;
  animation: plFadeIn 0.3s 0.35s var(--ease-out) forwards;
}

.pl-bar {
  transform-origin: center bottom;
  transform: scaleY(0);
  opacity: 0;
}

.pl-bar-1 { animation: plBarGrow 0.4s 0.45s var(--ease-out) forwards; }
.pl-bar-2 { animation: plBarGrow 0.4s 0.55s var(--ease-out) forwards; }
.pl-bar-3 { animation: plBarGrow 0.4s 0.65s var(--ease-out) forwards; }

@keyframes plFadeIn {
  to { opacity: 1; }
}

@keyframes plBarGrow {
  to { transform: scaleY(1); opacity: 1; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s var(--ease-out);
}

.nav.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(8, 14, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.7; }

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 18px;
  position: relative;
  z-index: 1001;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.nav-toggle span:first-child { top: 0; }
.nav-toggle span:last-child { bottom: 0; }

.nav-toggle.open span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.open span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  position: relative;
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow--main {
  right: -10%;
  top: -20%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(80px);
}

.hero-glow--sub {
  left: -5%;
  bottom: -10%;
  width: 30%;
  height: 40%;
  background: radial-gradient(circle, rgba(30, 123, 255, 0.08) 0%, transparent 70%);
  filter: blur(100px);
}

.hero-content {
  max-width: 560px;
}

/* Hero phone */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone-glow {
  position: absolute;
  width: 320px;
  height: 450px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(70px);
  pointer-events: none;
}

.hero-phone-img {
  position: relative;
  width: 300px;
  max-width: 100%;
  border-radius: 36px;
  filter: drop-shadow(0 32px 80px rgba(0, 0, 0, 0.5));
  opacity: 0;
  transform: translateY(40px) perspective(800px) rotateY(0deg) rotateX(0deg);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: 0.5s;
  will-change: transform;
}

body.loaded .hero-phone-img {
  opacity: 1;
  transform: translateY(0) perspective(800px) rotateY(-5deg) rotateX(2deg);
}

body.loaded .hero-phone-img.tilt-active {
  transition: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}

body.loaded .hero-line-inner {
  transform: translateY(0);
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: none;
  cursor: none;
  transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn-primary:hover {
  background: #3a8eff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 16px;
}


/* --- Statement / Marker Highlight --- */
.statement {
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.marker-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.marker-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.marker-word {
  position: relative;
  display: inline-block;
}

.marker-word::before {
  content: '';
  position: absolute;
  inset: -0.06em -0.15em;
  background: var(--accent);
  border-radius: 4px;
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 0;
}

.marker-text.visible .marker-word::before {
  animation: markerSweep 0.6s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.marker-word span {
  position: relative;
  z-index: 1;
  transition: color 0.25s;
}

.marker-text.visible .marker-word span {
  animation: markerTextColor 0.01s 0.75s forwards;
}

@keyframes markerSweep {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes markerTextColor {
  to { color: #fff; }
}

/* --- Section Shared --- */
.section-header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* --- Features --- */
.features {
  padding: clamp(80px, 10vw, 140px) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease-out);
}

.feature-card:hover {
  border-color: rgba(30, 123, 255, 0.2);
  background: var(--bg-subtle);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-icon--break {
  background: rgba(255, 107, 74, 0.1);
  color: var(--warm);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- InstaTask --- */
.instatask {
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.instatask-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.instatask-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--accent-soft);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.instatask-bolt {
  filter: drop-shadow(0 0 4px var(--accent-glow));
}

.instatask-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.instatask-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 440px;
}

/* InstaTask mock card */
.instatask-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.instatask-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.instatask-card {
  position: relative;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(30, 123, 255, 0.06);
}

.itask-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.itask-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 100px;
}

.itask-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.itask-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  transition: background 0.2s;
}

.itask-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.itask-done span {
  text-decoration: line-through;
  color: var(--text-muted);
}

.itask-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.itask-check.checked {
  background: var(--accent);
  border-color: var(--accent);
  animation: checkPop 0.3s var(--ease-out);
}

@keyframes checkPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.itask-item {
  cursor: none;
  user-select: none;
}

.itask-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px dashed rgba(90, 106, 128, 0.3);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: default;
  transition: border-color 0.3s, color 0.3s;
}

.itask-add:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Gate System --- */
.gate-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px var(--gutter);
  position: relative;
}

.gate-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  opacity: 0.3;
}

.gate-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
}

.gate-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 32px;
  background: var(--bg-card);
  border: 1px solid rgba(30, 123, 255, 0.2);
  border-radius: 16px;
  cursor: none;
  user-select: none;
  transition: border-color 0.4s, background 0.4s, transform 0.3s var(--ease-out),
              box-shadow 0.4s;
  box-shadow: 0 0 24px rgba(30, 123, 255, 0.06);
}

.gate-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(30, 123, 255, 0.15), transparent 50%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.gate-card:hover::before {
  opacity: 1;
}

.gate-card:hover {
  border-color: rgba(30, 123, 255, 0.4);
  background: var(--bg-subtle);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30, 123, 255, 0.12), 0 0 0 1px rgba(30, 123, 255, 0.08);
}

.gate-check {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 2px solid rgba(30, 123, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
  animation: gatePulse 2.5s ease-in-out infinite;
}

@keyframes gatePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 123, 255, 0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(30, 123, 255, 0); }
}

.gate-card.checked .gate-check {
  animation: none;
}

.gate-tick {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}

.gate-card.checked .gate-check {
  background: var(--accent);
  border-color: var(--accent);
  animation: checkPop 0.35s var(--ease-out);
}

.gate-card.checked .gate-tick {
  opacity: 1;
  transform: scale(1);
}

.gate-card.checked {
  border-color: rgba(30, 123, 255, 0.1);
  opacity: 0.5;
  pointer-events: none;
}

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

.gate-day {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.gate-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.gate-prompt {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.gate-card:hover .gate-prompt {
  opacity: 1;
}

.gate-card.checked .gate-prompt {
  display: none;
}

.gate-streak {
  margin-left: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.gate-streak small {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 13px;
}

/* Final gate (Day 5) */
.gate-card--final {
  border-color: rgba(30, 123, 255, 0.15);
  background: transparent;
}

.gate-wrapper--final::before,
.gate-wrapper--final::after {
  display: none;
}

.gate-card.checked.gate-card--final {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05);
  opacity: 1;
  pointer-events: none;
}

.gate-card.checked.gate-card--final .gate-check {
  background: #22c55e;
  border-color: #22c55e;
}

.gate-card.checked.gate-card--final .gate-day {
  color: #22c55e;
}

/* Gated blocks */
.gated {
  display: none;
}

.gated.unlocked {
  display: block;
  animation: gateReveal 0.8s var(--ease-out);
}

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

/* --- Philosophy --- */
.philosophy {
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--border);
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.philosophy-content {
  max-width: 560px;
}

/* Floating streak visual */
.philosophy-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.philosophy-streak-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.streak-progress {
  animation: streakDraw 2s var(--ease-out) forwards;
  stroke-dasharray: 0 327;
}

@keyframes streakDraw {
  to { stroke-dasharray: 280 327; }
}

.streak-inner {
  position: absolute;
  text-align: center;
}

.streak-num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.philosophy-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.philosophy-float--1 {
  top: 0;
  right: 10%;
  color: #F59E0B;
  animation: floatY 4s ease-in-out infinite;
}

.philosophy-float--2 {
  bottom: 15%;
  left: 0;
  color: var(--accent);
  animation: floatY 4.5s ease-in-out 0.5s infinite;
}

.philosophy-float--3 {
  bottom: 0;
  right: 5%;
  color: #22c55e;
  animation: floatY 3.8s ease-in-out 1s infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.philosophy-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.philosophy-quote p {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0;
}

.philosophy-text {
  max-width: 560px;
  padding-top: clamp(40px, 5vw, 64px);
}

.philosophy-text p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}


/* --- Details --- */
.details {
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--border);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.detail-item {
  position: relative;
  padding-left: 14px;
}

.detail-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  transition: height 0.35s var(--ease-out), opacity 0.35s, border-radius 0.35s;
}

.detail-item:hover::before {
  height: 100%;
  border-radius: 2px;
  opacity: 0.7;
}

.detail-label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.detail-item:hover .detail-label {
  color: var(--accent);
  transform: translateX(4px);
}

.detail-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  transition: transform 0.3s var(--ease-out);
}

.detail-item:hover p {
  transform: translateX(4px);
}

/* --- CTA --- */
.cta {
  padding: clamp(100px, 12vw, 180px) 0;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* --- Footer --- */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner a {
  color: var(--accent);
  transition: opacity 0.3s;
}

.footer-inner a:hover { opacity: 0.7; }

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

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

/* --- Responsive — Tablet --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Responsive — Mobile --- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  body { cursor: auto; }
  a, button { cursor: auto; }
  .cursor-dot { display: none; }

  .nav-links a {
    font-size: 22px;
    color: var(--text);
  }

  .nav-toggle { display: block; }

  .hero-title {
    font-size: clamp(40px, 12vw, 72px);
  }

  .hero-scroll { display: none; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-sub br {
    display: none;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-phone-img {
    width: 240px;
  }

  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .philosophy-visual {
    min-height: 220px;
  }

  .instatask-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .instatask-card {
    width: 100%;
    max-width: 340px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }

  .gate-card {
    padding: 16px 20px;
    gap: 14px;
  }

  .gate-prompt {
    display: none;
  }

  .gate-streak {
    margin-left: 8px;
  }

  .cta-title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* --- Small phones --- */
@media (max-width: 400px) {
  :root {
    --gutter: 16px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
}
