/* Thales Elektrik — modern UI (Tailwind CDN yerine yerel CSS) */

:root {
  --m-bg: #fafbfc;
  --m-white: #ffffff;
  --m-text: #1e293b;
  --m-muted: #64748b;
  --m-border: #e2e8f0;
  --m-red: #dc2626;
  --m-red-dark: #b91c1c;
  --m-red-soft: #fef2f2;
  --m-header-h: 72px;
  --m-radius: 12px;
  --m-radius-lg: 16px;
  --m-radius-xl: 24px;
  --m-shadow-soft: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
  --m-shadow-card: 0 8px 32px -8px rgba(0, 0, 0, 0.1);
  --m-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --m-font-brand: var(--m-font);
  --m-ease: 0.2s ease;
}

html.scroll-smooth { scroll-behavior: smooth; }

body.landing-body {
  margin: 0;
  font-family: var(--m-font-brand);
  color: var(--m-text);
  background: var(--m-bg);
  -webkit-font-smoothing: antialiased;
}

.is-hidden { display: none !important; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--m-header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: background var(--m-ease), box-shadow var(--m-ease);
}

.site-header--scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--m-shadow-soft);
}

.site-header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img { height: 44px; width: auto; display: block; }

.site-header__toggle {
  display: flex;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: var(--m-radius);
  color: var(--m-muted);
  cursor: pointer;
}

.site-header__toggle:hover { background: #f1f5f9; }
.site-header__toggle svg { width: 24px; height: 24px; }

.site-nav {
  display: none;
  position: absolute;
  top: var(--m-header-h);
  left: 0; right: 0;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--m-white);
  border-bottom: 1px solid var(--m-border);
  box-shadow: var(--m-shadow-soft);
  border-radius: 0 0 var(--m-radius-lg) var(--m-radius-lg);
  max-height: calc(100vh - var(--m-header-h));
  overflow-y: auto;
}

.site-nav--open { display: flex; }

.site-nav__link {
  display: block;
  padding: 10px 16px;
  border-radius: var(--m-radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--m-muted);
  text-decoration: none;
  transition: color var(--m-ease), background var(--m-ease);
}

.site-nav__link:hover { color: var(--m-text); background: #f8fafc; }
.site-nav__link--active { color: var(--m-red); background: var(--m-red-soft); }

.site-nav__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--m-red);
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--m-radius);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2);
  text-decoration: none;
}

.site-nav__cta:hover { background: var(--m-red-dark); }

.mega-menu-wrap { position: relative; display: none; }

.mega-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: var(--m-radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--m-muted);
  cursor: pointer;
}

.mega-menu__trigger:hover { color: var(--m-text); background: #f8fafc; }
.mega-menu__trigger--active { color: var(--m-red); background: var(--m-red-soft); }
.mega-menu__trigger svg { width: 16px; height: 16px; opacity: 0.6; }

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 32px));
  padding: 24px;
  background: var(--m-white);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-lg);
  box-shadow: var(--m-shadow-card);
  z-index: 60;
}

.mega-menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.mega-menu__cat-link { display: block; margin-bottom: 12px; text-decoration: none; }
.mega-menu__cat-tag { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--m-red); }
.mega-menu__cat-title { display: block; font-size: 0.875rem; font-weight: 600; color: var(--m-text); margin-top: 4px; line-height: 1.35; }
.mega-menu__cat-link:hover .mega-menu__cat-title { color: var(--m-red); }

.mega-menu__list { list-style: none; margin: 0; padding: 0; }
.mega-menu__list a { display: block; padding: 2px 0; font-size: 0.875rem; color: var(--m-muted); text-decoration: none; }
.mega-menu__list a:hover { color: var(--m-red); }

.mega-menu__footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid #f1f5f9; text-align: center; }
.mega-menu__footer a { font-size: 0.875rem; font-weight: 600; color: var(--m-red); text-decoration: none; }

.mega-menu-mobile { width: 100%; }
.mega-menu-mobile__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--m-muted);
  cursor: pointer;
  border-radius: var(--m-radius);
}

.mega-menu-mobile__toggle svg { width: 16px; height: 16px; transition: transform var(--m-ease); }
.mega-menu-mobile__toggle svg.is-rotated { transform: rotate(180deg); }
.mega-menu-mobile__panel { padding: 0 8px 8px; }
.mega-menu-mobile__group { margin-bottom: 16px; }
.mega-menu-mobile__group-tag { display: block; padding: 0 8px; margin-bottom: 8px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--m-red); text-decoration: none; }
.mega-menu-mobile__group a { display: block; padding: 6px 8px; font-size: 0.875rem; color: var(--m-muted); text-decoration: none; border-radius: 8px; }
.mega-menu-mobile__group a:hover { background: #f8fafc; }
.mega-menu-mobile__all { display: block; padding: 8px; font-size: 0.875rem; font-weight: 600; color: var(--m-red); text-decoration: none; }

@media (min-width: 768px) {
  .site-header__toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .mega-menu-wrap { display: block; }
  .mega-menu-mobile { display: none; }
  .site-nav__cta { margin-top: 0; margin-left: 8px; }
}

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

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--m-red);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--m-radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
  transition: background var(--m-ease), transform var(--m-ease);
}

.btn-red:hover { background: var(--m-red-dark); transform: translateY(-1px); }
.btn-red--sm { padding: 10px 16px; font-size: 0.875rem; }
.btn-red--block { width: 100%; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--m-white);
  color: var(--m-text);
  font-weight: 600;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  text-decoration: none;
}

.btn-outline:hover { border-color: #cbd5e1; box-shadow: var(--m-shadow-soft); }
.btn-outline svg { width: 16px; height: 16px; color: var(--m-red); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #0f172a;
  color: #fff;
  font-weight: 500;
  border-radius: var(--m-radius);
  text-decoration: none;
}

.btn-dark svg { width: 16px; height: 16px; }

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #fff;
  color: var(--m-red);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--m-radius);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.landing-container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

.landing-hero {
  padding-top: var(--m-header-h);
  overflow: hidden;
  background-color: var(--m-bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(220, 38, 38, 0.07) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(220, 38, 38, 0.05) 0, transparent 45%),
    radial-gradient(at 50% 100%, rgba(148, 163, 184, 0.08) 0, transparent 50%);
}

.landing-hero__inner { padding: 64px 0; display: grid; gap: 48px; align-items: center; }

.landing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  background: var(--m-white);
  border: 1px solid #fecaca;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--m-red);
  box-shadow: var(--m-shadow-soft);
}

.landing-hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--m-red); }

.landing-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 24px;
}

.landing-hero__title span {
  background: linear-gradient(90deg, var(--m-red), #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero__desc { font-size: 1.125rem; line-height: 1.7; color: var(--m-muted); max-width: 36rem; margin: 0 0 32px; }
.landing-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.landing-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }

.landing-stat {
  padding: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--m-radius-lg);
  box-shadow: var(--m-shadow-soft);
}

.landing-stat__num { font-size: 1.5rem; font-weight: 700; color: #0f172a; }
.landing-stat__num--accent { color: var(--m-red); }
.landing-stat__label { font-size: 0.75rem; color: var(--m-muted); margin-top: 4px; }

.landing-hero__visual { position: relative; }
.landing-hero__glow {
  position: absolute;
  inset: -16px;
  background: linear-gradient(135deg, rgba(254, 202, 202, 0.6), rgba(226, 232, 240, 0.4));
  border-radius: 2rem;
  filter: blur(32px);
  z-index: 0;
}

.landing-hero__frame {
  position: relative;
  border-radius: var(--m-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--m-shadow-card);
  z-index: 1;
}

.landing-hero__frame img,
.landing-hero__frame picture { width: 100%; display: block; }
.landing-hero__frame img { aspect-ratio: 4 / 3; object-fit: cover; }

.landing-hero__frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.3), transparent);
  pointer-events: none;
}

.landing-hero__trust {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--m-radius-lg);
  border: 1px solid #fff;
  box-shadow: var(--m-shadow-soft);
  z-index: 2;
}

.landing-hero__trust-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--m-red);
  border-radius: var(--m-radius);
  color: #fff;
}

.landing-hero__trust-icon svg { width: 20px; height: 20px; }
.landing-hero__trust-title { font-size: 0.875rem; font-weight: 600; margin: 0; }
.landing-hero__trust-desc { font-size: 0.75rem; margin: 0; color: var(--m-muted); }

@media (min-width: 1024px) {
  .landing-hero__inner { grid-template-columns: 1fr 1fr; gap: 64px; padding: 96px 0; }
  .landing-hero__content { order: 1; }
  .landing-hero__visual { order: 2; }
  .landing-stat { text-align: left; }
}

.landing-section { padding: 80px 0; }
.landing-section--white { background: var(--m-white); }
.landing-section--alt { background: var(--m-bg); border-top: 1px solid rgba(226, 232, 240, 0.6); border-bottom: 1px solid rgba(226, 232, 240, 0.6); }

.landing-section__head { text-align: center; max-width: 40rem; margin: 0 auto 64px; }

.landing-tag {
  display: inline-flex;
  padding: 4px 12px;
  margin-bottom: 16px;
  background: var(--m-red-soft);
  color: var(--m-red);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

.landing-section__title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: #0f172a; margin: 0 0 16px; }
.landing-section__desc { font-size: 1.05rem; line-height: 1.65; color: var(--m-muted); margin: 0; }
.landing-section__cta { text-align: center; margin-top: 56px; }

.landing-cat { margin-bottom: 64px; }
.landing-cat:last-child { margin-bottom: 0; }
.landing-cat__head { display: flex; gap: 16px; margin-bottom: 32px; }
.landing-cat__bar { display: none; width: 4px; min-height: 48px; border-radius: 999px; background: linear-gradient(to bottom, var(--m-red), var(--m-red-dark)); flex-shrink: 0; }
.landing-cat__title { font-size: clamp(1.5rem, 2.5vw, 1.875rem); font-weight: 700; margin: 0 0 8px; }
.landing-cat__desc { margin: 0; font-size: 0.95rem; line-height: 1.65; color: var(--m-muted); max-width: 40rem; }

.landing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

@media (min-width: 640px) {
  .landing-cat__bar { display: block; }
  .landing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .landing-grid { grid-template-columns: repeat(3, 1fr); }
}

.l-card {
  background: var(--m-white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--m-radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.l-card:hover { transform: translateY(-8px); border-color: #fecaca; box-shadow: var(--m-shadow-card); }
.l-card__link { display: block; padding: 24px 24px 16px; text-decoration: none; color: inherit; }

.l-card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: var(--m-radius-lg);
  background: linear-gradient(135deg, var(--m-red-soft), #fee2e2);
  color: var(--m-red);
}

.l-card__icon svg { width: 24px; height: 24px; }
.l-card__title { font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; }
.l-card:hover .l-card__title { color: var(--m-red); }
.l-card__desc { margin: 0; font-size: 0.875rem; line-height: 1.6; color: var(--m-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.l-card__footer { padding: 0 24px 24px; }

.landing-trust { display: grid; grid-template-columns: 1fr; gap: 24px; }
.landing-trust__item { text-align: center; padding: 32px; background: var(--m-white); border: 1px solid rgba(226, 232, 240, 0.8); border-radius: var(--m-radius-lg); box-shadow: var(--m-shadow-soft); }
.landing-trust__icon { width: 56px; height: 56px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: var(--m-red-soft); color: var(--m-red); font-size: 1.5rem; font-weight: 700; border-radius: var(--m-radius-lg); }
.landing-trust__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.landing-trust__desc { font-size: 0.875rem; line-height: 1.6; color: var(--m-muted); margin: 0; }

@media (min-width: 768px) {
  .landing-trust { grid-template-columns: repeat(3, 1fr); }
}

.landing-cta-wrap { padding: 80px 0; }
.landing-cta { position: relative; overflow: hidden; padding: 56px 32px; text-align: center; border-radius: var(--m-radius-xl); background: linear-gradient(135deg, var(--m-red), var(--m-red-dark)); box-shadow: var(--m-shadow-card); }
.landing-cta__inner { position: relative; max-width: 36rem; margin: 0 auto; }
.landing-cta__title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: #fff; margin: 0 0 16px; }
.landing-cta__desc { font-size: 1.05rem; line-height: 1.65; color: #fecaca; margin: 0 0 32px; }

.landing-footer { background: var(--m-white); border-top: 1px solid var(--m-border); padding: 64px 0; }
.landing-footer__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.landing-footer__brand img { height: 40px; margin-bottom: 20px; }
.landing-footer__brand p { font-size: 0.875rem; line-height: 1.65; color: var(--m-muted); max-width: 24rem; margin: 0 0 24px; }
.landing-footer__social { display: flex; gap: 8px; }
.landing-footer__social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--m-radius); background: #f8fafc; border: 1px solid var(--m-border); color: var(--m-muted); }
.landing-footer__social a:hover { color: var(--m-red); border-color: #fecaca; background: var(--m-red-soft); }
.landing-footer__social svg { width: 20px; height: 20px; }
.landing-footer__heading { font-size: 0.875rem; font-weight: 700; margin: 0 0 16px; }
.landing-footer__links { list-style: none; margin: 0; padding: 0; }
.landing-footer__links li { margin-bottom: 12px; }
.landing-footer__links a { font-size: 0.875rem; color: var(--m-muted); text-decoration: none; }
.landing-footer__links a:hover { color: var(--m-red); }
.landing-footer__contact { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: var(--m-muted); }
.landing-footer__contact li { margin-bottom: 12px; }
.landing-footer__contact a { color: inherit; text-decoration: none; }
.landing-footer__bottom { margin-top: 48px; padding-top: 32px; border-top: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; font-size: 0.875rem; color: #94a3b8; }

@media (min-width: 768px) {
  .landing-footer__grid { grid-template-columns: 1fr 1fr; }
  .landing-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .landing-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 50;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #fff;
  border-radius: var(--m-radius-lg);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.wa-fab svg { width: 28px; height: 28px; }
