﻿/* AsyaPlatform Portal — Ivory Flow esintili hub */
:root {
  --ink: #1c2422;
  --muted: #6b736f;
  --ege: #E31C3D;
  --crm: #1B6CA8;
  --crm-hover: #155a8c;
  --attendance: #0F766E;
  --attendance-hover: #0b5a54;
  --amber: #B45309;
  --violet: #6D28D9;
  --emerald: #047857;
  --ivory: #f6f3ee;
  --ivory-deep: #ebe6de;
  --card: #fffcf8;
  --line: #ddd6cb;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --shadow: 0 18px 40px rgba(28, 36, 34, 0.08);
  --radius: 1.35rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 12% -5%, rgba(227, 28, 61, 0.07), transparent 50%),
    radial-gradient(ellipse 55% 40% at 90% 0%, rgba(27, 108, 168, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ivory-deep) 0%, var(--ivory) 40%, #fffcf8 100%);
  min-height: 100vh;
}

.top.suite-nav {
  position: sticky;
  top: 0.85rem;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1.1rem;
  margin: 0.85rem auto 0;
  max-width: calc(1080px + 2rem);
  width: calc(100% - 1.5rem);
  padding: 0.55rem 1rem 0.55rem 1.15rem;
  border: 1px solid rgba(221, 214, 203, 0.95);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.84);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(28, 36, 34, 0.06);
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand span { color: var(--ege); }

.suite-apps, .suite-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
}

.suite-apps-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.suite-apps a, .suite-actions a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  transition: color 0.35s var(--ease);
}

.suite-apps a:hover, .suite-actions a:hover { color: var(--ink); }
.suite-apps a.is-active.tone-crm-link { color: var(--crm); }
.suite-apps a.is-active.tone-att-link { color: var(--attendance); }

.nav-cta {
  background: var(--crm) !important;
  color: #fff !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px !important;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero-hub { margin-bottom: 2.5rem; max-width: 42rem; }
.hero h1, .apps-head h2, .hub-why h2, .branch-panel h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.eyebrow {
  color: var(--ege);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.lead {
  color: var(--muted);
  max-width: 38rem;
  line-height: 1.6;
  font-size: 1.05rem;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

#uygulamalar {
  scroll-margin-top: 5.5rem;
}

.apps-showcase {
  margin-bottom: 2.75rem;
}

.apps-head { margin-bottom: 1.25rem; }
.apps-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.app-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card, .branch-panel, .branch-actions {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: 0 1px 3px rgba(28, 36, 34, 0.04);
}

.app-tile {
  border-top: 3px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  min-height: 14rem;
  display: flex;
  flex-direction: column;
}

.app-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.app-tile-top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.app-glyph {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  background: var(--crm);
}

.app-glyph .oi { font-size: 1.15rem; }
.app-glyph.large {
  width: 3.25rem;
  height: 3.25rem;
}
.app-glyph.large .oi { font-size: 1.35rem; }

.tone-attendance .app-glyph { background: var(--attendance); }
.product-card.tone-crm { border-top-color: var(--crm); }
.product-card.tone-attendance { border-top-color: var(--attendance); }
.product-card.is-disabled { opacity: 0.65; }

.product-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
}

.app-tagline {
  margin: 0.2rem 0 0 !important;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.app-highlights {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.app-highlights li {
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(27, 108, 168, 0.1);
  color: var(--crm);
}

.tone-attendance .app-highlights li {
  background: rgba(15, 118, 110, 0.12);
  color: var(--attendance);
}

.app-highlights.dense {
  margin-bottom: 1.15rem;
}

.actions, .branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.branch-actions {
  margin-top: 0;
}

.btn {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 650;
  font-family: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.primary {
  background: var(--crm);
  border-color: var(--crm);
  color: #fff;
}

.tone-crm .btn.primary,
.branch-tone-crm .btn.primary {
  background: var(--crm);
  border-color: var(--crm);
}

.tone-attendance .btn.primary,
.branch-tone-attendance .btn.primary {
  background: var(--attendance);
  border-color: var(--attendance);
}

.card-title-link {
  color: inherit;
  text-decoration: none;
}

.tone-crm .card-title-link:hover { color: var(--crm); }
.tone-attendance .card-title-link:hover { color: var(--attendance); }

.branch-tone-crm .hero h1 { color: var(--crm); }
.branch-tone-attendance .hero h1 { color: var(--attendance); }

.branch-title-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 0.75rem;
}

.branch-panel {
  margin-top: 0.5rem;
}

.branch-panel h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
}

.soon {
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.apps-empty {
  color: var(--muted);
  padding: 1rem 0;
}

.hub-why { margin-top: 0.5rem; }
.hub-why h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
}

.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.why-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem;
}

.why-icon {
  display: inline-block;
  color: var(--ege);
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.why-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.dev-hint, .branch-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 42rem;
}

.dev-hint code, .branch-note code {
  font-size: 0.85em;
  background: #efeae2;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.branch-note a { color: var(--crm); font-weight: 650; }

footer {
  text-align: center;
  padding: 1.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
}

footer a {
  color: var(--crm);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0;
}

.footer-sep { margin: 0 0.15rem; }

.egh-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.egh-mark img {
  height: 28px;
  width: auto;
  display: block;
}

.egh-mark-lg img {
  height: 48px;
}

.hero-hub .egh-mark {
  margin-bottom: 0.85rem;
}

.brand-strip {
  margin: 2rem auto 0;
  max-width: 1040px;
  padding: 1.4rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.brand-strip .eyebrow {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-strip h2 {
  margin: 0;
  font-size: 1.35rem;
}

.brand-strip p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .top.suite-nav { border-radius: 18px; top: 0.5rem; }
  .suite-apps-label { display: none; }
  .hero h1 { font-size: clamp(2.1rem, 8vw, 2.6rem); }
}

/* Kurumsal iletişim banner */
.corp-banner {
  margin-top: 2.5rem;
  padding: 1.4rem 1.5rem;
  background: var(--card, #fffcf8);
  border: 1px solid var(--line, #ddd6cb);
  border-radius: var(--radius, 1.35rem);
  display: grid;
  gap: 1.15rem 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .corp-banner {
    grid-template-columns: minmax(12rem, 0.9fr) 1.4fr;
  }
}

.corp-banner-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.corp-rights {
  margin: 0;
  color: var(--muted, #6b736f);
  font-size: 0.82rem;
  line-height: 1.4;
}

.corp-banner-meta p {
  margin: 0 0 0.45rem;
  color: var(--muted, #6b736f);
  font-size: 0.88rem;
  line-height: 1.45;
}

.corp-banner-meta p:last-child { margin-bottom: 0; }

.corp-label {
  display: inline-block;
  min-width: 3.4rem;
  margin-right: 0.35rem;
  color: var(--ink, #1c2422);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.corp-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.corp-links a {
  color: var(--product, var(--crm, #1B6CA8));
  font-weight: 650;
  text-decoration: none;
}

.corp-links a:hover { text-decoration: underline; }

.corp-links span { color: var(--line, #ddd6cb); }

/* eski brand-strip kaldırıldı; geriye dönük boş bırakma */
.brand-strip { display: none !important; }