:root {
  --bg: #0a0c0b;
  --surface: #111412;
  --surface-2: #171b18;
  --ink: #f3f6f3;
  --muted: #979e98;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #c7ff3e;
  --accent-dark: #8dbd18;
  --radius: 26px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 4%, rgba(173, 238, 50, .08), transparent 24rem),
    var(--bg);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: repeating-radial-gradient(circle at 30% 20%, rgba(255,255,255,.5) 0 .35px, transparent .45px 3px);
  z-index: 20;
  mix-blend-mode: soft-light;
}
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--accent); color: #111; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.site-header, footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { height: 96px; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: Manrope, sans-serif; text-decoration: none; font-size: 1.05rem; font-weight: 800; letter-spacing: -.04em; }
.brand b { color: var(--muted); font-weight: 600; }
.brand-mark { width: 29px; height: 29px; display: flex; align-items: end; gap: 3px; transform: skew(-8deg); }
.brand-mark i { display: block; width: 7px; background: var(--accent); border-radius: 2px; }
.brand-mark i:nth-child(1) { height: 14px; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 28px; }
nav { display: flex; gap: 2rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
nav a:hover { color: var(--ink); }
.header-cta { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .82rem; transition: background .2s, border-color .2s; }
.header-cta:hover { background: var(--accent); border-color: var(--accent); color: #111; }

.hero { width: min(calc(100% - 48px), var(--max)); min-height: calc(100vh - 96px); margin: auto; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; position: relative; padding: 6rem 0 8rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
.eyebrow span { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 18px var(--accent); }
h1, h2 { margin: 1.4rem 0 1.5rem; font-family: Manrope, sans-serif; font-weight: 700; line-height: .94; letter-spacing: -.07em; }
h1 { font-size: clamp(4rem, 7.6vw, 7.4rem); }
h2 { font-size: clamp(3rem, 5.3vw, 5.5rem); }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 590px; color: #aab1ab; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; gap: .8rem; margin-top: 2.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 2rem; padding: 1rem 1.2rem; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .92rem; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); color: #111; }
.button-ghost { border: 1px solid var(--line); color: #c7cbc8; }
.hero-visual { height: 560px; position: relative; perspective: 1000px; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 340px; height: 340px; top: 20%; left: 22%; background: radial-gradient(circle at 35% 30%, #e6ffad, var(--accent-dark) 38%, #25310c 70%); box-shadow: 0 0 100px rgba(199, 255, 62, .2); animation: breathe 5s ease-in-out infinite; }
.orb-two { width: 90px; height: 90px; right: 2%; top: 8%; border: 1px solid rgba(199,255,62,.35); }
.phone-card { position: absolute; width: 230px; height: 410px; border-radius: 36px; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.phone-card-front { left: 33%; top: 13%; padding: 1.6rem; background: linear-gradient(150deg, rgba(32,37,33,.96), rgba(12,15,13,.98)); transform: rotate(8deg); animation: float 6s ease-in-out infinite; }
.phone-card-back { left: 18%; top: 22%; background: #141714; transform: rotate(-10deg); opacity: .65; }
.phone-card-back div { margin: 2rem; height: 45%; border-radius: 20px; background: linear-gradient(140deg, #263113, #151914); }
.phone-card-back span { display: block; height: 7px; margin: 1rem 2rem; background: #282c29; border-radius: 9px; }
.phone-card-back span:last-child { width: 45%; }
.phone-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.mini-mark { width: 20px; height: 20px; border-radius: 6px; background: var(--accent); box-shadow: inset -5px -5px 0 rgba(0,0,0,.15); }
.phone-pulse { height: 130px; display: flex; align-items: end; gap: 8px; padding: 1.8rem 0; }
.phone-pulse i { flex: 1; background: var(--accent); border-radius: 999px; opacity: .9; animation: bars 2s ease-in-out infinite; }
.phone-pulse i:nth-child(1) { height: 35%; animation-delay: -.3s; }
.phone-pulse i:nth-child(2) { height: 80%; animation-delay: -.7s; }
.phone-pulse i:nth-child(3) { height: 55%; animation-delay: -1.1s; }
.phone-card strong { font: 700 1.9rem/1.06 Manrope, sans-serif; letter-spacing: -.05em; }
.phone-line { height: 7px; width: 55%; border-radius: 9px; background: #343936; margin-top: 2rem; }
.floating-chip { position: absolute; padding: .75rem 1rem; border-radius: 999px; background: rgba(20,24,21,.88); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: .78rem; box-shadow: 0 14px 30px rgba(0,0,0,.3); animation: float 5s ease-in-out infinite; }
.chip-one { left: 8%; top: 17%; }
.chip-two { right: 3%; bottom: 21%; animation-delay: -2s; }
.hero-scroll { position: absolute; bottom: 2.2rem; left: 0; display: flex; align-items: center; gap: .7rem; color: #646b65; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-scroll span { display: block; width: 38px; height: 1px; background: #4d534e; }

.apps-section { padding: 8rem max(24px, calc((100vw - var(--max)) / 2)); background: #f1f3ee; color: #121512; border-radius: 48px 48px 0 0; }
.apps-section .eyebrow { color: #70766f; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: #666d66; max-width: 430px; line-height: 1.65; padding-bottom: .7rem; }
.search-wrap { position: relative; margin: 4.5rem 0 1.2rem; }
.search-wrap label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-wrap > span { position: absolute; left: 1.4rem; top: 50%; transform: translateY(-52%); font-size: 2rem; color: #7b827b; }
.search-wrap input { width: 100%; padding: 1.35rem 5rem 1.35rem 4rem; border: 1px solid #d7dbd4; border-radius: 16px; outline: none; color: #111; background: rgba(255,255,255,.8); font-size: 1rem; transition: border .2s, box-shadow .2s; }
.search-wrap input:focus { border-color: #91bb29; box-shadow: 0 0 0 4px rgba(163,213,43,.15); }
.search-wrap kbd { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: #ecefe9; color: #858b84; border: 1px solid #d7dbd4; border-radius: 7px; padding: .35rem .5rem; font: 600 .72rem "DM Sans"; }
.catalog-meta { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.catalog-meta p { color: #6a716a; font-size: .84rem; }
.filter-pills { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.filter-pills button { border: 1px solid #d2d7cf; color: #60675f; background: transparent; border-radius: 999px; padding: .5rem .8rem; cursor: pointer; font-size: .76rem; }
.filter-pills button[aria-pressed="true"] { background: #151815; color: white; border-color: #151815; }
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.app-card { min-width: 0; position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.35rem; overflow: hidden; border: 1px solid #dce0d9; border-radius: var(--radius); background: rgba(255,255,255,.7); cursor: pointer; text-align: left; color: #121512; transition: transform .3s, box-shadow .3s, border-color .3s; }
.app-card:hover { transform: translateY(-7px); border-color: #b4c38e; box-shadow: 0 24px 45px rgba(39,48,29,.09); }
.app-card::after { content: "↗"; position: absolute; right: 1.2rem; top: 1.2rem; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #dce0d9; border-radius: 50%; background: #fff; transition: background .2s, transform .2s; }
.app-card:hover::after { background: var(--accent); transform: rotate(10deg); }
.app-icon { width: 96px; height: 96px; object-fit: cover; border-radius: 23px; box-shadow: 0 13px 27px rgba(0,0,0,.13); }
.app-card-copy { margin-top: 3rem; }
.app-category { color: #7b827a; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.app-card h3 { margin: .7rem 0 .65rem; font: 700 1.55rem/1.08 Manrope, sans-serif; letter-spacing: -.04em; }
.app-card p { margin: 0; color: #686f68; line-height: 1.5; font-size: .9rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.app-rating { margin-top: 1.2rem; display: flex; align-items: center; gap: .45rem; font-size: .78rem; color: #646a63; }
.app-rating span { color: #7ba711; }
.empty-state { text-align: center; padding: 5rem 1rem; }
.empty-state > span { font-size: 3rem; color: #8c928b; }
.empty-state h3 { font: 700 1.5rem Manrope; }
.empty-state p { color: #737a73; }

.about { padding: 8rem max(24px, calc((100vw - var(--max)) / 2)); }
.about-card { min-height: 580px; position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 5rem; padding: 4rem; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(135deg, #151916, #0d100e); }
.about-number { color: var(--accent); font: 800 clamp(5rem, 11vw, 10rem) Manrope; letter-spacing: -.09em; opacity: .95; transform: rotate(-90deg); white-space: nowrap; }
.about-number span { font-size: .9rem; vertical-align: top; letter-spacing: 0; }
.about-copy { position: relative; z-index: 1; }
.about-copy h2 { font-size: clamp(3rem, 5vw, 5rem); }
.about-copy > p:not(.eyebrow) { color: #969d97; max-width: 600px; line-height: 1.7; }
.about-copy > a { display: inline-flex; gap: 2rem; color: var(--accent); margin-top: 1.5rem; text-decoration: none; font-weight: 700; }
.about-values { position: absolute; bottom: 2rem; left: 2rem; display: flex; gap: .6rem; }
.about-values div { width: 92px; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; }
.about-values strong { color: var(--accent); display: block; font-size: .7rem; }
.about-values span { color: #8e958f; font-size: .75rem; }
.contact { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 8rem 0 9rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
.contact-intro { position: sticky; top: 3rem; }
.contact-intro h2 { font-size: clamp(3rem, 5vw, 5rem); }
.contact-intro > p:not(.eyebrow) { max-width: 480px; color: #929a93; line-height: 1.7; }
.contact-intro > a { display: inline-flex; gap: 1.5rem; margin-top: 1rem; color: var(--accent); text-decoration: none; font-weight: 700; }
.contact-form { padding: 2.1rem; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, #151916, #0f120f); }
.contact-form fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
.contact-form legend, .contact-form > label, .form-row label { display: block; margin-bottom: .7rem; color: #c2c8c3; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.subject-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .9rem; }
.subject-options input { position: absolute; opacity: 0; pointer-events: none; }
.subject-options span { display: flex; align-items: center; gap: .7rem; padding: 1rem; color: #929a93; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border .2s, background .2s, color .2s; }
.subject-options b { color: #59605a; font-size: .65rem; }
.subject-options input:checked + span { color: #111; border-color: var(--accent); background: var(--accent); }
.subject-options input:checked + span b { color: #526b13; }
.subject-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input:not([type="radio"]), .contact-form textarea { width: 100%; margin-top: .55rem; padding: 1rem; color: var(--ink); border: 1px solid #303631; border-radius: 12px; outline: none; background: #0b0e0c; resize: vertical; transition: border .2s, box-shadow .2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #626963; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 4px rgba(199,255,62,.08); }
.contact-form small { color: #687069; font-weight: 400; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.5rem; }
.form-footer p { max-width: 290px; margin: 0; color: #6f7770; font-size: .73rem; line-height: 1.5; }
.form-footer button { border: 0; cursor: pointer; white-space: nowrap; }
.form-footer button:disabled { opacity: .55; cursor: wait; transform: none; }
.form-status { min-height: 1.3rem; margin: 1.2rem 0 0; color: #a8afa9; font-size: .85rem; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #ff998c; }
footer { min-height: 150px; border-top: 1px solid var(--line); color: #7e857f; font-size: .78rem; }

.app-dialog { width: min(960px, calc(100% - 24px)); max-height: min(90vh, 900px); padding: 0; overflow: auto; color: var(--ink); background: #121512; border: 1px solid #333a34; border-radius: 28px; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.app-dialog::backdrop { background: rgba(2,3,2,.78); backdrop-filter: blur(10px); }
.dialog-close { position: sticky; float: right; top: 1rem; right: 1rem; z-index: 5; width: 42px; height: 42px; margin: 1rem; border: 1px solid var(--line); border-radius: 50%; background: rgba(22,26,23,.9); color: white; cursor: pointer; font-size: 1.6rem; }
.dialog-hero { padding: 3.2rem 3.2rem 2rem; display: flex; gap: 1.5rem; align-items: center; }
.dialog-hero img { width: 110px; height: 110px; border-radius: 25px; }
.dialog-hero h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: .5rem 0; }
.dialog-hero p { margin: 0; color: #8f9790; }
.dialog-body { padding: 0 3.2rem 3.2rem; }
.dialog-gallery { display: flex; gap: .8rem; overflow-x: auto; padding: 1rem 0 2rem; scrollbar-color: var(--accent) #222; }
.dialog-gallery img { height: 330px; width: auto; max-width: 80%; object-fit: cover; border-radius: 16px; flex: 0 0 auto; background: #202420; }
.dialog-description { max-width: 760px; color: #adb4ae; white-space: pre-line; line-height: 1.75; }
.dialog-store { display: inline-flex; gap: 1.5rem; margin-top: 2rem; padding: 1rem 1.2rem; background: var(--accent); color: #111; border-radius: 12px; text-decoration: none; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-14px); } }
@keyframes breathe { 50% { transform: scale(1.05); filter: saturate(1.15); } }
@keyframes bars { 50% { height: 65%; } }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-visual { height: 490px; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: start; flex-direction: column; }
  .about-card { grid-template-columns: 1fr; padding: 3rem; }
  .about-number { position: absolute; right: -1rem; top: 1rem; transform: rotate(0); opacity: .06; }
  .about-values { position: static; margin-top: 1rem; }
  .contact { grid-template-columns: 1fr; gap: 3rem; }
  .contact-intro { position: static; }
}
@media (max-width: 600px) {
  .site-header, footer, .hero { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 82px; }
  .header-cta { font-size: 0; padding: .7rem; }
  .header-cta span { font-size: 1rem; }
  h1 { font-size: clamp(3.4rem, 16vw, 5rem); }
  .hero { min-height: auto; padding-bottom: 6rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-visual { height: 410px; margin-top: 2rem; transform: scale(.88); transform-origin: center; }
  .phone-card-front { left: 26%; }
  .phone-card-back { left: 7%; }
  .hero-scroll { display: none; }
  .apps-section, .about, .contact { padding-block: 5rem; }
  .apps-section { border-radius: 30px 30px 0 0; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 340px; }
  .catalog-meta { align-items: flex-start; flex-direction: column; }
  .filter-pills { justify-content: flex-start; }
  .about-card { padding: 2rem; }
  .about-values { flex-wrap: wrap; }
  .contact { width: min(calc(100% - 32px), var(--max)); }
  .contact-form { padding: 1.2rem; }
  .subject-options, .form-row { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  footer { min-height: 190px; align-items: flex-start; justify-content: center; flex-direction: column; gap: .5rem; }
  .dialog-hero { padding: 3.5rem 1.3rem 1.5rem; align-items: flex-start; }
  .dialog-hero img { width: 80px; height: 80px; border-radius: 19px; }
  .dialog-body { padding: 0 1.3rem 2rem; }
  .dialog-gallery img { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
