/* HEADER - Shared across all pages */
/* Announcement bar */
.announce-bar {
  background: #fef3ee; text-align: center; padding: 10px 20px;
  font-size: 14px; color: var(--text);
}
.announce-bar a { color: var(--text); font-weight: 600; text-decoration: underline; }
.announce-bar span { color: var(--text-2); }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  pointer-events: none;
  transition: transform 0.4s ease;
}
nav.scrolled { transform: translateY(-36px); }
nav * { pointer-events: all; }
.nav-announce-bar {
  background: #fef3ee;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-announce-bar strong { font-weight: 600; }

.nav-bar {
  padding: 12px 0;
}
.nav-inner {
  max-width: 900px; margin: 8px auto;
  padding: 10px 24px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo-icon { width: 32px; height: 32px; background: var(--text); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-family: serif; font-size: 18px; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; justify-content: center; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--text); text-decoration: none; }
.nav-links a:hover { color: var(--text-2); }
.nav-btn-outline { padding: 7px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text); text-decoration: none; transition: all 0.2s; }
.nav-btn-outline:hover { border-color: var(--text); }
.nav-cta { background: var(--text, #0f172a); color: white; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: transform 0.2s, box-shadow 0.2s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* MEGA MENU */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  font-size: 14px; font-weight: 400; color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
}
.nav-dropdown-trigger:hover { color: var(--text-2); }
.nav-dropdown-trigger svg { transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.nav-dropdown:hover .mega-menu {
  opacity: 1; visibility: visible; pointer-events: all;
}

.mega-menu-inner {
  display: grid; grid-template-columns: 1fr auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  min-width: 680px;
}

.mega-menu-links {
  padding: 12px;
  display: flex; flex-direction: column; gap: 2px;
}

.mega-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none; color: var(--text);
  transition: background 0.15s;
}
.mega-item:hover { background: #f8f8fa; }

.mega-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #f8f8fa; border-radius: 10px; flex-shrink: 0; color: var(--text-2); }
.mega-item:hover .mega-icon { background: #f0f0f4; color: var(--accent-text); }

.mega-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.mega-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.4; }

.mega-menu-feature {
  background: linear-gradient(135deg, #f8f7ff 0%, #fef3ee 100%);
  padding: 32px 36px;
  display: flex; flex-direction: column; justify-content: center;
  width: 300px;
  border-left: 1px solid var(--border);
}

.mega-feature-agents {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 16px;
}
.mega-agent-img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
  filter: grayscale(0.1);
  transition: transform 0.2s, filter 0.2s;
}
.mega-agent-img:hover { transform: scale(1.05); filter: grayscale(0); }

.mega-feature-badge {
  font-size: 11px; font-weight: 600; color: var(--accent-text);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em;
}
.mega-feature-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.mega-feature-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin-bottom: 16px; }
.mega-feature-cta {
  font-size: 13px; font-weight: 600; color: var(--accent-text); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.mega-feature-cta:hover { text-decoration: underline; }

/* PRODUCT MEGA MENU */
.mega-menu-product .mega-menu-inner {
  min-width: 820px;
  grid-template-columns: 1fr 1fr auto;
}
.mega-col { padding: 12px; }
.mega-col-border { border-left: 1px solid var(--border); }
.mega-col-label {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 16px 4px;
}

.mega-item-arrow { position: relative; }
.mega-arrow { font-size: 14px; color: var(--text-3); opacity: 0; transition: opacity 0.15s, transform 0.15s; margin-left: auto; }
.mega-item-arrow:hover .mega-arrow { opacity: 1; transform: translateX(2px); }

.mega-product-right {
  width: 240px; border-left: 1px solid var(--border);
  padding: 12px; display: flex; flex-direction: column; gap: 4px;
}

.mega-product-img {
  padding: 12px 12px 8px;
}
.mega-product-illustration {
  width: 100%; height: auto; border-radius: 10px;
  background: #fafafa; padding: 4px;
}

.mega-right-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text);
}
a.mega-right-item:hover { background: #f8f8fa; }
a.mega-right-item:hover .mega-icon { background: #f0f0f4; color: var(--accent-text); }
.mega-right-item .mega-icon { width: 32px; height: 32px; min-width: 32px; border-radius: 8px; }
.mega-right-item .mega-title { font-size: 13px; margin-bottom: 1px; }
.mega-right-item .mega-desc { font-size: 11.5px; }

.mega-new-badge {
  font-size: 9px; font-weight: 700; color: var(--accent-text);
  background: #eef2ff; padding: 2px 6px; border-radius: 4px;
  margin-left: 6px; vertical-align: middle; letter-spacing: 0.05em;
}

/* RESOURCES MEGA MENU */
.mega-menu-resources { left: 0; }
.mega-menu-resources .mega-menu-inner {
  width: min(860px, calc(100vw - 40px));
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 220px;
}
.mega-menu-resources .mega-menu-links { min-width: 0; gap: 4px; }
.mega-menu-resources .mega-item { align-items: flex-start; padding: 12px; gap: 12px; }
.mega-menu-resources .mega-menu-feature { justify-content: flex-start; }
.mega-menu-resources .mega-feature-card > .mega-col-label { padding-inline: 0; margin-bottom: 4px; }

.mega-feature-card {
  width: 220px; padding: 12px;
  display: flex; flex-direction: column; gap: 0;
  border-left: 1px solid var(--border); background: white;
}
.mega-card-img {
  background: #0f172a; border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.mega-card-img::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(99,102,241,0.15) 0%, transparent 60%),
              radial-gradient(circle at 30% 70%, rgba(249,115,22,0.1) 0%, transparent 60%);
}
.mega-card-badge {
  font-size: 11px; font-weight: 500; color: white; background: rgba(255,255,255,0.15);
  padding: 3px 10px; border-radius: 20px; align-self: flex-start;
  position: relative; z-index: 1;
}
.mega-card-title {
  font-size: 18px; font-weight: 700; color: white; line-height: 1.2;
  position: relative; z-index: 1;
}
.mega-card-title span { color: #f97316; }
.mega-card-info { padding: 12px 4px 4px; }
.mega-card-headline { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.mega-card-sub { font-size: 12px; color: var(--text-2); line-height: 1.4; }

/* COMPANY MEGA MENU */
.mega-menu-company .mega-menu-inner { min-width: 540px; }
.mega-menu-company .mega-menu-links { gap: 4px; }

.mega-feature-visual {
  background: #f5efe8;
  display: flex; align-items: center; justify-content: center;
  width: 200px; position: relative; overflow: hidden;
}
.mega-feature-visual::before,
.mega-feature-visual::after {
  content: ''; position: absolute; border: 1.5px solid rgba(200,120,80,0.3); border-radius: 50%;
}
.mega-feature-visual::before { width: 160px; height: 160px; top: -40px; right: -40px; }
.mega-feature-visual::after { width: 120px; height: 120px; bottom: -30px; left: -30px; }

.mega-illustration { width: 160px; height: 130px; z-index: 1; }

/* HAMBURGER */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 28px; position: relative; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; width: 5px; height: 5px;
  background: var(--text); border-radius: 50%; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translate(0, 10px) rotate(45deg); width: 20px; height: 2px; border-radius: 2px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translate(0, -10px) rotate(-45deg); width: 20px; height: 2px; border-radius: 2px; }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* LANGUAGE SWITCHER — Animated Globe */
.lang-switch { position: relative; }
.lang-switch-btn {
  width: 36px; height: 36px;
  border: none; border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0; outline: none;
}
/* Translate Icon — V2 Gold Front */
.translate-svg { width: 22px; height: 22px; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.lang-switch-btn:hover .translate-svg { transform: scale(1.1); }
.tr-bubble-back, .tr-bubble-front, .tr-char-back, .tr-char-front { transition: fill 0.3s, filter 0.3s; }

/* Default — scrolled-style frosted depth (always) */
.tr-bubble-back { fill: rgba(15,23,42,0.12); }
.tr-bubble-front { fill: rgba(15,23,42,0.35); }
.tr-char-back { fill: rgba(15,23,42,0.35); }
.tr-char-front { fill: white; }
.lang-switch-btn:hover .tr-bubble-back { fill: rgba(15,23,42,0.2); }
.lang-switch-btn:hover .tr-bubble-front { fill: rgba(15,23,42,0.5); filter: drop-shadow(0 1px 4px rgba(15,23,42,0.08)); }
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 148px;
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: 4px;
  box-shadow: 0 8px 30px rgba(15,23,42,0.12);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-4px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
}
.lang-switch:hover .lang-dropdown,
.lang-switch:focus-within .lang-dropdown {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 7px;
  text-decoration: none; color: var(--text);
  font-size: 13px; font-weight: 500;
  transition: background 0.15s ease;
}
.lang-option:hover { background: #f1f5f9; }
.lang-option.active { font-weight: 600; }
.lang-option .flag { font-size: 17px; line-height: 1; }
.lang-option .check {
  width: 14px; height: 14px; color: var(--text); opacity: 0; margin-left: auto;
}
.lang-option.active .check { opacity: 0.5; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: white; z-index: 99;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
  overflow-y: auto;
  padding: 100px 24px 40px;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: all; }

.mobile-menu-inner { max-width: 400px; margin: 0 auto; }

.mobile-menu-section {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu-label {
  font-size: 16px; font-weight: 600; color: var(--text);
  padding: 12px 0;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; user-select: none;
}
.mobile-menu-label svg { 
  color: var(--text-3); transition: transform 0.3s; 
}
.mobile-menu-section.expanded .mobile-menu-label svg { 
  transform: rotate(180deg); 
}
.mobile-menu-dropdown {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 8px;
}
.mobile-menu-section.expanded .mobile-menu-dropdown { 
  max-height: 500px; padding-bottom: 8px; 
}
.mobile-sub-label {
  font-size: 10px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 0 4px;
}
.mobile-menu-section a {
  font-size: 15px; color: var(--text-2); text-decoration: none;
  padding: 8px 0; font-weight: 400;
}
.mobile-menu-section a:hover { color: var(--accent-text); }
.mobile-menu-link-main { font-weight: 600 !important; font-size: 16px !important; color: var(--text) !important; }

.mobile-menu-cta {
  display: block; text-align: center;
  background: var(--text, #0f172a); color: white;
  padding: 14px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  margin-top: 24px;
}

/* RESPONSIVE - Tablet */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mega-menu { display: none; }
  .hamburger { display: flex; }
  .nav-inner {
    grid-template-columns: auto auto;
    padding: 10px 20px;
    justify-content: space-between;
  }
  .nav-cta { width: auto; }
  .lang-switch { display: none; }
}

/* RESPONSIVE - Mobile */
@media (max-width: 600px) {
  .announce-bar { font-size: 12px; padding: 8px 16px; }
  .nav-announce-bar { 
    font-size: 11px; 
    padding: 6px 16px; 
    height: 32px; 
  }
  .nav-announce-bar strong { display: none; }
  .nav-bar { padding: 8px 0; }
  .nav-inner { 
    padding: 8px 16px; 
    margin: 6px 16px; 
  }
  .logo { font-size: 16px; }
  .logo-icon { width: 28px; height: 28px; font-size: 16px; }
  .nav-cta { 
    padding: 7px 14px; 
    font-size: 12px; 
  }
  .nav-inner { 
    padding: 8px 10px; 
    margin: 6px 10px; 
  }
  nav.scrolled { transform: translateY(-32px); }
}
/* Lycia AI - lyciaai.com */

/* Nazar boncuğu + tooltip */
.nazar-wrap { position: relative; display: inline-flex; align-items: center; cursor: default; }
.nazar-wrap::after {
  content: attr(data-tip);
  position: absolute; left: 50%; top: calc(100% + 10px);
  transform: translateX(-50%) translateY(-4px);
  background: #0f172a; color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  padding: 7px 13px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 24px rgba(15,23,42,0.25);
  z-index: 1200;
}
.nazar-wrap::before {
  content: ''; position: absolute; left: 50%; top: calc(100% - 2px);
  transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: #0f172a;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  z-index: 1200;
}
.nazar-wrap:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.nazar-wrap:hover::before { opacity: 1; }
