/*!
 * Landing Pack — App launch theme "Tidewell" (v1.0.0)
 * Made by Vortaxis Studio · https://vortaxis.com
 * Change the brand by editing the tokens in the first two blocks.
 */
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #f5f7fb;
  --bg-2: #eaf0f7;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --line: #dde4ef;
  --ink: #0b1324;
  --mute: #56607a;
  --accent: #0e9c87;
  --accent-2: #6d7bff;
  --accent-3: #f2795a;
  --accent-ink: #ffffff;
  --focus: #0e9c87;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 22px;
  --phone-bg: #0a1122;
}
[data-theme="dark"] {
  --bg: #060a13;
  --bg-2: #0a1020;
  --surface: #0e1527;
  --surface-2: #151e35;
  --line: #1f2a45;
  --ink: #eef3ff;
  --mute: #9aa6c4;
  --accent: #7ef0da;
  --accent-2: #8c98ff;
  --accent-3: #ff9d80;
  --accent-ink: #04121a;
  --focus: #7ef0da;
  --danger: #ff7a8a;
  --success: #6ff0b9;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 36px -14px rgba(0,0,0,.7);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,.85);
}
body { font-size: 18px; }
.grad { background: linear-gradient(95deg, var(--accent), var(--accent-2) 60%, var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { font-weight: 600; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.stars-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background-image: radial-gradient(1.2px 1.2px at 12% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 32% 70%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 58% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 76% 42%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 88% 82%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 46% 46%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 88%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 94% 12%, #fff 50%, transparent 51%);
  background-size: 640px 520px; animation: twinkle 6s ease-in-out infinite alternate; }
[data-theme="dark"] .stars-bg { opacity: .55; }
@keyframes twinkle { to { filter: brightness(.5); } }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; pointer-events: none;
  background: radial-gradient(50% 60% at 30% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(40% 50% at 80% 90%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.rating-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 15px; color: var(--mute); }
.rating-pill b { color: var(--ink); }
.rating-pill .stars svg { width: 15px; height: 15px; }
.hero-title { font-size: clamp(46px, 6.6vw, 86px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin-top: 24px; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--mute); max-width: 540px; margin-top: 24px; font-weight: 300; }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-btns.center { justify-content: center; margin-top: 26px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 19px; line-height: 1.1; transition: transform .2s, box-shadow .2s; }
.store-btn small { display: block; font-size: 12px; font-weight: 400; opacity: .75; }
.store-btn svg { width: 26px; height: 26px; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px var(--accent); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; }
.hero-meta b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.hero-meta span { font-size: 14px; color: var(--mute); }

.hero-visual { position: relative; height: 640px; }
.glow-orb { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent-2) 55%, transparent 72%); opacity: .35; filter: blur(30px); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.12); opacity: .5; } }

/* Phone */
.phone { position: absolute; width: 290px; height: 600px; border-radius: 48px; padding: 11px; background: linear-gradient(160deg, #2a3350, #0b1020); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #05080f; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; padding: 56px 18px 18px; color: #eaf0ff; font-size: 13px;
  background: radial-gradient(120% 60% at 50% 0%, #1b2a55 0%, var(--phone-bg) 60%); }
.s-status { position: absolute; top: 18px; left: 28px; right: 26px; display: flex; justify-content: space-between; font-weight: 600; font-size: 13px; }
.s-icons { width: 44px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, #eaf0ff 0 18px, transparent 18px 22px, #eaf0ff 22px 30px, transparent 30px 34px, #eaf0ff 34px); opacity: .85; margin-top: 4px; }
.s-hello { font-size: 15px; color: #a9b6d8; }
.s-title { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.phone--front { left: 50%; top: 10px; transform: translateX(-30%) rotate(3deg); z-index: 2; animation: floatA 7s ease-in-out infinite; }
.phone--back { left: 50%; top: 60px; transform: translateX(-108%) rotate(-7deg) scale(.9); opacity: .92; animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 50% { transform: translateX(-30%) rotate(3deg) translateY(-12px); } }
@keyframes floatB { 50% { transform: translateX(-108%) rotate(-7deg) scale(.9) translateY(10px); } }

.score { position: relative; width: 170px; height: 170px; margin: 16px auto 10px; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 10; }
.score .track { stroke: rgba(255,255,255,.08); }
.score .ring { stroke: #7ef0da; stroke-linecap: round; stroke-dasharray: 86 100; stroke-dashoffset: 86; animation: ring 1.8s .6s cubic-bezier(.3,.8,.3,1) forwards; filter: drop-shadow(0 0 8px rgba(126,240,218,.6)); }
@keyframes ring { to { stroke-dashoffset: 0; } }
html:not(.js-reveal) .score .ring { stroke-dashoffset: 0; animation: none; }
.score-n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-n b { font-size: 48px; font-weight: 700; line-height: 1; }
.score-n span { font-size: 12px; color: #a9b6d8; margin-top: 4px; }
.s-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.s-row span { display: block; font-size: 11px; color: #8f9cc0; }
.s-row b { font-size: 15px; }
.stages { margin-top: 14px; }
.stages p { font-size: 12px; color: #a9b6d8; margin-bottom: 8px; }
.hyp { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.hyp i { flex: 1; height: var(--h); border-radius: 5px; background: linear-gradient(180deg, #8c98ff, #7ef0da); opacity: .9; }
.hyp-l { display: flex; justify-content: space-between; font-size: 10px; color: #7d8ab0; margin-top: 6px; }
.tip-card { display: flex; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: rgba(126,240,218,.1); border: 1px solid rgba(126,240,218,.25); font-size: 12px; line-height: 1.4; }
.tip-card span { color: #7ef0da; }

.sound { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; margin-bottom: 8px; background: rgba(255,255,255,.04); }
.sound.active { background: rgba(126,240,218,.12); outline: 1px solid rgba(126,240,218,.3); }
.sound i { width: 44px; height: 44px; border-radius: 12px; flex: none; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.sound div { flex: 1; }
.sound b { display: block; font-size: 14px; }
.sound span { font-size: 11px; color: #8f9cc0; }
.sound em { font-style: normal; color: #7ef0da; }

.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: floatC 6s ease-in-out infinite; white-space: nowrap; }
.chip svg { width: 18px; height: 18px; color: var(--accent); }
.chip-1 { right: 0; top: 120px; }
.chip-2 { left: 4%; bottom: 60px; animation-delay: -3s; }
@keyframes floatC { 50% { transform: translateY(-10px); } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .store-btns, .hero-meta { justify-content: center; }
  .hero-visual { height: 620px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero-visual { height: 560px; }
  .phone--front { transform: translateX(-50%) rotate(2deg) scale(.9); transform-origin: top center; animation: none; }
  .phone--back { display: none; }
  .chip-1 { right: -4px; top: 70px; }
  .chip-2 { left: -4px; bottom: 30px; }
  .hero-meta { gap: 14px 24px; }
  .hero-meta b { font-size: 24px; }
}

/* Press logos (plain text so they are easy to swap for your own SVG/PNG logos) */
.press li { font-size: 22px; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.press .p1 { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; }
.press .p2 { font-weight: 600; letter-spacing: .14em; font-size: 19px; }
.press .p2 i { width: 18px; height: 18px; border-radius: 50%; background: currentColor; }
.press .p3 { font-weight: 800; letter-spacing: -.02em; }
.press .p3 i { width: 8px; height: 8px; background: currentColor; align-self: flex-start; }
.press .p4 { font-weight: 300; letter-spacing: .2em; font-size: 17px; }
.press .p4 b { font-weight: 700; letter-spacing: .05em; }
.press .p5 { font-family: Georgia, "Times New Roman", serif; }
.store-btn span { text-align: left; }

/* Features */
.feat-grid .card { background: color-mix(in srgb, var(--surface) 92%, transparent); transition: transform .3s, border-color .3s; }
.feat-grid .card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.f-icon.c2 { background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2); }
.f-icon.c3 { background: color-mix(in srgb, var(--accent-3) 16%, transparent); color: var(--accent-3); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-visual { position: relative; height: 620px; }
.split-visual::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 40px; background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 30%, transparent), color-mix(in srgb, var(--accent-2) 30%, transparent)); filter: blur(40px); opacity: .6; }
.phone--solo { left: 50%; top: 10px; transform: translateX(-50%); }
.clock { text-align: center; margin: 20px 0 16px; }
.clock b { font-size: 40px; font-weight: 700; letter-spacing: -.02em; }
.clock small { font-size: 26px; color: #7d8ab0; margin: 0 4px; }
.clock span { display: block; font-size: 12px; color: #8f9cc0; }
.dial { position: relative; height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); margin: 6px 4px 26px; }
.dial i { position: absolute; left: 30%; width: 34%; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #7ef0da, #8c98ff); box-shadow: 0 0 14px rgba(126,240,218,.5); }
.opt { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.tog { width: 42px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.15); position: relative; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.tog.on { background: #2fbfa5; }
.tog.on::after { left: 21px; }
.s-btn { margin-top: 26px; text-align: center; padding: 15px; border-radius: 18px; background: linear-gradient(90deg, #7ef0da, #8c98ff); color: #04121a; font-weight: 700; font-size: 15px; }
.ticks { display: grid; gap: 14px; margin: 28px 0 34px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-visual { order: 2; } }
@media (max-width: 560px) { .split-visual { height: 560px; } .phone--solo { transform: translateX(-50%) scale(.9); transform-origin: top center; } }

/* Pricing extras */
.when-y { display: none; }
.is-yearly .when-y { display: inline; }
.is-yearly .when-m { display: none; }
.plan--featured { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface)); }

/* CTA */
.cta-section { padding-top: 0; }
.cta-card { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 72px); border-radius: 36px; border: 1px solid var(--line);
  background: radial-gradient(80% 90% at 50% 120%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--accent-2) 28%, transparent), transparent 70%), var(--surface); }
.cta-card .h2 { max-width: 760px; margin: 0 auto; position: relative; }
.cta-card .lead { max-width: 560px; margin-inline: auto; position: relative; }
.cta-moon { position: absolute; right: 7%; top: 12%; width: 90px; height: 90px; border-radius: 50%; box-shadow: inset -22px -6px 0 0 color-mix(in srgb, var(--accent-3) 70%, #ffe1b8); opacity: .8; transform: rotate(-20deg); }
.cta-form { position: relative; max-width: 680px; margin: 34px auto 0; display: grid; gap: 14px; }
.cta-row { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 10px; }
.cta-form .check { justify-content: center; }
.cta-form .form-status { margin-top: 0; }
@media (max-width: 720px) { .cta-row { grid-template-columns: 1fr; } .cta-moon { width: 56px; height: 56px; right: 6%; top: 4%; box-shadow: inset -14px -4px 0 0 color-mix(in srgb, var(--accent-3) 70%, #ffe1b8); } .cta-form .check { text-align: left; justify-content: flex-start; } }
