:root {
  --ink: #eef5f1;
  --muted: #9eafa8;
  --surface: rgba(19, 39, 34, 0.74);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #b7f568;
  --bg: #081512;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.ambient { position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.ambient-one { width: 540px; height: 540px; background: rgba(66, 182, 123, .12); top: -220px; left: -180px; }
.ambient-two { width: 450px; height: 450px; background: rgba(208, 245, 104, .08); right: -220px; top: 32%; }

.site-header, main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; position: relative; }
.site-header { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: #0b1814; background: var(--accent); border-radius: 12px; font: 800 13px/1 Manrope, sans-serif; letter-spacing: -.04em; transform: rotate(-4deg); }
.brand-name { font: 700 15px/1 Manrope, sans-serif; letter-spacing: -.02em; }
.profile-link { display: flex; align-items: center; gap: 9px; color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.profile-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.profile-link:hover { color: var(--accent); }
.install-button { display: flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 22px; padding: 8px 14px; color: var(--ink); background: rgba(255,255,255,.07); border: 1px solid var(--line); border-radius: 7px; font: 600 13px/1.2 inherit; cursor: pointer; }
.install-button[hidden] { display: none; }
.install-button:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.install-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.install-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero { padding: 90px 0 110px; max-width: 850px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .17em; margin-bottom: 24px; }
.eyebrow span { width: 26px; height: 1px; background: var(--accent); }
h1 { margin: 0; font: 800 clamp(54px, 8vw, 104px)/.95 Manrope, sans-serif; letter-spacing: -.07em; }
h1 em { color: var(--accent); font-style: normal; font-weight: 600; }
.hero-copy { color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; max-width: 630px; margin: 32px 0 0; }

.apps-section { padding-bottom: 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.section-heading h2 { font: 700 24px/1.2 Manrope, sans-serif; margin: 0; letter-spacing: -.03em; }
.section-heading p { color: var(--muted); font-size: 13px; margin: 0; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(183, 245, 104, .1); }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.app-card { min-height: 390px; display: flex; flex-direction: column; padding: 30px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); overflow: hidden; position: relative; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.app-card::before { content: ""; position: absolute; width: 240px; height: 240px; top: -130px; right: -100px; border-radius: 50%; background: var(--card-glow); filter: blur(15px); opacity: .25; transition: opacity .3s ease, transform .4s ease; }
.app-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); background: rgba(24, 48, 41, .9); }
.app-card:hover::before { opacity: .5; transform: scale(1.15); }
.app-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.card-dhanam { --card-glow: #b7f568; --card-color: #b7f568; }
.card-profile { --card-glow: #81b5ff; --card-color: #81b5ff; }
.card-learning { --card-glow: #d89dff; --card-color: #d89dff; }
.card-grocery { --card-glow: #ffb873; --card-color: #ffb873; }
.card-top { display: flex; justify-content: space-between; align-items: start; position: relative; }
.app-icon { width: 64px; height: 64px; display: grid; place-items: center; color: var(--card-color); background: color-mix(in srgb, var(--card-color) 12%, transparent); border: 1px solid color-mix(in srgb, var(--card-color) 24%, transparent); border-radius: 18px; }
.app-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow { width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; transition: color .25s ease, background .25s ease, transform .25s ease; }
.arrow svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-card:hover .arrow { color: #0b1814; background: var(--card-color); transform: rotate(4deg); }
.card-content { margin-top: 54px; position: relative; }
.card-tag { color: var(--card-color); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.card-content h3 { font: 700 28px/1.2 Manrope, sans-serif; letter-spacing: -.04em; margin: 9px 0 12px; }
.card-content p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 440px; margin: 0; }
.card-cta { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 25px; color: var(--ink); font-size: 13px; font-weight: 600; }
.card-cta svg { width: 17px; fill: none; stroke: var(--card-color); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.app-card:hover .card-cta svg { transform: translateX(4px); }

footer { min-height: 100px; border-top: 1px solid var(--line); color: #71837c; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
footer span { color: var(--accent); padding-left: 5px; }

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 32px, 1180px); }
  .site-header { height: 80px; }
  .profile-link span { display: none; }
  .install-button { margin-right: 12px; font-size: 0; padding: 9px; }
  .hero { padding: 68px 0 80px; }
  h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-copy { font-size: 16px; margin-top: 25px; }
  .section-heading { align-items: start; gap: 12px; flex-direction: column; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 360px; padding: 24px; border-radius: 20px; }
  .card-content { margin-top: 44px; }
  .apps-section { padding-bottom: 80px; }
  footer { padding: 28px 0; min-height: 120px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
