/* ==========================================================================
   SCHEMA.TR - HOMEPAGE CLEAN BLUE & AUTHENTIC ZADARMA STYLESHEET
   Sticky header (transparent at top, white on scroll), clean header actions,
   white Zadarma footer with contact box, zero AI cliches, pure clarity.
   ========================================================================== */

:root {
  --z-blue-top: #2c77de;
  --z-blue-mid: #1c56ab;
  --z-blue-dark: #10366f;
  --z-blue-bottom: #092044;
  --z-yellow: #ffc83b;
  --z-yellow-hover: #f5bc28;
  --z-text-white: #ffffff;
  --z-text-muted: rgba(255, 255, 255, 0.88);
  --z-max-width: 1280px;
}

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

body.z-homepage,
body.z-homepage #app,
body.z-homepage main {
  background-color: var(--z-blue-top, #0a3d91) !important;
  color: #0f172a !important;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  overflow-x: hidden;
}

/* ==========================================================================
   1. STICKY HEADER (Transparent at top with NO bottom line, White on scroll)
   ========================================================================== */
body.z-homepage .schematic-header-wrap,
body.z-homepage .schematic-header-wrap.header-scrolled,
body.z-homepage .schematic-header-inner,
body.z-homepage .schematic-header-bar {
  border-bottom: none !important;
  border-bottom-width: 0 !important;
  border-bottom-style: none !important;
  border: none !important;
  outline: none !important;
}

body.z-homepage .schematic-header-wrap {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important; /* NO LINE AT TOP */
  box-shadow: none !important;
  z-index: 9999 !important;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.z-homepage .schematic-header-inner {
  background: transparent !important;
}

body.z-homepage .schematic-header-bar {
  border: none !important;
  max-width: 1380px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Logo has its own white interior inside the blue frame, no outer badge box */
body.z-homepage .schematic-header-logo {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: opacity 0.2s ease !important;
}

body.z-homepage .schematic-header-logo img {
  filter: none !important;
  height: 48px !important;
  max-height: 50px !important;
  width: auto !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}
body.z-homepage .schematic-header-logo:hover img {
  transform: scale(1.04) !important;
}

body.z-homepage .schematic-header-nav-list li a {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  transition: color 0.15s ease !important;
}

body.z-homepage .schematic-header-nav-list li a:hover {
  color: #ffffff !important;
}


/* ==========================================================================
   HEADER ACTIONS (Clean, No Box on Profile/Logout, Button only on Panel)
   ========================================================================== */
.schematic-user-header-group,
.schematic-guest-header-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* User Group: Profil (No box, clean text) */
.schematic-btn-profile {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
  transition: opacity 0.2s ease !important;
}
.schematic-btn-profile:hover {
  opacity: 0.8 !important;
}

/* User Group: Çıkış (No box, clean text) */
.schematic-btn-logout {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
  transition: color 0.2s ease !important;
}
.schematic-btn-logout:hover {
  color: #fca5a5 !important;
}

/* Müşteri Paneli Button: Yellow Zadarma pill */
.schematic-btn-panel-main {
  background-color: var(--z-yellow, #ffc83b) !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  border-radius: 9999px !important;
  border: none !important;
  padding: 8px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
}
.schematic-btn-panel-main:hover {
  background-color: var(--z-yellow-hover, #f5bc28) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Scrolled Header State for Actions */
body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-profile {
  color: #0f172a !important;
}
body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-logout {
  color: #dc2626 !important;
}
body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-logout:hover {
  color: #b91c1c !important;
}

body.z-homepage .schematic-header-mobile-toggle button {
  color: #ffffff !important;
}

/* ==========================================================================
   SCROLLED HEADER (Turns white with subtle shadow on scroll)
   ========================================================================== */
body.z-homepage .schematic-header-wrap.header-scrolled,
body.z-homepage .schematic-header-wrap.header-scrolled .schematic-header-inner {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: none !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08) !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-header-nav-list li a {
  color: #1e293b !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-header-nav-list li a:hover {
  color: #3580E6 !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-profile {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #0f172a !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-profile:hover {
  background: transparent !important;
  opacity: 0.7 !important;
  text-decoration: underline !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-logout {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #dc2626 !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-logout:hover {
  background: transparent !important;
  border: none !important;
  opacity: 0.8 !important;
  text-decoration: underline !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-login {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #0f172a !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-login:hover {
  background: transparent !important;
  opacity: 0.7 !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-register,
body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-panel-main {
  background-color: #ffd83b !important;
  border: 1px solid #ffd83b !important;
  color: #0f172a !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-register:hover,
body.z-homepage .schematic-header-wrap.header-scrolled .schematic-btn-panel-main:hover {
  background-color: #f7ce2a !important;
  border-color: #f7ce2a !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

body.z-homepage .schematic-header-wrap.header-scrolled .schematic-header-mobile-toggle button {
  color: #1e293b !important;
}

/* ==========================================================================
   2. HERO SECTION (Schema Blue Gradient)
   ========================================================================== */
.z-hero-section {
  position: relative;
  background: linear-gradient(180deg, var(--z-blue-top) 0%, var(--z-blue-mid) 42%, var(--z-blue-dark) 78%, var(--z-blue-bottom) 100%);
  margin-top: 0 !important;
  padding-top: 130px !important;
  padding-bottom: 90px;
  width: 100%;
  overflow: hidden;
}

.z-hero-container {
  width: 100%;
  max-width: var(--z-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.z-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 520px;
}

.z-hero-left {
  flex: 1 1 540px;
  max-width: 580px;
  z-index: 2;
}

.z-hero-h1 {
  font-size: 50px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.z-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--z-text-muted);
  margin: 0 0 36px 0;
  font-weight: 400;
}

.z-hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.z-btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--z-yellow);
  color: #111111 !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 15px 34px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #eab308;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.z-btn-yellow:hover {
  background-color: var(--z-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.z-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 15px 34px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.z-btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.z-hero-right {
  flex: 1 1 600px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

.z-hero-art {
  max-width: 660px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s ease;
}

.z-hero-art:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   3. 4 CORE REAL FEATURES BAR (Clean, Light, Grounded)
   ========================================================================== */
.z-features-bar {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 56px 0;
  width: 100%;
}

.z-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.z-feature-item {
  display: flex;
  flex-direction: column;
  padding: 6px 8px;
}

.z-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.z-feature-title-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #3580E6;
  display: inline-block;
  flex-shrink: 0;
}

.z-feature-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* ==========================================================================
   4. WHITE ZADARMA FOOTER (Clean, Light, Grounded, No Language/Currency)
   ========================================================================== */
body.z-homepage .schematic-footer-outer {
  background: #ffffff !important;
}

.z-white-footer {
  width: 100%;
  background-color: #ffffff;
  color: #475569;
  padding: 56px 0 32px 0;
  border-top: 1px solid #e2e8f0;
}

.z-footer-container {
  width: 100%;
  max-width: 1380px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Top Row: Logo */
.z-footer-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 30px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 40px;
}

.z-footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* Middle Grid: 3 Link Columns + Zadarma Contact Card */
.z-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.35fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 30px;
}

.z-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px 0;
}

.z-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.z-footer-col ul li a {
  font-size: 14px;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.z-footer-col ul li a:hover {
  color: #226dc8;
}

/* Zadarma Contact Card (Clean Light Style) */
.z-footer-contact-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.z-contact-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.z-headset-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #226dc8;
  flex-shrink: 0;
}

.z-contact-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.z-contact-subtitle {
  font-size: 12px;
  color: #64748b;
}

.z-contact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.z-btn-contact-wa {
  flex: 1;
  background-color: #25d366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  padding: 9px 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.z-btn-contact-wa:hover {
  background-color: #20ba59;
}

.z-btn-contact-mail {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  padding: 9px 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.z-btn-contact-mail:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
}

.z-contact-phone a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.z-contact-phone a:hover {
  color: #3580E6;
}

/* Bottom Row: Copyright & Socials */
.z-footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #94a3b8;
}

.z-footer-copy {
  font-size: 13px;
  color: #64748b;
}

.z-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.z-footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.15s ease;
}

.z-footer-socials a:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   5. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .z-hero-section {
    padding-top: 110px;
    padding-bottom: 60px;
  }
  .z-hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }
  .z-hero-left {
    max-width: 100%;
  }
  .z-hero-h1 {
    font-size: 38px;
  }
  .z-hero-lead {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }
  .z-hero-buttons {
    justify-content: center;
  }
  .z-hero-right {
    justify-content: center;
  }
  .z-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .z-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .schematic-header-bar, .z-footer-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .z-hero-section {
    padding-top: 96px;
    padding-bottom: 50px;
  }
  .z-hero-h1 {
    font-size: 28px;
  }
  .z-hero-lead {
    font-size: 15px;
  }
  .z-hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .z-btn-yellow, .z-btn-ghost {
    width: 100%;
  }
  .z-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .z-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .z-footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Modal Overlay Visibility */
.schematic-modal-backdrop:not(.is-active):not(.active) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.schematic-modal-backdrop.is-active,
.schematic-modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.schematic-btn-login,
.schematic-btn-register {
  cursor: pointer !important;
}
