:root {
  color-scheme: light;
  --background: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --navy: #081326;
  --green: #30d158;
  --radius-large: 32px;
  --radius-medium: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(245, 245, 247, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.nav-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #424245;
  font-size: 13px;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.language-switcher button {
  min-width: 35px;
  height: 27px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--surface-solid);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.11);
  color: var(--ink);
}

.language-switcher button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.home-hero {
  min-height: min(820px, calc(100vh - 56px));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding: 92px 0 108px;
}

.availability,
.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(48, 209, 88, 0.12);
  content: "";
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 8.2vw, 104px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.gradient-text {
  background: linear-gradient(100deg, #0071e3 5%, #6e5cff 52%, #bf5af2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 420;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.actions,
.social-links,
.project-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.actions {
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button.secondary:hover {
  background: #fff;
}

.button svg,
.text-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.portrait-wrap {
  position: relative;
  justify-self: end;
}

.portrait-wrap::before {
  position: absolute;
  z-index: -1;
  inset: -15% -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.2), rgba(191, 90, 242, 0.1) 46%, transparent 72%);
  filter: blur(10px);
  content: "";
}

.portrait {
  width: clamp(250px, 28vw, 350px);
  aspect-ratio: 0.82;
  border: 10px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.section {
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 42px;
}

.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-heading p {
  max-width: 500px;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  letter-spacing: -0.015em;
}

.project-card {
  overflow: hidden;
  display: grid;
  min-height: 570px;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-large);
  background: var(--navy);
  box-shadow: var(--shadow);
  color: #fff;
}

.project-content {
  padding: clamp(36px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.project-kicker {
  margin: 0 0 16px;
  color: #8ea8c8;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-content h3 {
  margin: 0;
  font-size: clamp(52px, 7vw, 82px);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.project-description {
  max-width: 490px;
  margin: 24px 0 32px;
  color: #b6c3d5;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.project-links .button.secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.project-links .button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.project-visual {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 210, 87, 0.88), transparent 18%),
    radial-gradient(circle at 24% 84%, rgba(48, 209, 88, 0.5), transparent 24%),
    linear-gradient(145deg, #142f62, #09162f 70%);
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.project-visual::before {
  width: 72%;
  aspect-ratio: 1;
}

.project-visual::after {
  width: 110%;
  aspect-ratio: 1;
}

.app-icon {
  position: relative;
  z-index: 2;
  width: min(54%, 250px);
  aspect-ratio: 1;
  flex: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22.37%;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 48px;
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--surface-solid);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.05);
}

.contact-card p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.social-links {
  justify-content: flex-end;
}

.social-links a {
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--blue);
}

/* Head Bull support and legal pages */
.legal-page,
.support-page {
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 113, 227, 0.1), transparent 34%),
    var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

.legal-page .page,
.support-page .page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 80px;
}

.legal-page .hero,
.support-page .hero {
  padding: clamp(34px, 6vw, 68px);
  border: 0;
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, #fff, #f3f7fc);
  box-shadow: var(--shadow);
}

.legal-page .eyebrow,
.legal-page .tag,
.support-page .tag {
  color: var(--blue);
}

.legal-page h1,
.support-page h1 {
  max-width: 920px;
  margin: 4px 0 18px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.legal-page .meta,
.support-page .hero > p {
  color: var(--muted);
}

.legal-page .status,
.legal-page .notice {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 113, 227, 0.17);
  border-radius: 16px;
  background: rgba(0, 113, 227, 0.07);
  color: #3a4656;
}

.legal-page .grid,
.support-page .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

.legal-page[data-ui-lang="tr"] [lang="en"],
.legal-page[data-ui-lang="en"] [lang="tr"],
.support-page[data-ui-lang="tr"] [lang="en"],
.support-page[data-ui-lang="en"] [lang="tr"] {
  display: none;
}

.legal-page[data-ui-lang] .grid,
.support-page[data-ui-lang] .grid {
  grid-template-columns: 1fr;
}

.legal-page .card,
.support-page .card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.045);
}

.legal-page .wide,
.support-page .wide {
  grid-column: 1 / -1;
}

.legal-page h2,
.support-page h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 27px;
  letter-spacing: -0.035em;
}

.legal-page h3,
.support-page h3 {
  margin: 34px 0 9px;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.015em;
}

.legal-page p,
.legal-page li,
.support-page p,
.support-page li {
  color: #515154;
}

.legal-page strong,
.support-page strong {
  color: var(--ink);
}

.legal-page a,
.support-page a {
  color: var(--blue);
}

.legal-page .warning {
  border-color: rgba(255, 159, 10, 0.25);
  background: #fffaf1;
}

.legal-page .links {
  gap: 12px 28px;
}

.support-page .contact {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 12px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.legal-page .footer,
.support-page .footer {
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.back-row {
  margin-bottom: 22px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 820px) {
  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 76px 0 88px;
  }

  .portrait-wrap {
    grid-row: 1;
    justify-self: start;
  }

  .portrait {
    width: 190px;
    border-width: 7px;
  }

  .section-heading,
  .project-card,
  .contact-card,
  .legal-page .grid,
  .support-page .grid {
    grid-template-columns: 1fr;
  }

  .section-heading p {
    justify-self: start;
  }

  .project-visual {
    grid-row: 1;
    min-height: 390px;
  }

  .social-links {
    justify-content: flex-start;
  }

  .legal-page .wide,
  .support-page .wide {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .nav-inner,
  .shell,
  .site-footer,
  .legal-page .page,
  .support-page .page {
    width: min(100% - 28px, 1120px);
  }

  .nav-links {
    gap: 15px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-links .optional-link {
    display: none;
  }

  .home-hero h1 {
    font-size: clamp(52px, 17vw, 74px);
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .project-card {
    border-radius: 24px;
  }

  .project-visual {
    min-height: 310px;
  }

  .project-description {
    font-size: 18px;
  }

  .contact-card {
    border-radius: 24px;
  }

  .site-footer {
    flex-direction: column;
  }

  .legal-page .page,
  .support-page .page {
    padding-top: 42px;
  }

  .legal-page .hero,
  .support-page .hero,
  .legal-page .card,
  .support-page .card {
    padding: 26px 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
