/* —— Ana sayfa (home) — bambaşka layout —— */
.home-body {
  background: #070d18;
  min-height: 100vh;
}

.home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
  background: rgba(14, 22, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
  position: sticky;
  top: 0;
  z-index: 20;
}

.home-nav.compact { height: 56px; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}

.nav-brand:hover { text-decoration: none; opacity: 0.9; }

.nav-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.nav-brand-stack .brand-name {
  font-size: 16px;
  font-weight: 800;
}

.nav-brand-stack .brand-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 2px;
}

.logo-mark.sm {
  width: 32px;
  height: 32px;
  font-size: 14px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
}

.nav-link.active {
  color: var(--accent);
  background: rgba(129, 140, 248, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 28px 48px;
}

.home-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.welcome-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.home-welcome h1 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.welcome-desc {
  font-size: 15px;
  color: var(--text-dim);
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: 12px;
  white-space: nowrap;
}

/* Agent hero kart */
.agent-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: 16px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}

.agent-hero.agent-on {
  background: linear-gradient(135deg, #052e1f 0%, #0f172a 100%);
  border-color: #065f46;
}

.agent-hero.agent-off {
  background: linear-gradient(135deg, #3f0d0d 0%, #0f172a 100%);
  border-color: #7f1d1d;
}

.agent-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.agent-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.agent-dot.on {
  background: var(--green);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.6);
}

.agent-dot.off {
  background: var(--red);
}

.agent-hero-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agent-hero-title {
  font-size: 18px;
  font-weight: 700;
  margin: 2px 0 4px;
}

.agent-hero-meta {
  font-size: 12px;
  color: var(--text-dim);
}

/* Modül grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 640px) {
  .module-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

.module-card {
  display: block;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  position: relative;
}

.module-card.module-active:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.module-card.module-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.module-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.module-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.module-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 16px;
}

.module-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.module-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: #1e293b;
  color: var(--amber);
}

/* Aktivite */
.activity-section h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.activity-list {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
}

.activity-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.activity-item:last-child { border-bottom: none; }
.activity-item.dim { opacity: 0.5; }

.activity-time {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
}

.activity-link {
  font-weight: 700;
  font-size: 12px;
}

.home-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 28px 32px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
}

/* SGK alt sayfa */
.sgk-layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 28px 40px;
}

.sgk-main .page-title { margin-top: 0; }
