/* notrino.com.tr
   Açık mavi-lila zemin, yuvarlak kartlar, hap biçimli butonlar, tek yazı tipi.
   Her ürünün kendi rengi var. Teknoloji görselleri Unsplash lisansıyla. */

/* ---- Font (self-hosted, SIL OFL; latin + latin-ext covers Turkish) ------- */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2?v=4c8b93f431) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2?v=ee9eeb232c) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f6f7fc;
  --bg-tint: #e6ebfb;
  --surface: #ffffff;
  --surface-alt: #f1f3f9;
  --text: #1c1d22;
  --muted: #5d606b;
  --line: #e1e4ee;
  --line-strong: #c8ccd9;
  --link: #1c1d22;
  --error: #b42318;
  --ink: #17181b;
  --accent: #2f5fe3;       /* butonlar; beyaz metinle AA kontrast */
  --accent-hover: #2450c8;
  --accent-soft: #dfe6fc;
  --brand: #c2410c;        /* logodaki turuncu, metin kontrastı için koyulaştırıldı */
  --brand-dot: #e0582e;
  --koop: #1e6b47;
  --site: #2451a0;
  --enderun: #8e2b3a;
  --koop-soft: #e3efe8;
  --site-soft: #e2e9f6;
  --enderun-soft: #f4e4e7;
  --radius-lg: 28px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 24, 40, .04), 0 12px 32px -16px rgba(23, 24, 40, .18);
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
address { font-style: normal; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  padding: 8px 14px; background: var(--text); color: #fff; border-radius: 999px;
}
.skip-link:focus { top: 12px; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 247, 252, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
/* Logo kareye yakın (190x160); başlık yüksekliğine sığacak şekilde boyutlu. */
.logo { display: block; margin-right: auto; line-height: 0; }
.logo img { height: 60px; width: auto; }
.nav { display: flex; gap: 32px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header-cta { margin-left: 16px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit; font-size: 15px; font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(47, 95, 227, .7);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }

.link-arrow { color: var(--accent); font-weight: 500; text-decoration: none; font-size: 16px; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  padding: 40px 0 56px;
  background:
    radial-gradient(900px 520px at 8% 0%, var(--bg-tint), transparent 70%),
    radial-gradient(700px 480px at 100% 30%, #eceffc, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 64px); line-height: 1.05; font-weight: 650;
  letter-spacing: -0.035em; color: var(--ink); max-width: 13ch;
}
.hero-lead { margin-top: 22px; max-width: 46ch; font-size: 18px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }

.hero-media {
  position: relative; aspect-ratio: 1 / 1.02; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Görselin altı ve solu zemine doğru erir. */
.hero-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(246, 247, 252, 0) 32%),
    linear-gradient(to right, rgba(246, 247, 252, .55) 0%, rgba(246, 247, 252, 0) 30%);
}

.trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.trio li { padding: 4px 32px; border-left: 1px solid var(--line-strong); }
.trio li:first-child { padding-left: 0; border-left: 0; }
.trio a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.trio a:hover h2 { color: var(--accent); }
.trio h2 { font-size: 19px; font-weight: 600; transition: color .2s; }
.trio p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.trio-icon {
  width: 26px; height: 26px; flex: none;
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- Bento -------------------------------------------------------------- */
.bento-section { padding: 24px 0 32px; }
.bento {
  display: grid;
  grid-template-columns: 1.15fr .7fr 1fr 1.15fr 1fr;
  gap: 14px;
  height: 260px;
}
.tile { border-radius: var(--radius); min-height: 0; overflow: hidden; }
.tile-img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.tile-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; min-height: 0; }
.tile-dark {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 22px; background: var(--ink); color: #fff;
}
.tile-kicker { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #9a9ca6; }
.tile-title { margin-top: 10px; font-size: 21px; line-height: 1.2; font-weight: 600; }
.tile-text { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.tile-dark .tile-text { color: #b9bac0; }
.tile-dark .btn { margin-top: auto; }
.tile-light {
  display: flex; flex-direction: column; justify-content: center;
  padding: 24px; background: var(--surface); border: 1px solid var(--line);
}
.tile-label { font-size: 16px; font-weight: 500; color: var(--ink); }
.tile-stat { margin-top: 6px; font-size: 56px; line-height: 1; font-weight: 650; letter-spacing: -0.03em; color: var(--accent); }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: 80px 0; }
.section h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.section-intro { margin-top: 12px; max-width: 64ch; color: var(--muted); }

/* ---- Products ----------------------------------------------------------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 32px 48px;
  position: relative;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.products h2 + .product { margin-top: 36px; }
.product + .product { margin-top: 20px; }
/* Ürün rengindeki üst çizgi; görünür olunca soldan sağa çizilir (bkz. Hareket). */
.product::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--c); transform-origin: left;
}
.product h3 { font-size: 24px; font-weight: 650; color: var(--c); margin-bottom: 16px; line-height: 0; }
/* Logolar farklı oranlarda; yükseklikler göz kararı eşit görünecek şekilde ayarlı.
   evaidat'ın üstündeki çatı yüzünden daha yüksek. */
.product-logo { width: auto; max-width: 100%; }
.logo-koopkolay { height: 26px; }
.logo-evaidat { height: 50px; }
.logo-enderun { height: 36px; }
.product .actions a:not(.btn) { color: var(--c); font-weight: 500; }
.product-kind {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--soft); color: var(--c); font-size: 13px; font-weight: 500;
}
.product-desc { margin-top: 14px; }
.product-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.product .actions { margin-top: 24px; }

/* Özellikler: yuvarlak, açık zeminli satırlar. */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.feature-list li {
  position: relative;
  padding: 12px 16px 12px 40px;
  background: var(--surface-alt);
  border-radius: 14px;
}
.feature-list li::before {
  content: ''; position: absolute; left: 16px; top: 19px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--soft); box-shadow: inset 0 0 0 3px var(--c);
}
.feature-list h4 { margin: 0; font-size: 15px; font-weight: 600; }
.feature-list p { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---- Ürün renkleri ------------------------------------------------------ */
.p-koop {
  --c: var(--koop); --soft: var(--koop-soft);
}
.p-site {
  --c: var(--site); --soft: var(--site-soft);
}
.p-enderun {
  --c: var(--enderun); --soft: var(--enderun-soft);
}

/* ---- About -------------------------------------------------------------- */
.about-card {
  display: grid; grid-template-columns: 1.5fr 1fr;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg); overflow: hidden;
}
.about-body { padding: 56px; }
.about-card h2 { color: #fff; }
.about-card .section-intro, .about-card .points p { color: #b9bac0; }
.about-media { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; margin-top: 40px; }
.points > div { padding-top: 14px; border-top: 2px solid var(--brand-dot); }
.points h3 { font-size: 17px; font-weight: 600; }
.points p { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ---- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px;
  padding: 48px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.contact-list { margin-top: 32px; display: grid; gap: 20px; }
.contact-list dt { font-size: 14px; color: var(--muted); }
.contact-list a { color: var(--accent); }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; border-radius: 22px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.has-error input, .has-error textarea { border-color: var(--error); }
.field-error { font-size: 14px; color: var(--error); padding-left: 4px; }
.field-error:empty { display: none; }

fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); font-size: 15px; font-weight: 400; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.options label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.consent { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; cursor: pointer; }
.options input, .consent input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
/* Gönder butonu koyu ve geniş. */
.form-submit .btn { min-width: 200px; background: var(--ink); border-color: var(--ink); box-shadow: none; }
.form-submit .btn:hover { background: #2c2e34; border-color: #2c2e34; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.is-error { color: var(--error); }
.form-done h3 { font-size: 20px; font-weight: 600; }
.form-done p { margin-top: 8px; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  padding: 28px 0; font-size: 14px; color: #b9bac0; background: var(--ink);
  border-top: 6px solid; border-image: linear-gradient(90deg, var(--koop) 0 33.33%, var(--site) 0 66.66%, var(--enderun) 0) 1;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner a { color: #fff; }

/* ---- Text pages (KVKK, 404) --------------------------------------------- */
.page { padding: 48px 0 80px; }
.page-inner {
  max-width: 760px; padding: 48px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.page h1 { font-size: 32px; line-height: 1.2; font-weight: 600; }
.page-meta { margin-top: 8px; font-size: 14px; color: var(--muted); }
.page h2 { margin-top: 32px; font-size: 19px; font-weight: 600; }
.page p, .page ul { margin-top: 10px; }
.page ul { padding-left: 20px; list-style: disc; }
.page .actions { margin-top: 40px; }

/* ---- Hareket -------------------------------------------------------------
   Tamamı prefers-reduced-motion: no-preference altında. JS çalışmazsa içerik
   olduğu gibi görünür; gizleme yalnızca site.js "motion" sınıfını ekleyince
   devreye girer. Kaydırmaya bağlı değer (--progress) site.js'ten. */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--koop) 0 33.33%, var(--site) 0 66.66%, var(--enderun) 0);
  transform: scaleX(var(--progress, 0)); transform-origin: left;
}
.site-header { transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(23, 24, 40, .25); border-bottom-color: var(--line); }

@media (prefers-reduced-motion: no-preference) {
  /* Açılış: giriş metni aşağıdan gelir, görsel hafifçe büyüyerek belirir. */
  .hero-text > * { animation: fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 { animation-delay: .06s; }
  .hero-lead { animation-delay: .12s; }
  .hero .actions { animation-delay: .24s; }
  .hero-media { animation: fade-in-scale 1.1s cubic-bezier(.2, .7, .2, 1) .1s both; }

  .bento > .tile, .tile-stack > .tile { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
  .bento > .tile:hover, .tile-stack > .tile:hover { transform: translateY(-4px); }

  /* Kaydırınca görünenler */
  .motion [data-reveal] {
    opacity: 0; translate: 0 28px;
    transition: opacity .7s ease-out, translate .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--d, 0ms);
  }
  .motion [data-reveal].is-in { opacity: 1; translate: 0 0; }
  .motion .bento [data-reveal] { transition-property: opacity, translate, transform; }

  .motion .product::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
  .motion .product.is-in::before { transform: scaleX(1); }

  .motion .points > div { border-top-color: transparent; position: relative; }
  .motion .points > div::before {
    content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 2px;
    background: var(--brand-dot); transform: scaleX(0); transform-origin: left;
    transition: transform .9s cubic-bezier(.65, 0, .35, 1) var(--d, 0ms);
  }
  .motion .points > div.is-in::before { transform: scaleX(1); }
}

/* Başlık: üzerine gelince imleçten yıldızlar saçılır (site.js initStars),
   "yıldızının" kelimesi parlar. */
[data-stars] { position: relative; }
.star {
  position: absolute; pointer-events: none; z-index: 1;
  translate: -50% -50%;
  animation: star-pop .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.star svg { display: block; width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 4px currentColor); }
@media (prefers-reduced-motion: no-preference) {
  .star-word {
    background: linear-gradient(100deg, var(--ink) 0 40%, var(--brand-dot) 48%, #f5b301 52%, var(--ink) 60% 100%);
    background-size: 300% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    transition: background-position 1s cubic-bezier(.2, .7, .2, 1);
  }
  [data-stars]:hover .star-word { color: transparent; background-position: 0 0; }
}

@keyframes star-pop {
  0% { opacity: 0; transform: scale(0) rotate(0); }
  25% { opacity: 1; transform: scale(1.1) rotate(calc(var(--r) / 3)); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3) rotate(var(--r)); }
}
@keyframes fade-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-in-scale { from { opacity: 0; scale: .96; } to { opacity: 1; scale: 1; } }

/* ---- Small screens ------------------------------------------------------ */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px 220px; height: auto; }
  .bento > :nth-child(5) { grid-column: span 2; }
}
@media (max-width: 860px) {
  .hero-grid, .product, .contact-grid, .about-card { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
  .about-media { max-height: 280px; }
  .contact-grid { gap: 40px; padding: 32px; }
  .header-cta { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { gap: 16px; min-height: 68px; }
  .logo img { height: 50px; }
  .nav { gap: 16px; font-size: 14px; }
  .hero { padding: 24px 0 40px; }
  .hero-lead { font-size: 17px; }
  .trio { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .trio li, .trio li:first-child { padding: 0 0 0 16px; border-left: 2px solid var(--line-strong); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto 180px 180px; }
  .bento > .tile-dark { grid-column: 1 / -1; min-height: 200px; }
  .bento > :nth-child(5) { grid-column: auto; }
  .section { padding: 56px 0; }
  .product { padding: 24px 20px; border-radius: var(--radius); }
  .about-body { padding: 32px 24px; }
  .contact-grid { padding: 24px 20px; border-radius: var(--radius); }
  .page-inner { padding: 28px 20px; }
  .feature-list, .points, .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .logo img { height: 42px; }
  .nav { gap: 12px; }
}
