/* Tapis Apps - tanitim sitesi. Sakai landing gorunumunun (sakai-ng/src/app/pages/landing) elle yazilmis,
   bagimliliksiz CSS karsiligi. Tailwind/PrimeNG yok; renkler ve olculer degiskenlerle. */
:root {
  --p-50: #f5fcff; --p-100: #e7f7fe; --p-200: #c7edfd; --p-300: #a3e1fc; --p-400: #70cffa; --p-500: #38bdf8;
  --p-600: #31a6da; --p-700: #298cb8; --p-800: #227195; --p-900: #1a5772; --p-950: #123c4f;
  --primary: var(--p-500);
  --surface-0: #ffffff;
  --surface-50: #f8fafc;
  --surface-100: #f1f5f9;
  --surface-200: #e2e8f0;
  --surface-300: #cbd5e1;
  --surface-600: #475569;
  --surface-700: #334155;
  --surface-900: #0f172a;
  --muted: #64748b;
  --radius: 10px;
  --radius-inner: 8px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --gutter-x: clamp(1rem, 4vw, 1.5rem);
  --wrap: 80rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--surface-900); background: var(--surface-0); }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
.brand img, .footer .brand img { height: 2.5rem; }
.grid > *, .hl-row > *, .trust-grid > *, .footer-grid > *, .contact-cards > * { min-width: 0; }
.doc, .hl-text, .card, .trust-item, .footer { overflow-wrap: anywhere; }
h1, h2, h3, h4, h5, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--p-800); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--p-700); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible { outline-color: var(--p-900); }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface-900); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.ic { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- Duzen ---- */
.landing-wrapper { overflow: hidden; }
.section { padding: 1.5rem var(--gutter-x); }
.container { max-width: var(--wrap); margin-inline: auto; }
.center { text-align: center; }
.section-title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem); line-height: 1.2; font-weight: 400; margin-bottom: .5rem; color: var(--surface-900); }
.section-sub { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); color: var(--muted); line-height: 1.4; }

/* ---- Topbar ---- */
.topbar { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem var(--gutter-x); max-width: var(--wrap); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--surface-900); font-weight: 500; font-size: 1.5rem; line-height: 1.5; }
.brand:hover { text-decoration: none; }
.brand img { display: block; height: 2.5rem; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: transparent; color: var(--surface-700); cursor: pointer; }
.nav-toggle:hover { background: var(--surface-100); }
.nav-toggle .ic { width: 1.75rem; height: 1.75rem; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--surface-0); padding: 1rem 3rem 1.25rem; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15, 23, 42, .12); flex-direction: column; gap: 1rem; }
.nav.open, .no-js .nav { display: flex; }
.no-js .nav-toggle { display: none; }
.nav ul { display: flex; flex-direction: column; gap: .25rem; }
.nav a.link { display: block; white-space: nowrap; padding: .6rem 0; color: var(--surface-900); font-weight: 500; font-size: 1.125rem; }
.nav-cta .btn { white-space: nowrap; }
.nav-cta { display: flex; gap: .5rem; border-top: 1px solid var(--surface-200); padding-top: 1rem; }

/* ---- Dugmeler ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid var(--primary); background: var(--primary); color: var(--p-950); font: inherit; font-weight: 600; padding: .65rem 1.4rem; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--p-400); border-color: var(--p-400); text-decoration: none; }
.btn-text { background: transparent; border-color: transparent; color: var(--p-800); }
.btn-text:hover { background: var(--surface-100); border-color: transparent; }
.btn-outline { background: transparent; border-color: var(--p-900); color: var(--p-900); }
.btn-outline:hover { background: var(--p-900); color: #fff; border-color: var(--p-900); }
.btn-lg { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); padding: .8rem clamp(1.25rem, 5vw, 2rem); }
.btn { text-align: center; }

/* ---- Hero ---- */
.hero { display: flex; flex-direction: column; padding: 1.5rem var(--gutter-x) 0; overflow: hidden;
  background: linear-gradient(0deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)), radial-gradient(77.36% 256.97% at 77.36% 57.52%, var(--p-100) 0%, var(--p-300) 100%);
  clip-path: ellipse(150% 87% at 93% 13%); }
.hero-inner { max-width: var(--wrap); margin-inline: auto; width: 100%; }
.hero-copy { margin: 0 .5rem; }
.hero h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 2.75rem); line-height: 1.1; font-weight: 700; color: var(--surface-900); }
.hero h1 span { display: block; font-weight: 300; }
.hero p.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.5; color: var(--surface-700); margin-top: 1rem; max-width: 46rem; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-art { display: flex; justify-content: center; margin-top: 2rem; }
.hero.small { clip-path: ellipse(160% 100% at 93% 0%); padding-bottom: 3rem; }
.hero.small h1 { font-size: 2.25rem; }

/* Hero'daki uygulama penceresi (dekoratif) */
.mock { width: min(100%, 38rem); background: var(--surface-0); border-radius: 14px 14px 0 0; box-shadow: 0 20px 50px rgba(18, 60, 79, .25); overflow: hidden; border: 1px solid rgba(15, 23, 42, .06); border-bottom: 0; }
.mock-bar { display: flex; gap: .4rem; padding: .7rem .9rem; background: var(--surface-100); }
.mock-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--surface-300); }
.mock-body { display: grid; grid-template-columns: 7rem 1fr; min-height: 15rem; }
.mock-side { background: var(--p-950); padding: .9rem .7rem; display: flex; flex-direction: column; gap: .55rem; }
.mock-side b { height: .5rem; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.mock-side b.on { background: var(--primary); }
.mock-main { padding: 1rem; display: flex; flex-direction: column; gap: .8rem; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock-cards div { height: 3.2rem; border-radius: 8px; background: var(--surface-100); border: 1px solid var(--surface-200); }
.mock-cards div:first-child { background: var(--p-100); border-color: var(--p-300); }
.mock-rows { display: flex; flex-direction: column; gap: .5rem; }
.mock-rows b { height: .7rem; border-radius: 4px; background: var(--surface-200); }
.mock-rows b:nth-child(2) { width: 82%; } .mock-rows b:nth-child(3) { width: 68%; } .mock-rows b:nth-child(4) { width: 90%; } .mock-rows b:nth-child(5) { width: 55%; }

/* ---- Kartlar (Sakai features) ---- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grad-card { padding: 2px; border-radius: var(--radius); background: linear-gradient(90deg, rgba(163, 225, 252, .35), rgba(199, 237, 253, .2)), linear-gradient(180deg, rgba(112, 207, 250, .25), rgba(231, 247, 254, .2)); }
.grad-card.g2 { background: linear-gradient(90deg, rgba(112, 207, 250, .3), rgba(231, 247, 254, .2)), linear-gradient(180deg, rgba(163, 225, 252, .3), rgba(41, 140, 184, .15)); }
.grad-card.g3 { background: linear-gradient(90deg, rgba(199, 237, 253, .3), rgba(56, 189, 248, .25)), linear-gradient(180deg, rgba(34, 113, 149, .15), rgba(163, 225, 252, .25)); }
.grad-card.g4, .grad-card.g5, .grad-card.g6 { background: linear-gradient(90deg, rgba(56, 189, 248, .25), rgba(231, 247, 254, .25)), linear-gradient(180deg, rgba(199, 237, 253, .3), rgba(49, 166, 218, .15)); }
.card { height: 100%; background: var(--surface-0); border-radius: var(--radius-inner); padding: 1rem; }
.card h2, .card h3, .card h5 { font-size: 1.25rem; font-weight: 600; margin: 1rem 0 .35rem; color: var(--surface-900); }
.card p { color: var(--surface-600); }
.card .more { display: inline-block; margin-top: .75rem; font-weight: 600; }
.icon-box { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: var(--radius); }
.icon-box .ic { width: 1.6rem; height: 1.6rem; }
.t-yellow, .t-sky { background: var(--p-200); color: var(--p-900); } .t-cyan, .t-green { background: var(--p-300); color: var(--p-950); } .t-indigo, .t-purple { background: var(--p-100); color: var(--p-800); }
.t-slate, .t-orange, .t-pink { background: var(--p-400); color: var(--p-950); }
.card.soon { border: 2px dashed var(--surface-300); background: var(--surface-50); }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; padding: .15rem .65rem; border-radius: 999px; background: var(--p-100); color: var(--p-800); border: 1px solid var(--surface-200); }

/* ---- Highlights (alternating) ---- */
.highlights { margin-block: 3rem; } /* margin-inline .container'dan gelir (auto): 'margin: 3rem 0' kisaltmasi onu sifirlayip sol kenara yapistiriyordu */
.hl-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3.5rem; align-items: center; }
.hl-panel { display: flex; justify-content: center; align-items: center; padding: 2.5rem 1rem; border-radius: var(--radius-inner); min-height: 14rem; }
.hl-panel .ic { width: 6rem; height: 6rem; stroke-width: 1.2; }
.bg-purple-100 { background: var(--p-100); color: var(--p-800); } .bg-yellow-100 { background: var(--p-200); color: var(--p-900); } .bg-sky-100 { background: var(--p-50); color: var(--p-800); border: 1px solid var(--p-200); }
.hl-text { display: flex; flex-direction: column; gap: 1rem; text-align: center; align-items: center; }
.hl-text .icon-box { width: 4.2rem; height: 4.2rem; }
.hl-text .icon-box .ic { width: 2rem; height: 2rem; }
.hl-text h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 1.875rem); font-weight: 400; line-height: 1.15; }
.hl-text p { font-size: 1.25rem; line-height: 1.55; color: var(--surface-700); max-width: 40rem; }

/* ---- Guven / iletisim bandi ---- */
.trust { background: var(--p-950); color: #e2e8f0; border-radius: var(--radius); padding: 2.5rem 1.5rem; }
.trust .section-title { color: #fff; } .trust .section-sub { color: var(--p-200); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.trust-item { display: flex; gap: 1rem; }
.trust-item .ic { color: var(--primary); width: 2rem; height: 2rem; margin-top: .15rem; }
.trust-item h3 { font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: .25rem; }
.trust-item p { color: var(--p-100); font-size: .98rem; }
.trust a { color: var(--p-300); }
.cta { text-align: center; padding: 3rem 1.25rem; border-radius: var(--radius); background: linear-gradient(0deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)), radial-gradient(77.36% 256.97% at 77.36% 57.52%, var(--p-100) 0%, var(--p-300) 100%); }
.cta .section-sub { color: var(--surface-700); }
.cta .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

/* ---- Urun sayfasi ---- */
.feat-group { margin-top: 3rem; }
.feat-group > h2 { font-size: 1.75rem; font-weight: 500; margin-bottom: 1.25rem; }
.shot { border: 2px dashed var(--surface-300); border-radius: var(--radius); background: var(--surface-50); min-height: 14rem; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; color: var(--muted); }
.crumbs { font-size: .95rem; color: var(--surface-700); margin-bottom: 1rem; }
.crumbs a { color: var(--p-900); }

/* ---- Yasal / duz icerik ---- */
.doc { max-width: 52rem; margin: 2rem auto 4rem; padding: 0 var(--gutter-x); }
.doc h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem); line-height: 1.2; font-weight: 600; margin-bottom: .5rem; }
.doc h2 { font-size: 1.5rem; font-weight: 600; margin: 2.25rem 0 .75rem; line-height: 1.3; }
.doc h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.doc p, .doc li { color: var(--surface-700); font-size: 1.05rem; }
.doc p { margin: .75rem 0; }
.doc ul, .doc ol { margin: .75rem 0 .75rem 1.25rem; }
.doc ul { list-style: disc; } .doc ol { list-style: decimal; }
.doc li { margin: .4rem 0; padding-left: .25rem; }
.doc p a:not(.btn), .hl-text p a, .doc li a:not(.btn), .card p a, .trust a, .callout a, .cta p a:not(.btn) { text-decoration: underline; text-underline-offset: .15em; }
.doc .meta { color: var(--muted); font-size: .95rem; }
.draft { border: 2px solid #f59e0b; background: #fffbeb; color: #78350f; border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0 1.5rem; font-size: 1rem; }
.draft strong { color: #78350f; }
.callout { border-left: 4px solid var(--p-500); background: var(--p-50); padding: .9rem 1.25rem; border-radius: 0 var(--radius-inner) var(--radius-inner) 0; margin: 1.25rem 0; }
.doc ol.steps { margin-left: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: .6rem 0 .6rem 3rem; margin: .5rem 0; }
.steps { counter-reset: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .5rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--p-500); color: var(--p-950); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.path { font-weight: 600; color: var(--surface-900); background: var(--surface-100); padding: .1rem .45rem; border-radius: 6px; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--surface-200); vertical-align: top; color: var(--surface-700); }
th { background: var(--surface-100); color: var(--surface-900); font-weight: 600; }
.toc { background: var(--surface-50); border: 1px solid var(--surface-200); border-radius: var(--radius); padding: .75rem 1.25rem; margin: 1.25rem 0; }
.toc ul { list-style: none; margin: 0; } .toc li { margin: .2rem 0; }
.contact-cards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 1.5rem; }

/* ---- Footer ---- */
.footer { padding: 3rem var(--gutter-x); margin-top: 5rem; border-top: 1px solid var(--surface-200); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: var(--wrap); margin-inline: auto; text-align: center; }
.footer .footer-h { font-size: 1.35rem; font-weight: 500; margin-bottom: 1rem; color: var(--surface-900); }
.footer a, .footer address { display: block; font-size: 1.05rem; color: var(--surface-700); margin-bottom: .5rem; font-style: normal; line-height: 1.5; }
.footer .brand { justify-content: center; margin-bottom: 1rem; font-size: 1.75rem; }
.footer .brand img { height: 2.5rem; }
.footer .small { font-size: .9rem; color: var(--muted); }
.footer-bottom { max-width: var(--wrap); margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--surface-200); font-size: .9rem; color: var(--muted); text-align: center; }

/* ---- Genis ekran ---- */
@media (min-width: 768px) {
  :root { --gutter-x: 3rem; }
  .hero { padding-inline: 1.5rem; }
  .hero-copy { margin: 1.5rem 5rem 0; }
  .hero h1 { font-size: 3.75rem; }
  .hero.small h1 { font-size: 3rem; }
  .hero-art { justify-content: flex-end; }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .footer .brand { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  :root { --gutter-x: 5rem; }
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; flex: 1; flex-direction: row; align-items: center; justify-content: space-between; padding: 0; box-shadow: none; border-radius: 0; background: transparent; margin-left: clamp(1rem, 4vw, 4rem); }
  .nav ul { flex-direction: row; gap: clamp(1rem, 2.4vw, 2rem); }
  .nav-cta { border-top: 0; padding-top: 0; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .hl-row { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hl-row.rev .hl-panel { order: 2; }
  .hl-text { text-align: left; align-items: flex-start; }
  .hl-row.rev .hl-text { text-align: right; align-items: flex-end; }
  .trust { padding: 3.5rem 4rem; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .nav, .nav-toggle, .skip { display: none; } .draft { border-color: #000; } }
.footer address a { display: inline; margin: 0; }

/* Alt bilgi icerigi, ana icerikle ayni hizada dursun (footer kendi gutter dolgusunu zaten tasir) */
.footer-grid, .footer-bottom { max-width: calc(var(--wrap) - 2 * var(--gutter-x)); }
