/* ════════════════════════════════════════════
   ZeggaCRM — Ana Site CSS
   ════════════════════════════════════════════ */

/* AOS Güvenlik Fallback — AOS init olmadıysa içerik görünür kalır */
html:not(.aos-initialized) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

:root {
  --zegga-dark:    #0a0f1e;
  --zegga-dark2:   #0f172a;
  --zegga-dark3:   #1e293b;
  --zegga-blue:    #3b82f6;
  --zegga-blue2:   #2563eb;
  --zegga-green:   #10b981;
  --zegga-purple:  #8b5cf6;
  --zegga-orange:  #f59e0b;
  --zegga-pink:    #ec4899;
  --text-muted:    rgba(255,255,255,0.55);
  --border-subtle: rgba(255,255,255,0.08);
  --card-bg:       rgba(255,255,255,0.04);
}

/* ── Reset / Base ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--zegga-dark);
  color: #e2e8f0;
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; }

.fw-800 { font-weight: 800 !important; }
.fw-600 { font-weight: 600 !important; }

/* ── Navbar ──────────────────────────────── */
.zegga-navbar {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.zegga-navbar.scrolled {
  background: rgba(10, 15, 30, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.zegga-logo-badge {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--zegga-blue), var(--zegga-purple));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.text-primary-light { color: #93c5fd; }
.navbar-brand { color: #fff !important; font-size: 1.2rem; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem !important;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}
.btn-danger-soft {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.3);
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-danger-soft:hover { background: rgba(239,68,68,0.3); color: #fff; }

/* ── Hero ────────────────────────────────── */
.zegga-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}
.zegga-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(59,130,246,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(139,92,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(16,185,129,0.08) 0%, transparent 60%),
    var(--zegga-dark);
  z-index: 0;
}
.zegga-grid-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.zegga-hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: #93c5fd;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--zegga-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title .accent-blue  { color: var(--zegga-blue); }
.hero-title .accent-green { color: var(--zegga-green); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 3rem; }

.btn-zegga-primary {
  background: linear-gradient(135deg, var(--zegga-blue), var(--zegga-blue2));
  border: none; color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.btn-zegga-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.45);
  color: #fff;
}
.btn-zegga-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
}
.btn-zegga-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
}
.hero-stat-item { display: flex; flex-direction: column; }
.hero-stat-num {
  font-size: 1.6rem; font-weight: 800; color: #fff;
  line-height: 1.1;
}
.hero-stat-lbl { font-size: 0.8rem; color: var(--text-muted); }

/* Hero mockup */
.hero-mockup {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 120px rgba(59,130,246,0.15);
  animation: mockup-float 6s ease-in-out infinite;
}
@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.hero-mockup img { width: 100%; display: block; border-radius: 16px; }
.hero-mockup-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,15,30,0.8) 100%);
  border-radius: 16px;
}

/* ── Section ortak ───────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-tag {
  display: inline-block;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #93c5fd;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 580px;
}

/* ── Stats Band ──────────────────────────── */
.zegga-stats-band {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0;
}
.stat-band-item {
  text-align: center;
  padding: 0 1rem;
}
.stat-band-num {
  font-size: 2.4rem; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #fff 40%, #93c5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-band-lbl { font-size: 0.87rem; color: var(--text-muted); margin-top: 4px; }
.stat-band-divider {
  width: 1px; background: var(--border-subtle);
  align-self: stretch;
}

/* ── Feature Cards ───────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(59,130,246,0.1);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.fi-blue   { background: rgba(59,130,246,0.15);  color: #60a5fa; }
.fi-green  { background: rgba(16,185,129,0.15);  color: #34d399; }
.fi-purple { background: rgba(139,92,246,0.15);  color: #a78bfa; }
.fi-orange { background: rgba(245,158,11,0.15);  color: #fbbf24; }
.fi-pink   { background: rgba(236,72,153,0.15);  color: #f472b6; }
.fi-cyan   { background: rgba(6,182,212,0.15);   color: #22d3ee; }
.fi-red    { background: rgba(239,68,68,0.15);   color: #f87171; }
.fi-teal   { background: rgba(20,184,166,0.15);  color: #2dd4bf; }

.feature-card h5 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.87rem; color: var(--text-muted); margin: 0; }
.feature-card .feature-tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 6px; }
.feature-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
}

/* ── Pricing ─────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 991px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card.popular {
  background: linear-gradient(145deg, rgba(59,130,246,0.12), rgba(139,92,246,0.06));
  border-color: rgba(59,130,246,0.4);
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(59,130,246,0.2);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--zegga-blue), var(--zegga-purple));
  color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 18px; border-radius: 100px;
  white-space: nowrap;
}
.pricing-pkg-name { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.pricing-price {
  font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px; font-weight: 600; }
.pricing-price sub { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-divider { border-color: var(--border-subtle); margin: 1.25rem 0; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.87rem; color: rgba(255,255,255,0.75);
  padding: 4px 0;
}
.pricing-features li i.bi-check2 { color: var(--zegga-green); flex-shrink: 0; font-size: 1rem; }
.pricing-features li i.bi-x-lg    { color: rgba(255,255,255,0.2); flex-shrink: 0; font-size: 0.9rem; }
.pricing-features li.disabled { opacity: 0.4; }

.btn-pricing-primary {
  width: 100%; padding: 0.7rem;
  background: linear-gradient(135deg, var(--zegga-blue), var(--zegga-blue2));
  border: none; border-radius: 10px;
  color: #fff; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-pricing-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.4);
  color: #fff;
}
.btn-pricing-ghost {
  width: 100%; padding: 0.7rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.8); font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
}
.btn-pricing-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

/* ── Comparison Table ────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}
.compare-table th {
  background: rgba(255,255,255,0.06);
  color: #fff; font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}
.compare-table th:first-child { text-align: left; border-radius: 12px 0 0 0; }
.compare-table th:last-child  { border-radius: 0 12px 0 0; }
.compare-table th.col-popular { background: rgba(59,130,246,0.15); }
.compare-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  vertical-align: middle;
  text-align: center;
}
.compare-table td:first-child  { text-align: left; color: rgba(255,255,255,0.85); font-weight: 500; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table .section-row td {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700; padding: 0.5rem 1.25rem;
}
.compare-table .section-row td:first-child { text-align: left; }
.compare-table i.bi-check2-circle { color: var(--zegga-green); font-size: 1.1rem; }
.compare-table i.bi-x-circle      { color: rgba(255,255,255,0.15); font-size: 1rem; }

/* ── Module Showcase ─────────────────────── */
.module-section { padding: 70px 0; }
.module-section:nth-child(even) { background: rgba(255,255,255,0.02); }

.module-visual {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.module-visual img { width: 100%; display: block; }

.module-placeholder {
  background: linear-gradient(145deg, rgba(59,130,246,0.08), rgba(139,92,246,0.05));
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  height: 320px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
}
.module-placeholder i { font-size: 3rem; opacity: 0.25; }
.module-placeholder span { font-size: 0.85rem; color: var(--text-muted); }

.module-feature-list { list-style: none; padding: 0; margin: 0; }
.module-feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.module-feature-list li:last-child { border: none; }
.module-feature-list li i {
  color: var(--zegga-green); font-size: 1rem; flex-shrink: 0; margin-top: 1px;
}

/* ── Testimonials ────────────────────────── */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
}
.testimonial-stars { color: var(--zegga-orange); font-size: 0.85rem; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.9rem; color: rgba(255,255,255,0.75); font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--zegga-blue), var(--zegga-purple));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-name { font-size: 0.87rem; font-weight: 600; color: #fff; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA Section ─────────────────────────── */
.zegga-cta-section {
  background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(139,92,246,0.08) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 100px 0;
  text-align: center;
}
.cta-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; }
.cta-sub   { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 520px; margin: 0 auto 2rem; }

/* ── FAQ ─────────────────────────────────── */
.zegga-accordion .accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.zegga-accordion .accordion-button {
  background: transparent;
  color: #fff; font-weight: 600; font-size: 0.95rem;
}
.zegga-accordion .accordion-button:not(.collapsed) {
  background: rgba(59,130,246,0.08);
  color: #93c5fd;
  box-shadow: none;
}
.zegga-accordion .accordion-button::after {
  filter: invert(1) opacity(0.6);
}
.zegga-accordion .accordion-body {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  padding-top: 0;
}

/* ── Forms ───────────────────────────────── */
.zegga-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-label { color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500; }
.form-control, .form-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control::placeholder { color: rgba(255,255,255,0.3); }
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
  color: #fff;
  outline: none;
}
.form-select option { background: var(--zegga-dark2); color: #fff; }

/* ── Alert ───────────────────────────────── */
.alert-zegga-success {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  color: #6ee7b7;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}
.alert-zegga-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

/* ── Login Page ──────────────────────────── */
.zegga-login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: 80px;
}
.login-card {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3rem;
  width: 100%; max-width: 440px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

/* ── Footer ──────────────────────────────── */
.zegga-footer {
  background: rgba(5, 8, 18, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding-top: 80px;
}
.footer-heading {
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.4);
  font-weight: 600; margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.87rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.text-muted-footer { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.text-muted-footer a { color: rgba(255,255,255,0.55); }
.text-muted-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.zegga-social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.zegga-social:hover {
  background: rgba(59,130,246,0.2);
  color: #fff;
  border-color: rgba(59,130,246,0.4);
}

.btn-outline-primary-soft {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);
  color: #93c5fd; font-size: 0.8rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-outline-primary-soft:hover {
  background: rgba(59,130,246,0.18);
  color: #fff;
}

/* ── Portal ──────────────────────────────── */
.portal-sidebar {
  background: rgba(15,23,42,0.9);
  border-right: 1px solid var(--border-subtle);
  min-height: calc(100vh - 70px);
  padding: 1.5rem 0;
  position: sticky; top: 70px;
}
.portal-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0.6rem 1.25rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem; font-weight: 500;
  border-left: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.portal-nav-item:hover, .portal-nav-item.active {
  color: #fff;
  background: rgba(59,130,246,0.08);
  border-left-color: var(--zegga-blue);
}
.portal-nav-item i { font-size: 1.05rem; flex-shrink: 0; width: 20px; }

.portal-content { padding: 2rem; }

.kpi-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.kpi-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.kpi-value { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.1; }
.kpi-label { font-size: 0.78rem; color: var(--text-muted); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 991px) {
  .hero-mockup { margin-top: 3rem; }
  .pricing-card.popular { transform: none; }
  .section { padding: 70px 0; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1.25rem; }
  .zegga-form-card { padding: 1.5rem; }
  .login-card { padding: 2rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════
   LAPTOP MOCKUP
   ════════════════════════════════════════════ */

.laptop-scene {
  width: 100%;
  max-width: 580px;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

.laptop {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
}

/* Ekran kapağı */
.laptop-lid {
  position: relative;
  width: 100%;
  background: linear-gradient(160deg, #1e2a3a 0%, #0d1b2a 100%);
  border-radius: 14px 14px 4px 4px;
  border: 2px solid rgba(255,255,255,0.1);
  border-bottom: none;
  padding: 10px 10px 6px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 -4px 30px rgba(59,130,246,0.15),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform-origin: bottom center;
  transform: rotateX(-6deg);
  animation: laptopLidOpen 1.4s cubic-bezier(0.34, 1.2, 0.64, 1) 0.4s both;
}

@keyframes laptopLidOpen {
  0%   { transform: rotateX(-88deg); opacity: 0.3; }
  60%  { transform: rotateX(4deg); }
  100% { transform: rotateX(-6deg); opacity: 1; }
}

.laptop-camera-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  margin: 0 auto 6px;
}

.laptop-screen-bezel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/10;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}

/* Slaytlar */
.laptop-slides { width: 100%; height: 100%; position: relative; }
.laptop-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  overflow: hidden;
}
.laptop-slide.active { opacity: 1; z-index: 1; }
.laptop-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Slide label */
.laptop-slide-label {
  position: absolute;
  bottom: 28px; left: 10px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 5;
  letter-spacing: 0.03em;
  transition: opacity 0.3s;
}

/* Progress bar */
.laptop-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,0.08); z-index: 5;
}
.laptop-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  width: 0%;
  transition: width 0.1s linear;
}

/* Klavye gövdesi */
.laptop-body {
  background: linear-gradient(180deg, #1a2535 0%, #141e2d 100%);
  border-radius: 4px 4px 14px 14px;
  border: 2px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 12px 14px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  animation: laptopBodyIn 1.4s ease 0.4s both;
}
@keyframes laptopBodyIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Klavye */
.laptop-keyboard { margin-bottom: 8px; }
.laptop-key-row { display: flex; gap: 3px; margin-bottom: 3px; justify-content: center; }
.lk {
  flex: 1; height: 9px; max-width: 28px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.04);
}
.lk-fn  { height: 7px; max-width: 24px; background: rgba(255,255,255,0.05); }
.lk-wide { flex: 2; max-width: 54px; }
.lk-space { flex: 6; max-width: 160px; background: rgba(255,255,255,0.09); }

/* Trackpad */
.laptop-trackpad {
  width: 80px; height: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  margin: 0 auto;
}

/* Thumbnail nav */
.laptop-nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.laptop-nav-dot {
  width: 36px; height: 24px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 0; background: none; cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.laptop-nav-dot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.laptop-nav-dot.active {
  border-color: #3b82f6;
  transform: scale(1.15);
}
.laptop-nav-dot:hover { border-color: rgba(59,130,246,0.6); }

/* ════════════════════════════════════════════
   SCREENS SHOWCASE (Ekran Görüntüleri Bölümü)
   ════════════════════════════════════════════ */

.screens-showcase { max-width: 900px; margin: 0 auto; }

/* Browser frame */
.screens-browser-bar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.browser-dots {
  display: flex; gap: 6px; flex-shrink: 0;
}
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50; display: block;
}
.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-family: monospace;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-url span { color: #93c5fd; }

.screens-main-wrap {
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}

.screen-slide-big {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  overflow: hidden;
}
.screen-slide-big.active { opacity: 1; z-index: 1; }
.screen-slide-big img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

/* Info bar overlay */
.screen-info-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 2rem 1.5rem 1rem;
  z-index: 2;
}
.screen-info-title {
  font-weight: 700; color: #fff;
  font-size: 1rem; margin-bottom: 3px;
}
.screen-info-desc {
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
}

/* Prev/Next buttons */
.screen-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff; font-size: 1rem;
  cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.screen-nav-btn:hover {
  background: rgba(59,130,246,0.4);
  transform: translateY(-50%) scale(1.1);
}
.screen-prev { left: 12px; }
.screen-next { right: 12px; }

/* Thumbnail şeridi */
.screens-thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.screens-thumb-strip::-webkit-scrollbar { height: 4px; }
.screens-thumb-strip::-webkit-scrollbar-track { background: transparent; }
.screens-thumb-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.screen-thumb {
  flex-shrink: 0;
  width: 100px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  transition: border-color 0.2s, transform 0.2s;
}
.screen-thumb.active {
  border-color: #3b82f6;
  transform: scale(1.05);
}
.screen-thumb:hover { border-color: rgba(59,130,246,0.5); }
.screen-thumb img {
  width: 100%; height: 56px;
  object-fit: cover; object-position: top;
  display: block;
}
.screen-thumb-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 3px 4px;
  background: rgba(255,255,255,0.04);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .laptop-nav { gap: 4px; }
  .laptop-nav-dot { width: 28px; height: 19px; }
  .screen-thumb { width: 75px; }
  .screen-thumb img { height: 42px; }
}

/* ── Utility ─────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #fff 20%, #93c5fd 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.text-gradient-green {
  background: linear-gradient(135deg, #6ee7b7 0%, var(--zegga-green) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.divider-subtle { border-color: var(--border-subtle); }
.rounded-zegga { border-radius: 16px !important; }
.bg-card { background: var(--card-bg); }
