/* Nexus World — site stylesheet (no build step) */
:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-2: #eef6f3;
  --text: #13201c;
  --muted: #55665f;
  --line: #dde8e4;
  --brand: #00a88a;
  --brand-dark: #00796b;
  --brand-light: #00e676;
  --violet: #5b5cf6;
  --grad: linear-gradient(135deg, #00e676 0%, #00a88a 50%, #00796b 100%);
  --grad-wide: linear-gradient(120deg, #00e676 0%, #00a88a 40%, #5b5cf6 100%);
  --shadow: 0 10px 30px -12px rgba(0, 60, 50, .25);
  --radius: 20px;
  --max: 1120px;
  --c-green: #e3f8ee;  --c-green-t: #0b7a52;
  --c-blue: #e5efff;   --c-blue-t: #2457c5;
  --c-violet: #eeeaff; --c-violet-t: #5a3fd6;
  --c-orange: #fff1e2; --c-orange-t: #b45a00;
  --c-pink: #ffe8ef;   --c-pink-t: #b8285a;
  --c-yellow: #fff8d9; --c-yellow-t: #8a6a00;
  --c-teal: #e0f6f6;   --c-teal-t: #0c7575;
  --c-red: #ffe9e7;    --c-red-t: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1513;
    --surface: #15201d;
    --surface-2: #1b2925;
    --text: #e8f1ee;
    --muted: #9db0a9;
    --line: #26352f;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    --c-green: #143428;  --c-green-t: #6fe3ae;
    --c-blue: #17253f;   --c-blue-t: #8fb4ff;
    --c-violet: #241f45; --c-violet-t: #b8a8ff;
    --c-orange: #3a2714; --c-orange-t: #ffbe7a;
    --c-pink: #3c1a26;   --c-pink-t: #ff9cbc;
    --c-yellow: #352d10; --c-yellow-t: #f5d66b;
    --c-teal: #12302f;   --c-teal-t: #79dcdc;
    --c-red: #3a1a18;    --c-red-t: #ffa49c;
  }
}

/* language switching: elements carry data-l="tr" or data-l="en" */
html[lang="tr"] [data-l="en"],
html[lang="en"] [data-l="tr"] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad-wide); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface-2); }
.lang-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer;
  display: inline-flex; gap: 6px; align-items: center;
}
.lang-btn:hover { border-color: var(--brand); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--text); cursor: pointer; padding: 4px 8px; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; padding: 12px 16px 18px;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-links .lang-btn { align-self: flex-start; margin-top: 6px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 13px 22px; border-radius: 14px; font-weight: 800; font-size: 1rem;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 168, 138, .7); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; z-index: -1;
}
.hero::before { width: 420px; height: 420px; background: #00e676; top: -120px; right: -80px; }
.hero::after { width: 360px; height: 360px; background: #5b5cf6; bottom: -160px; left: -100px; opacity: .2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--c-green); color: var(--c-green-t); font-weight: 800; font-size: .88rem; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px;
  box-shadow: var(--shadow); position: relative;
}
.hero-card .emoji-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.emoji-tile {
  aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; font-size: 2.1rem;
}
@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* sections */
section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 8px; display: block; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.alt .card { background: var(--bg); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 14px;
}
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.card ul li { margin: 4px 0; }

.bg-green { background: var(--c-green); color: var(--c-green-t); }
.bg-blue { background: var(--c-blue); color: var(--c-blue-t); }
.bg-violet { background: var(--c-violet); color: var(--c-violet-t); }
.bg-orange { background: var(--c-orange); color: var(--c-orange-t); }
.bg-pink { background: var(--c-pink); color: var(--c-pink-t); }
.bg-yellow { background: var(--c-yellow); color: var(--c-yellow-t); }
.bg-teal { background: var(--c-teal); color: var(--c-teal-t); }
.bg-red { background: var(--c-red); color: var(--c-red-t); }

/* product spotlight */
.spotlight {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--grad); color: #fff; border-radius: 28px; padding: 36px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.spotlight::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); right: -80px; top: -120px;
}
.spotlight img.app-icon { width: 110px; height: 110px; border-radius: 26px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.spotlight h3 { font-size: 1.7rem; margin-bottom: 6px; }
.spotlight p { opacity: .95; margin: 0; }
.spotlight .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.spotlight .tags span { background: rgba(255, 255, 255, .18); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.spotlight .btn { background: #fff; color: var(--brand-dark); position: relative; z-index: 1; }
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; text-align: left; padding: 28px; }
}

/* product page */
.product-hero { padding: 56px 0; }
.product-hero .app-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.product-hero .app-head img { width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--shadow); }
.product-hero .app-head h1 { margin: 0; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.badge-soon {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px;
  background: #111; color: #fff; font-weight: 800; text-decoration: none;
}
@media (prefers-color-scheme: dark) { .badge-soon { background: #fff; color: #111; } }
.badge-soon small { display: block; font-weight: 600; opacity: .75; font-size: .75rem; line-height: 1.1; }
.badge-soon .pl { font-size: 1.6rem; }
.highlights { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.highlights span { padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: .9rem; }

.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 16px;
  overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots img { border-radius: 22px; box-shadow: var(--shadow); scroll-snap-align: start; border: 1px solid var(--line); }
@media (max-width: 600px) { .shots { grid-auto-columns: 70%; } }

/* pricing */
.price-card { text-align: left; position: relative; }
.price-card.featured { border: 2px solid var(--brand); }
.price-card .tag {
  position: absolute; top: -13px; right: 18px; background: var(--grad); color: #fff; font-weight: 800;
  font-size: .8rem; padding: 4px 12px; border-radius: 999px;
}
.price { font-size: 2.1rem; font-weight: 900; margin: 6px 0 2px; color: var(--text); }
.price small { font-size: 1rem; font-weight: 700; color: var(--muted); }

/* security strip */
.secure {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.secure div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: center; font-weight: 700; }
.secure div b { display: block; font-size: 1.8rem; margin-bottom: 4px; }
@media (max-width: 760px) { .secure { grid-template-columns: repeat(2, 1fr); } }

/* contact */
.contact-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch;
}
@media (max-width: 760px) { .contact-box { grid-template-columns: 1fr; } }
.mail-link { font-size: 1.15rem; font-weight: 800; word-break: break-all; }

/* legal / policy pages */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 20px 64px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2em; color: var(--brand-dark); }
@media (prefers-color-scheme: dark) { .doc h2 { color: var(--brand-light); } }
.doc .summary { background: var(--c-green); color: var(--c-green-t); border-radius: 16px; padding: 16px 20px; font-weight: 700; }
.doc .meta { color: var(--muted); }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* footer */
.site-footer { background: #0b1a16; color: #c9d8d3; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #e7f3ef; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 6px 0; }
.foot-brand { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
.foot-brand img { width: 34px; height: 34px; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #93a9a2; line-height: 1.7; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { text-align: center; padding: 120px 20px; }
.notfound .big { font-size: 5rem; }

/* ---------- projects (scalable list) ---------- */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.project-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  transition: transform .18s, box-shadow .18s;
}
.alt .project-card { background: var(--bg); }
a.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card .cover { aspect-ratio: 1024 / 500; object-fit: cover; width: 100%; height: auto; background: var(--grad); }
.project-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card .head { display: flex; gap: 12px; align-items: center; }
.project-card .head img { width: 48px; height: 48px; border-radius: 13px; }
.project-card h3 { margin: 0; font-size: 1.25rem; }
.project-card .kind { color: var(--muted); font-size: .9rem; font-weight: 700; }
.project-card p { color: var(--muted); margin: 0; }
.project-card .more { margin-top: auto; font-weight: 800; color: var(--brand); }
.status { align-self: flex-start; font-size: .8rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; }
.project-card.placeholder {
  border: 2px dashed var(--line); background: transparent; align-items: center; justify-content: center;
  text-align: center; padding: 36px 24px; min-height: 280px;
}
.project-card.placeholder .big { font-size: 3rem; margin-bottom: 8px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.about-grid p { color: var(--muted); font-size: 1.08rem; }
.facts { display: grid; gap: 12px; }
.fact { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-weight: 700; }
.alt .fact { background: var(--bg); }
.fact .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; flex: none; }
.fact small { display: block; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }
