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

:root {
  --bg: #09090b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --surface: #1c1c1f;
  --surface-2: #242428;
  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.14);
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #52525b;
  --accent: #6366f1;
  --accent-2: #818cf8;
  --accent-glow: rgba(99,102,241,.35);
  --green: #22c55e;
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 64px;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILS ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px; font-size: 15px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: all .22s cubic-bezier(.4,0,.2,1);
  white-space: nowrap; letter-spacing: -.01em;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 32px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.btn-nav {
  background: rgba(255,255,255,.08); color: var(--text);
  border: 1px solid var(--border-2); padding: 9px 20px; font-size: 14px;
}
.btn-nav:hover { background: rgba(255,255,255,.14); }
.btn-full { width: 100%; }

/* ── SECTION HEADERS ── */
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text-2); max-width: 480px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ── NAV ── */
.nav-wrapper {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav-wrapper.scrolled {
  background: rgba(9,9,11,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(99,102,241,.45);
  overflow: hidden; flex-shrink: 0;
}
.logo-mark svg { display: block; width: 36px; height: 36px; }
.logo-name { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  padding: 7px 14px; border-radius: 100px; font-size: 14px; font-weight: 500;
  color: var(--text-2); text-decoration: none; transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all .25s; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18; animation: drift 12s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px; top: -150px; left: -100px;
  background: radial-gradient(circle, #6366f1, #8b5cf6);
  animation-delay: 0s;
}
.blob-2 {
  width: 500px; height: 500px; top: 10%; right: -120px;
  background: radial-gradient(circle, #06b6d4, #6366f1);
  animation-delay: -4s;
}
.blob-3 {
  width: 400px; height: 400px; bottom: 5%; left: 40%;
  background: radial-gradient(circle, #8b5cf6, #ec4899);
  animation-delay: -8s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(.97); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 1; text-align: center;
  padding: 80px 0; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  background: rgba(255,255,255,.06); border: 1px solid var(--border-2);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 32px;
  animation: fadeDown .8s cubic-bezier(.4,0,.2,1) both;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.4; } }
@keyframes fadeDown { from { opacity:0; transform: translateY(-12px); } to { opacity:1; transform:none; } }

.hero-title {
  font-size: clamp(52px, 8vw, 96px); font-weight: 900;
  line-height: 1.02; letter-spacing: -.04em; margin-bottom: 24px;
  animation: fadeUp .8s .15s cubic-bezier(.4,0,.2,1) both;
}
.title-outline {
  -webkit-text-stroke: 2px rgba(255,255,255,.25);
  color: transparent;
  background: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-stroke: 0;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--text-2);
  max-width: 520px; margin: 0 auto 44px;
  animation: fadeUp .8s .25s cubic-bezier(.4,0,.2,1) both;
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 72px;
  animation: fadeUp .8s .35s cubic-bezier(.4,0,.2,1) both;
}
@keyframes fadeUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform:none; } }


.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 1;
  animation: fadeUp 1s .8s both;
}
.hero-scroll-hint span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--border-2), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:.4; transform: scaleY(1); } 50% { opacity:1; transform: scaleY(1.2); } }

/* ── APPS GRID ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s cubic-bezier(.4,0,.2,1), border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(99,102,241,.06), transparent 40%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.app-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.app-card:hover::before { opacity: 1; }

.app-card-top { display: flex; align-items: center; gap: 16px; }
.app-icon {
  width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0;
  background: var(--icon-bg, #333);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.app-meta { display: flex; flex-direction: column; gap: 4px; }
.app-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.app-category { font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; }
.app-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; flex: 1; }

.app-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.app-store-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: rgba(255,255,255,.08); border: 1px solid var(--border-2);
  padding: 8px 14px; border-radius: 100px; text-decoration: none;
  transition: all .2s;
}
.app-store-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); }
.app-links { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.app-link { font-size: 12px; color: var(--text-3); text-decoration: none; transition: color .2s; white-space: nowrap; }
.app-link:hover { color: var(--accent-2); }
.link-sep { color: var(--text-3); font-size: 12px; }

.app-card--single { max-width: 480px; margin: 0 auto; }
.app-icon--img { background: none; padding: 0; }
.app-icon--img img { width: 60px; height: 60px; border-radius: 14px; display: block; box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* ── MARQUEE ── */
.marquee-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 20px 0; }
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex; gap: 32px; white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-inner span { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: .02em; }
.marquee-inner .dot { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── ABOUT ── */
.about-section { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .section-title { text-align: left; }
.about-text p { color: var(--text-2); font-size: 16px; margin-bottom: 16px; }
.pillars { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(99,102,241,.15); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.pillar strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.pillar span { font-size: 14px; color: var(--text-2); }

/* phone mockup */
.about-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-frame {
  width: 240px; height: 480px;
  background: linear-gradient(160deg, #27272a, #1c1c1f);
  border-radius: 44px; padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; z-index: 1;
  animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 26px; background: #09090b; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; background: #111113; border-radius: 34px;
  padding: 44px 16px 20px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.phone-home {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: rgba(255,255,255,.3); border-radius: 2px;
}
.phone-glow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 80px;
  background: var(--accent); filter: blur(40px); opacity: .25; border-radius: 50%;
}
.ps-header { display: flex; align-items: center; gap: 10px; }
.ps-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #8b5cf6); flex-shrink: 0; }
.ps-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.ps-line { height: 7px; background: rgba(255,255,255,.1); border-radius: 4px; }
.ps-line--lg { width: 80%; }
.ps-line--sm { width: 50%; }
.ps-card { height: 90px; border-radius: 16px; flex-shrink: 0; }
.ps-card--blue { background: linear-gradient(135deg, rgba(99,102,241,.5), rgba(139,92,246,.3)); border: 1px solid rgba(99,102,241,.3); }
.ps-row { display: flex; gap: 10px; }
.ps-mini { height: 64px; flex: 1; border-radius: 12px; }
.ps-mini--purple { background: rgba(139,92,246,.25); border: 1px solid rgba(139,92,246,.2); }
.ps-mini--green { background: rgba(34,197,94,.2); border: 1px solid rgba(34,197,94,.15); }
.ps-list { display: flex; flex-direction: column; gap: 8px; }
.ps-item { height: 8px; background: rgba(255,255,255,.07); border-radius: 4px; }
.ps-item:nth-child(2) { width: 75%; }
.ps-item:nth-child(3) { width: 55%; }

/* ── CONTACT ── */
.contact-section { background: var(--bg); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-left .section-title { text-align: left; }
.contact-left p { color: var(--text-2); font-size: 16px; margin-bottom: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-item { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 14px; }
.info-item svg { color: var(--accent-2); flex-shrink: 0; }

.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-group input, .form-group textarea {
  padding: 12px 16px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.18);
}

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 14px; color: var(--text-3); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-copy, .footer-tagline { font-size: 13px; color: var(--text-3); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links, .nav > .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(9,9,11,.97); backdrop-filter: blur(20px);
    padding: 16px 24px 28px; border-bottom: 1px solid var(--border);
  }
  .nav-links.open li a { padding: 14px 12px; font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .apps-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
}
