/* ─────────────────── RESET ─────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
	font-family:'Inter',system-ui,sans-serif;
	font-weight:400;
	line-height:1.6;
	background:var(--bg);
	color:var(--text);
}

/* ─────────────────── THEME ─────────────────── */
:root{
	--brand:#7c40d6;
	--brand-dark:#6934b7;
	--bg:#0d1117;
	--surface:rgba(255,255,255,.05);
	--text:#e3e6ea;
	--text-soft:#98a1b0;
	--radius:14px;
	--blur:10px;
}

/* ─────────────────── GLOBAL —————————————————— */
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

h1,h2,h3{font-weight:700;line-height:1.25;color:var(--text)}
h2{font-size:clamp(1.8rem,2.5vw,2.6rem);text-align:center;margin-bottom:1.2rem}
.lead{font-size:1.15rem;color:var(--text-soft);max-width:45ch}
section{padding:clamp(3rem,6vw,6rem) 5vw}

.btn{display:inline-block;border-radius:8px;font-weight:600;
	transition:background .2s,transform .2s;text-align:center}
.btn.sm{padding:.45rem 1rem;font-size:.9rem}
.btn.lg{padding:.8rem 1.6rem;font-size:1.05rem}
.btn.primary{background:var(--brand);color:#fff}
.btn.primary:hover{background:var(--brand);
	box-shadow:0 8px 18px rgba(124,64,214,.36);
	transform:translateY(-2px) scale(1.02)}
	
	.nav-inner > .btn.primary.sm {
		margin-left: auto;
		margin-right: 2vw; /* ensures symmetry with logo padding */
	}

/* ─────────────────── NAV ———————————————————— */
.site-nav{
	position:fixed;top:0;left:0;width:100%;z-index:40;
	background:#fff;color:#0d1117;
	transition:box-shadow .3s ease,background .3s ease;
}
.site-nav.scrolled{background:rgba(255,255,255,.95);
	box-shadow:0 4px 14px rgba(0,0,0,.12)}
.nav-inner{
	max-width:1400px;margin:auto;
	display:flex;align-items:center;justify-content: flex-start;
	padding:1.4rem 5vw 1rem;
}


.nav-inner img {
	height: 42px;
	border-radius: 22.5%; /* or use var(--radius) if you prefer consistency */
}

.site-nav a{color:#0d1117}

.brand{display:flex;align-items:center;gap:.5rem;text-decoration:none}
.wordmark{
	font-family:'Rajdhani',system-ui,sans-serif;
	font-weight:700;font-size:1.45rem;letter-spacing:.02em;
	line-height:1;text-transform:uppercase;color:#0d1117;
	white-space:nowrap;user-select:none;
}
@media (min-width:1400px){.wordmark{font-size:1.7rem;}}

/* ─────────────────── HERO (crowd image) ————————— */
.hero{
	display:grid;gap:3rem;place-items:center;
	grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
	padding-top:calc(128px + 4vw);      /* nav + ticker space */
	padding-bottom:0;                   /* flush to baseline  */
	position:relative;color:#fff;
}
.hero::before{content:"";position:absolute;inset:0;
	background:url("/img/hero-1.jpg") center/cover no-repeat;z-index:-2}
.hero::after{content:"";position:absolute;inset:0;
	background:rgba(0,0,0,.55);z-index:-1}

.hero .copy{max-width:560px}
.hero .copy h1{
	font-size:clamp(2.3rem,5.4vw + .6rem,4.3rem);
	line-height:1.12;margin-bottom:1.25rem}
.highlight{color:var(--brand)}
.store-links{display:flex;gap:1rem;margin-top:2rem}

.mockup{
	width:clamp(280px,32vw,460px);      /* larger on wide screens */
	align-self:end;margin-bottom:-2px;  /* sits on baseline, trims halo */
	filter:drop-shadow(0 4px 24px rgba(0,0,0,.4));
	overflow:hidden;border-radius:var(--radius) var(--radius) 0 0;
}
.mockup img{width:100%;border-radius:0}

/* ─────────────────── FEATURES ————————————————— */
.features .card-grid{
	display:grid;gap:2rem;
	grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.card{
	position:relative;overflow:hidden;
	background:var(--surface);backdrop-filter:blur(var(--blur));
	border-radius:var(--radius);padding:2rem;
	transition:transform .25s,box-shadow .25s;
}
.card:hover{transform:translateY(-6px);
	box-shadow:0 8px 24px rgba(0,0,0,.35)}
.card::before{
	content:"";position:absolute;inset:0;
	background:linear-gradient(135deg,rgba(255,255,255,.12) 0%,transparent 60%);
	mix-blend-mode:overlay;pointer-events:none}
.card h3{margin-bottom:.6rem;font-size:1.25rem}
.card p{color:var(--text-soft)}

/* ─────────────────── HOW-IT-WORKS ——————————— */
.steps{
	counter-reset:step;
	max-width:850px;margin:0 auto;display:grid;gap:1.8rem;
}
.steps li{
	list-style:none;position:relative;padding-left:3rem;
	font-size:1.05rem;color:var(--text-soft);
}
.steps li::before{
	content:counter(step);counter-increment:step;
	position:absolute;left:0;top:0;width:34px;height:34px;
	border-radius:50%;background:var(--brand);color:#fff;font-weight:600;
	display:flex;align-items:center;justify-content:center}

/* ─────────────────── QUOTES ——————————————————— */
.quotes{display:grid;gap:2rem;text-align:center}
.quotes figure{
	background:var(--surface);backdrop-filter:blur(var(--blur));
	border-radius:var(--radius);padding:2rem}
.quotes blockquote{font-size:1.1rem;font-style:italic;margin-bottom:.8rem;color:var(--text)}
.quotes figcaption{color:var(--text-soft);font-size:.9rem}

/* ─────────────────── CTA ————————————————————— */
.cta{
	position:relative;text-align:center;color:#fff;overflow:hidden}
.cta::before{content:"";position:absolute;inset:0;
	background:url("/img/hero-1.jpg") center/cover no-repeat;z-index:-2}
.cta::after{content:"";position:absolute;inset:0;
	background:rgba(124,63,214,.80);z-index:-1}
.cta p{margin:1rem auto 2rem}
.cta .btn{background:#fff;color:var(--brand);font-weight:700}
.cta .btn:hover{background:#f5f5f5}

/* ─────────────────── FOOTER —————————————————— */
.site-footer{padding:3rem 5vw;text-align:center;
	font-size:.85rem;color:var(--text-soft)}
.site-footer nav{margin-top:.4rem;
	display:flex;gap:1.2rem;justify-content:center}
.site-footer a:hover{color:var(--text)}

/* ─────────────────── ACCESSIBILITY ——————————— */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
	overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ─────────────────── TICKER ——————————————————— */
#tickerBar{
	position:fixed;top:80px;left:0;width:100%;height:56px;
	background:#7c3fd6;color:#fff;border-bottom:1px solid rgba(0,0,0,.05);
	overflow:hidden;z-index:35;font-size:.875rem}
.ticker-inner{
	display:flex;align-items:center;height:100%;
	gap:2rem;padding-top:10px;line-height:1;
	animation:tickerScroll 40s linear infinite;white-space:nowrap}
	padding-top:0;   /* keep 0–2 px to fine-tune centring */
.ticker-item{display:flex;align-items:center;gap:.4rem}
.ticker-badge{
	font-size:.75rem;font-weight:700;padding:.25rem .6rem;border-radius:4px;
	text-transform:uppercase}
.badge-live{background:#7c3fd6;color:#fff}
.badge-sched{background:#AF96FF;color:#fff;font-weight:600}
#tickerBar:hover .ticker-inner{animation-play-state:paused}
@keyframes tickerScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ─────────────────── AMBIENT BLOBS ————————————— */
body::before,body::after{
	content:"";position:fixed;z-index:-1;width:480px;height:480px;
	border-radius:50%;filter:blur(140px);opacity:.35;
	pointer-events:none;transition:transform 15s linear}
body::before{
	background:radial-gradient(circle at 30% 30%,#7c40d6 0%,#7c40d6 20%,transparent 70%);
	top:-180px;left:-180px;animation:drift1 30s infinite alternate}
body::after{
	background:radial-gradient(circle at 70% 70%,#ff8f66 0%,transparent 70%);
	bottom:-180px;right:-180px;animation:drift2 34s infinite alternate}
@keyframes drift1{to{transform:translate(60px,80px) rotate(20deg)}}
@keyframes drift2{to{transform:translate(-60px,-60px) rotate(-15deg)}}

/* ───────── MOBILE (≤ 620 px) ───────── */
@media (max-width:620px){

  /* 1 ▸ hero fills viewport under nav + ticker */
  .hero{
	min-height:calc(100dvh - 122px);
	padding-top:calc(240px + 4vw);
	padding-bottom:3.5rem;
	display:flex;
	flex-direction:column;
	justify-content:center;
  }

  /* 2 ▸ stacked copy */
  .hero .copy{
	display:flex;
	flex-direction:column;
	gap:2.4rem;                 /* headline ⇣ lead ⇣ badge */
  }

  /* 2a ▸ headline size + line-height */
  .hero .copy h1{
	font-size:clamp(2.6rem, 8vw + .4rem, 3.4rem);
	line-height:1.15;
	margin-bottom:0;            /* gap handles the spacing */
  }

  /* 3 ▸ badge breathing-room */
  .store-links{
	margin:0 0 4.5rem !important;
  }

  /* 4 ▸ phone mock-up off on phones */
  .mockup{display:none !important;}
}

/* ─────────── “Tweener”  Desktop-to-Tablet (1025 – 1280 px) ─────────── */
@media (min-width:1025px) and (max-width:1280px){

	/* 1 ▸ headline: a touch smaller & looser (unchanged) */
	.hero .copy h1{
		font-size:clamp(1.9rem,3.8vw + .35rem,3.0rem);
		line-height:1.18;
		margin-bottom:0;                 /* flex-gap controls spacing   */
	}

	/* 2 ▸ body copy (unchanged) */
	.lead{
		font-size:1rem;
		max-width:40ch;
	}

	/* 3 ▸ ► HERE ◄  tighten vertical rhythm → increase gap */
	.hero .copy{
		display:flex;
		flex-direction:column;
		gap:2.25rem;                      /* was 2rem – add breathing-room */
	}

	/* 4 ▸ badge area breathing-room */
	.store-links{
		margin-top:0;                    /* gap handles top spacing      */
		margin-bottom:4.5rem;           /* was 3.8rem – pushes it down  */
	}

	/* 5 ▸ phone mock-up (unchanged) */
	.mockup{
		width:clamp(230px,26vw,360px);
	}
}

/* ─────────── TABLET  (≈ 621 – 1024 px)  ─────────── */
@media (min-width:621px) and (max-width:1024px){

	/* 1 ▸ hero still fills the viewport under nav + ticker (122 px) */
	.hero{
		min-height:calc(100dvh - 122px);
		padding-top:calc(220px + 3vw);   /* +30 px head-room            */
		padding-bottom:4.5rem;           /* nudges next section lower   */
		display:flex;flex-direction:column;justify-content:center;
	}

	/* 2 ▸ copy stack – let elements breathe a bit more */
	.hero .copy{
		display:flex;flex-direction:column;
		gap:2.6rem;                      /* headline ⇣ lead ⇣ badge     */
	}
	.hero .copy h1{
		font-size:clamp(2.1rem,4.5vw + .5rem,3.4rem);
		line-height:1.15;
		margin-bottom:0;                 /* gap is handled by flex row  */
	}
	.lead{font-size:1.10rem;}

	/* 3 ▸ App-Store badge – push it away from the text */
	.store-links{
		margin-top:0;                    /* controlled by flex gap      */
		margin-bottom:4.8rem;            /* extra air below badge       */
	}

	/* 4 ▸ hide the phone mock-up on tablet widths      */
	.mockup{display:none !important;}
}

/* ─────────────────── DESKTOP ZOOM-OUT (≥720 px) ——— */
@media (min-width:1025px){
	html{zoom:.9}                           /* Chrome / Safari / Edge */
	@supports not (zoom:1){                 /* Firefox fallback */
		body{transform:scale(.9);transform-origin:top left;
			width:calc(100% / .9);}
	}
}

/* ——— DESKTOP (≥ 1281 px) – tighten gap between WHY ↔ HOW ——— */
@media (min-width:1281px){

	/* trim a bit more off the bottom of the WHY section */
	.features{
		padding-bottom:3rem;       /* was 4rem */
	}

	/* trim a bit more off the top of the HOW section   */
	.how-it-works{
		padding-top:3rem;          /* was 4rem */
	}
}

/* ——— DESKTOP (≥ 1281 px) – tighten gaps ——— */
@media (min-width:1281px){

	/* 1 ▸ WHY ↔ HOW (already present) */
	.features     { padding-bottom:3rem; }   /* was 4rem */
	.how-it-works { padding-top: 3rem; }     /* was 4rem */

	/* 2 ▸ HOW ↔ TESTIMONIALS  ⬅️  NEW */
	.how-it-works { padding-bottom:3rem; }   /* was 6rem (default) */
	.quotes       { padding-top:   3rem; }   /* was 6rem (default) */
}

/* ─────────────────── LOGO ——————————————— */

.nav-inner {
	max-width: 1400px;
	margin: auto;
	display: flex;
	align-items: center;
	padding: 1.4rem 5vw 1rem;
}

/* ─────────────────── IMPROVED CONTENT PAGE STYLING ————————————— */
.content-page {
	width: 75%;
	max-width: 960px;
	box-sizing: border-box;
	margin: 160px auto 6rem;
	padding: 3rem clamp(1.5rem, 6vw, 4rem); /* responsive horizontal padding */
	background: #ffffff;
	color: #222;
	border-radius: var(--radius);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}

.content-page.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.content-page h1,
.content-page h2 {
	color: #111;              /* solid headline color */
	margin-bottom: 1.2rem;
	font-weight: 700;
}

.content-page p {
	margin-bottom: 1.6rem;
	color: #444;              /* slightly softened text */
	font-size: 1.1rem;
	line-height: 1.8;
}

.content-page a {
	color: var(--brand);
	text-decoration: underline;
}

.content-page ul,
.content-page ol {
	padding-left: 1.5rem;
	margin-bottom: 1.5rem;
	color: #444;
}

/* ─────────────────── CTA SPACING TWEAK ————————————— */
.cta {
	margin-top: 0; /* or remove the margin override entirely */
}

/* ─────────────────── LAUNCH BANNER ————————————— */

.launch-banner{
	background:#7c40d6;
	color:#fff;
	display:inline-block;
	font-size:.875rem;
	font-weight:600;
	padding:.3rem .8rem;
	border-radius:6px;
	letter-spacing:.02em;
	margin-bottom:1rem;
}

/* reuse your existing flex rules, just override alignment */
.store-links.center{
	justify-content:center;   /* horizontal centering */
	text-align:center;        /* fallback for non-flex children */
}

/* tighten space below the ticker on mobile */
@media (max-width: 640px) {
  #tickerBar { margin-bottom: 6px; }   /* or 0 if you want it flush */
  .hero { padding-top: 120px; }          /* reduce hero top pad on mobile */
}

/* prevent first-child top-margin from creating a gap */
.hero .copy > :first-child { margin-top: 0; }

/* banner specific rhythm */
.launch-banner { margin: 0 0 12px; display: inline-block; } /* inline-block also avoids margin-collapsing */