@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #060b1b;
  --bg-alt: #0d1329;
  --card: rgba(13, 19, 41, 0.9);
  --card-alt: rgba(255, 255, 255, 0.04);
  --text: #f4f6ff;
  --muted: #a9b4d4;
  --accent: #ffbf43;
  --accent-strong: #ff7b39;
  --border: rgba(255, 255, 255, 0.08);
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shell: min(1200px, 90vw);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 40px rgba(4, 6, 22, 0.55);
  --promo-height: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    url('/assets/imgs/banner-bg.webp') center/cover no-repeat fixed;
  color: var(--text);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

main {
  flex: 1;
  padding: 4rem 0 6rem;
}

.page-home main {
  padding-top: 2rem;
}

.content {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

section {
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

section h1,
section h2,
section h3,
section h4,
section h5,
section h6 {
  color: var(--text);
  margin-top: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  position: relative;
  padding-bottom: 0.35rem;
}

section h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
}

section h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--accent);
  margin-top: 2rem;
}

section h2::after,
section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
}

section ul,
section ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
  color: var(--muted);
  list-style: none;
}

section ul li,
section ol li {
  position: relative;
  padding-left: 1.25rem;
}

section ul li::before,
section ol li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 10px rgba(255, 191, 67, 0.5);
}

section li + li {
  margin-top: 0.35rem;
}

section p {
  color: var(--muted);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.table-scroll::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.table-scroll table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--card-alt);
}

th,
td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

thead th {
  background: rgba(255, 191, 67, 0.1);
  color: var(--accent);
  font-weight: 600;
}

tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.01);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

dl {
  margin: 0;
}

dt {
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.5rem;
}

dd {
  margin: 0.25rem 0 0 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 11, 27, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.cta-pill {
  border-radius: 999px;
  padding: 0.35rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 30px rgba(255, 123, 57, 0.35);
}

.cta-inline {
  display: inline-flex;
  margin-top: 1rem;
}

.cta-link {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  color: #1a0900;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: color 0.2s ease, transform 0.2s ease;
}

.cta-link:hover,
.cta-link:focus-visible {
  color: #ffffff;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  background: radial-gradient(circle at 20% 20%, rgba(255, 123, 57, 0.2), transparent 60%),
    radial-gradient(circle at 80% 0%, rgba(255, 191, 67, 0.25), transparent 65%),
    var(--card);
  box-shadow: var(--shadow-card);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/imgs/banner-application.webp') center/cover;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 1rem;
}

.hero-desc {
  color: var(--muted);
}

.banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  max-width: 700px;
  margin: 0 auto;
}

.banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.banner-inline {
  flex: 0 0 320px;
  max-width: 320px;
  margin: 0;
  display: flex;
  height: 100%;
}

.section-with-banner {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.section-with-banner .banner-inline img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.section-with-banner .section-text {
  flex: 1;
}

.app-section {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.app-media {
  flex: 0 0 340px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: var(--card-alt);
}

.app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(13, 19, 41, 0.95), rgba(17, 25, 52, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.demo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-button {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #1a0b00;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(255, 123, 57, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.demo-button:hover,
.demo-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(255, 123, 57, 0.45);
}

.demo-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.demo-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.demo-frame {
  min-height: clamp(420px, 60vh, 720px);
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.demo-frame.loading::after {
  content: 'Demo yükleniyor...';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 11, 27, 0.75);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.demo-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: calc(var(--radius-lg) - 6px);
  background: #000;
}

.demo-placeholder {
  margin: 0;
  color: var(--muted);
  max-width: 320px;
}

body.promo-active {
  --promo-height: 110px;
}

.sticky-promo {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(960px, calc(100% - 2rem));
  background: rgba(7, 10, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px 20px 0 0;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  z-index: 20;
  animation: promo-slide 0.4s ease forwards;
}

.promo-text {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #160800;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 45px rgba(255, 123, 57, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-button:hover,
.promo-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(255, 123, 57, 0.45);
}

@keyframes promo-slide {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.app-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.app-download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  color: #130a01;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  box-shadow: 0 15px 35px rgba(255, 123, 57, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-download-button:hover,
.app-download-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 123, 57, 0.45);
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: '–';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.banner-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(6, 11, 27, 0.75);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-top: auto;
  padding-bottom: var(--promo-height);
}

.footer-shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand-text {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-title {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.footer-note p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.footer-meta {
  text-align: center;
  padding: 1.25rem 0 1.75rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 1100px) {
  .header-shell {
    padding: 0.75rem 0;
    gap: 1rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .site-nav ul {
    gap: 0.65rem;
  }

  .site-nav a {
    padding: 0.3rem 0.4rem;
    font-size: 0.92rem;
  }

  .cta-pill {
    padding: 0.25rem;
  }

  .cta-link {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
  }
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: calc(1.5rem + var(--promo-height));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(6, 11, 27, 0.85);
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 15;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--accent-strong);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .section-with-banner {
    flex-direction: column;
  }

  .banner-inline {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: auto;
  }

  .section-with-banner .banner-inline img {
    height: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(6, 11, 27, 0.95);
    padding: 1.5rem;
    flex-direction: column;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .site-nav .cta-pill {
    align-self: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

  .header-shell {
    position: relative;
  }

  .hero {
    padding: 2.5rem;
  }

  section {
    padding: 2rem;
  }

  .app-section {
    flex-direction: column;
  }

  .app-media {
    width: 100%;
    max-width: 360px;
  }

  .demo-section {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 1rem;
    bottom: calc(1rem + var(--promo-height));
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .sticky-promo {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .promo-button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }

  .hero,
  section {
    padding: 1.5rem;
  }

  table,
  thead {
    font-size: 0.9rem;
  }
}
