/* NetKPSS giris — dark glass tema (Montserrat via giris.html link) */
:root {
  --bg: #0d0d16;
  --text: #e4e1ed;
  --muted: #908fa0;
  --primary: #c1c1ff;
  --primary-btn: #5d5fef;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.hero-gradient {
  background:
    radial-gradient(circle at 15% 10%, rgba(93,95,239,0.18), transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(255,175,209,0.1), transparent 50%),
    var(--bg);
}

.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: rgba(19,19,27,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(70,69,85,0.25);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-nav__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(93,95,239,0.35);
}

main { padding-top: 5rem; min-height: 100vh; }

.hero-grid {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
  min-height: calc(100vh - 5rem);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    padding: 3rem 2rem;
    gap: 3rem;
  }
  .hero-copy { display: flex !important; }
  .hero-mobile { display: none !important; }
}

.hero-mobile {
  text-align: center;
  margin-bottom: 0.5rem;
}

.hero-mobile__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-mobile__title em {
  font-style: normal;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(193,193,255,0.35);
}

.hero-mobile__sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-copy {
  display: none;
  flex-direction: column;
  gap: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  width: fit-content;
  background: rgba(63,223,165,0.1);
  border: 1px solid rgba(63,223,165,0.25);
  color: #3fdfa5;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: normal;
  color: var(--primary);
  text-shadow: 0 0 24px rgba(193,193,255,0.4);
}

.hero-lead {
  margin: 0;
  max-width: 28rem;
  line-height: 1.7;
  color: #c7c4d7;
}

.stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.5rem;
  flex-wrap: wrap;
}

.stat-block { position: relative; padding-right: 1.5rem; }
.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(70,69,85,0.45);
}

.stat-val { font-size: 1.8rem; font-weight: 800; }
.stat-val--p { color: var(--primary); }
.stat-val--g { color: #3fdfa5; }
.stat-val--s { color: #ffafd1; }
.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.features { display: flex; flex-direction: column; gap: 1rem; }

.feature { display: flex; align-items: center; gap: 0.75rem; }

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.login-wrap { position: relative; }

.login-wrap::before,
.login-wrap::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.login-wrap::before {
  top: -40px;
  right: -30px;
  width: 220px;
  height: 220px;
  background: rgba(193,193,255,0.14);
}

.login-wrap::after {
  bottom: -30px;
  left: -20px;
  width: 160px;
  height: 160px;
  background: rgba(63,223,165,0.1);
}

.glass-card {
  background: rgba(31,31,39,0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.card-head { text-align: center; margin-bottom: 1.5rem; }

.card-logo-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(27,54,93,0.45);
}

.card-logo { width: 56px; height: 56px; display: block; }

.card-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card-sub { margin: 0.35rem 0 0; font-size: 0.8rem; color: var(--muted); }

#googleSignInHost {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1.25rem;
}

#googleSignInHost.is-visible { display: flex; }

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.75rem;
  background: #fff;
  color: #1f1f27;
  font: 700 0.9rem var(--font);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.google-btn:hover { transform: scale(1.01); }
.google-btn:active { transform: scale(0.98); }
.google-btn:disabled { opacity: 0.6; cursor: wait; }
.google-btn svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64637a;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(70,69,85,0.5);
}

.tab-row {
  display: flex;
  background: rgba(13,13,22,0.7);
  border-radius: 0.75rem;
  padding: 4px;
  margin-bottom: 1.25rem;
}

.tab-btn {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--muted);
  font: 700 0.875rem var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--primary-btn);
  color: #fff;
  box-shadow: 0 0 15px rgba(93,95,239,0.35);
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c7c4d7;
  letter-spacing: 0.03em;
}

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(70,69,85,0.6);
  background: rgba(13,13,22,0.8);
  color: var(--text);
  font: 0.9rem var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
  border-color: rgba(193,193,255,0.5);
  box-shadow: 0 0 0 3px rgba(93,95,239,0.15);
}

.input-field::placeholder { color: #64637a; }

.form-stack > * + * { margin-top: 1rem; }

.btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #5d5fef, #4849da);
  color: #fff;
  font: 700 0.9rem var(--font);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(93,95,239,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(93,95,239,0.45);
}

.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary:disabled { opacity: 0.65; cursor: wait; transform: none; }

.link-muted {
  background: none;
  border: none;
  color: #64637a;
  font: 0.75rem var(--font);
  cursor: pointer;
  transition: color 0.2s;
}

.link-muted:hover, .footer-links a:hover { color: var(--primary); }

.hidden { display: none !important; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-5 { margin-bottom: 1.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.text-sm { font-size: 0.875rem; }
.rounded-lg { border-radius: 0.5rem; }
.p-3 { padding: 0.75rem; }
.border { border: 1px solid transparent; }

.auth-msg--err {
  background: rgba(239,68,68,0.2);
  color: #fca5a5;
  border-color: rgba(239,68,68,0.3);
}

.auth-msg--ok {
  background: rgba(16,185,129,0.2);
  color: #6ee7b7;
  border-color: rgba(16,185,129,0.3);
}

.footer-note {
  margin-top: 1.25rem;
  font-size: 0.7rem;
  color: #464555;
  text-align: center;
}

.footer-links a { color: #64637a; text-decoration: none; }

.seo-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.seo-section h2 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.seo-grid { display: grid; gap: 1rem; }

@media (min-width: 640px) { .seo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .seo-grid { grid-template-columns: repeat(4, 1fr); } }

.seo-card {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(31,31,39,0.5);
  border: 1px solid rgba(70,69,85,0.35);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.seo-card:hover { border-color: rgba(193,193,255,0.35); }
.seo-card strong { display: block; font-size: 0.95rem; margin-bottom: 0.35rem; }
.seo-card span { font-size: 0.8rem; color: var(--muted); }

.logged-in-banner {
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(63,223,165,0.12);
  border: 1px solid rgba(63,223,165,0.3);
}

.logged-in-banner p { margin: 0 0 0.75rem; font-size: 0.9rem; color: #c7c4d7; }
.logged-in-banner .btn-primary { margin-bottom: 0.5rem; }
.logged-in-banner .link-muted { font-size: 0.8rem; }

@media (max-width: 1023px) {
  .glass-card, .site-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(31,31,39,0.94);
  }
  .site-nav { background: rgba(19,19,27,0.94); }
}
