:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  background: #100803;
  color: #fff;
  font-synthesis: none;
  --orange: #ff6a00;
  --orange-soft: #ff8a32;
  --panel: rgba(10, 7, 5, .78);
  --line: rgba(255, 255, 255, .13);
}

* {
  box-sizing: border-box;
}

::selection {
  background: rgba(255, 106, 0, .76);
  color: #fff;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #100803;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-page {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  background: #f7f8fa;
}

.landing-page::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 104, 0, .12), transparent 36%),
    linear-gradient(90deg, rgba(0, 0, 0, .42), transparent 24%, transparent 76%, rgba(0, 0, 0, .42));
  pointer-events: none;
}

.landing-header,
.landing-footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-color: rgba(255, 255, 255, .09);
  background: rgba(5, 3, 2, .89);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-header {
  z-index: 10;
  min-height: 84px;
  padding: 14px clamp(24px, 3.2vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.landing-brand {
  display: inline-flex;
  width: 280px;
  height: 56px;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
}

.restomap-header-logo {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('/assets/restomap-kurye-takip.jpg?v=2');
  background-position: center 51%;
  background-repeat: no-repeat;
  background-size: 130% auto;
}

.landing-brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 122, 26, .42);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(255, 106, 0, .17);
  object-fit: cover;
}

.landing-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.landing-brand strong,
.landing-footer strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.landing-brand small {
  margin-top: 4px;
  color: var(--orange-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .32em;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-login,
.header-start,
.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.header-login {
  min-height: 44px;
  padding: 10px 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.header-start {
  min-width: 150px;
  min-height: 46px;
  padding: 11px 24px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: #fff;
  color: #15110f;
  font-size: 14px;
}

.landing-main {
  display: flex;
  width: 100%;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: clamp(38px, 6vh, 70px) clamp(24px, 3.2vw, 56px);
}

.landing-main-visual {
  background-image: url('/assets/restomap-kurye-takip.jpg?v=1');
  background-position: center;
  background-size: cover;
}

.landing-main-visual .landing-hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, .08), transparent 35%),
    rgba(10, 7, 5, .48);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.landing-hero {
  position: relative;
  display: flex;
  width: min(1420px, 100%);
  min-height: clamp(520px, 65vh, 680px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, .1), transparent 35%),
    var(--panel);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-hero::after {
  position: absolute;
  right: 9%;
  bottom: -170px;
  width: 430px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 106, 0, .17);
  content: '';
  filter: blur(90px);
  pointer-events: none;
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  padding: 72px 42px 56px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 106, 0, .12);
}

.landing-hero h1 {
  max-width: 980px;
  margin: 0 auto 22px;
  color: #fff;
  font-size: clamp(44px, 5vw, 75px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}

.landing-hero h1 em {
  display: inline-block;
  color: var(--orange-soft);
  font-style: normal;
}

.hero-summary {
  max-width: 790px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
  text-wrap: balance;
}

.panel-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.panel-link {
  min-width: 220px;
  min-height: 72px;
  flex-direction: column;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.panel-link span {
  font-size: 16px;
}

.panel-link small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  font-weight: 500;
}

.panel-link-primary {
  border-color: rgba(255, 133, 48, .8);
  background: linear-gradient(135deg, #ff7a1a, #e85400);
  color: #fff;
  box-shadow: 0 14px 36px rgba(230, 83, 0, .28);
}

.panel-link-primary small {
  color: rgba(255, 255, 255, .72);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-top: 32px;
  color: rgba(255, 255, 255, .57);
  font-size: 12px;
  font-weight: 500;
}

.hero-features span {
  position: relative;
  padding-left: 14px;
}

.hero-features span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  content: '';
  transform: translateY(-50%);
}

.header-login:hover,
.header-start:hover,
.panel-link:hover {
  transform: translateY(-2px);
}

.header-login:hover,
.panel-link:not(.panel-link-primary):hover {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .12);
}

.header-start:hover {
  box-shadow: 0 12px 30px rgba(255, 255, 255, .12);
}

.panel-link-primary:hover {
  background: linear-gradient(135deg, #ff8a32, #f15b00);
  box-shadow: 0 16px 38px rgba(230, 83, 0, .38);
}

.header-login:focus-visible,
.header-start:focus-visible,
.panel-link:focus-visible,
.landing-brand:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.landing-footer {
  min-height: 74px;
  padding: 18px clamp(24px, 3.2vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.landing-footer strong {
  font-size: 15px;
}

.landing-footer span {
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
}

@media (max-width: 760px) {
  .landing-page {
    overflow: auto;
  }

  .landing-header {
    min-height: 72px;
    padding: 11px 16px;
  }

  .landing-brand {
    width: 190px;
    height: 44px;
  }

  .restomap-header-logo {
    background-size: 135% auto;
  }

  .landing-brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .landing-brand strong {
    font-size: 16px;
  }

  .landing-brand small {
    font-size: 8px;
  }

  .landing-header-actions {
    gap: 4px;
  }

  .header-login {
    display: none;
  }

  .header-start {
    min-width: auto;
    min-height: 42px;
    padding: 9px 15px;
    font-size: 12px;
  }

  .landing-main {
    padding: 22px 14px;
  }

  .landing-main-visual {
    background-size: cover;
  }

  .landing-hero {
    min-height: auto;
    border-radius: 22px;
  }

  .landing-hero-content {
    padding: 48px 20px 36px;
  }

  .hero-eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
    letter-spacing: .1em;
  }

  .landing-hero h1 {
    font-size: clamp(36px, 11.2vw, 52px);
    line-height: 1.04;
  }

  .hero-summary {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.55;
  }

  .panel-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .panel-link {
    width: min(100%, 340px);
    min-height: 66px;
    margin: 0 auto;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
  }

  .landing-footer {
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 17px 16px;
    text-align: center;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .landing-main {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .landing-hero {
    min-height: 510px;
  }

  .landing-hero-content {
    padding-top: 48px;
    padding-bottom: 38px;
  }

  .landing-hero h1 {
    font-size: clamp(43px, 4.5vw, 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
