/* FocusFlow — static site styles (system fonts, no external deps) */

:root {
  --bg: #fbfbfd;
  --bg-elevated: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --accent: #c4714a;
  --accent-hover: #a85d3a;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --max-width: 720px;
  --page-width: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-elevated: #1c1c1e;
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #6e6e73;
    --accent: #e8977a;
    --accent-hover: #f0a88a;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), #8b5a3c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

nav a[aria-current="page"] {
  font-weight: 500;
}

/* Main */
main {
  flex: 1;
  width: 100%;
}

.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: clamp(19px, 3vw, 22px);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  font-weight: 400;
  line-height: 1.45;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* Feature grid */
.section {
  padding: 48px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 36px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Contact strip */
.contact-strip {
  margin: 24px auto 64px;
  max-width: 560px;
  text-align: center;
  padding: 32px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-strip h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-strip p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 12px;
}

.contact-strip .email {
  font-size: 17px;
  font-weight: 500;
}

/* Legal / support content */
.page-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.page-header .meta {
  font-size: 14px;
  color: var(--text-tertiary);
}

.legal-content {
  padding-bottom: 64px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 0 0 16px 1.25em;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.callout {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.callout p {
  margin: 0;
  font-size: 15px;
}

.section-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.page-header .subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 4px;
}

/* Bilingual privacy — CSS-only language toggle */
.lang-switcher input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch-labels {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.lang-switch-labels label {
  padding: 10px 28px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-switch-labels label:first-of-type {
  border-radius: 980px 0 0 980px;
}

.lang-switch-labels label:last-of-type {
  border-radius: 0 980px 980px 0;
  border-left: none;
}

#lang-tr:checked ~ .lang-switch-labels label[for="lang-tr"],
#lang-en:checked ~ .lang-switch-labels label[for="lang-en"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.lang-switcher .lang-panel-en {
  display: none;
}

.lang-switcher #lang-en:checked ~ .lang-panel-tr {
  display: none;
}

.lang-switcher #lang-en:checked ~ .lang-panel-en {
  display: block;
}

/* Support topics */
.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.topic-list li {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.topic-list h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.topic-list p {
  margin: 0;
  font-size: 15px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    justify-content: flex-start;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ——— Home page ——— */
.page-home {
  --hero-glow: rgba(196, 113, 74, 0.35);
  --card-hover: rgba(196, 113, 74, 0.08);
}

@media (prefers-color-scheme: dark) {
  .page-home {
    --hero-glow: rgba(232, 151, 122, 0.25);
    --card-hover: rgba(232, 151, 122, 0.1);
  }
}

.hero-home {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
  text-align: center;
}

.hero-home__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--hero-glow), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(196, 113, 74, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-home__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-home__visual {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
}

.hero-app-icon {
  position: absolute;
  inset: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  left: 50%;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--accent) 0%, #9a5c3e 100%);
  box-shadow:
    0 20px 40px rgba(196, 113, 74, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-app-icon span {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}

.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.hero-ring--1 {
  animation: hero-pulse 4s ease-in-out infinite;
}

.hero-ring--2 {
  inset: -12px;
  opacity: 0.5;
  animation: hero-pulse 4s ease-in-out infinite 0.6s;
}

@keyframes hero-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.06); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ring--1,
  .hero-ring--2 {
    animation: none;
  }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-home__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
  background: linear-gradient(180deg, var(--text) 0%, color-mix(in srgb, var(--text) 75%, var(--text-secondary)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
  .hero-home__title {
    -webkit-text-fill-color: unset;
    background: none;
    color: var(--text);
  }
}

.hero-home__tagline {
  font-size: clamp(18px, 2.5vw, 21px);
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.hero-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 980px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  text-decoration: none;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.btn-primary {
  box-shadow: 0 4px 20px rgba(196, 113, 74, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(196, 113, 74, 0.4);
}

.btn {
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover {
    transform: none;
  }
}

.section-home {
  padding: 24px 0 56px;
}

.section-home__intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title-home {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.features-bento--six {
  max-width: 960px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.also-strip {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 60%, transparent);
}

.also-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
}

.also-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 980px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.features-bento .feature-card {
  text-align: left;
  padding: 28px 26px;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.features-bento .feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

@media (prefers-color-scheme: dark) {
  .features-bento .feature-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-bento .feature-card:hover {
    transform: none;
  }
}

.feature-card--large {
  grid-column: 1 / -1;
}

.feature-card--accent {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--bg-elevated)), var(--bg-elevated));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  font-size: 20px;
  margin-bottom: 16px;
  line-height: 1;
}

.feature-card--accent .feature-icon {
  background: color-mix(in srgb, var(--accent) 22%, var(--bg));
}

.features-bento .feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.features-bento .feature-card p {
  font-size: 15px;
}

.contact-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 16px auto 72px;
  padding: 36px 40px;
  max-width: 880px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-banner__text h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.contact-banner__text p:last-child {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

.contact-banner__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .features-bento--six .feature-card:not(.feature-card--large) {
    min-height: 160px;
  }
}

@media (max-width: 720px) {
  .features-bento {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: auto;
  }

  .also-list {
    justify-content: flex-start;
  }

  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .contact-banner__btn {
    width: 100%;
    text-align: center;
  }

  .hero-home {
    padding: 32px 0 56px;
  }
}
