/* LOW web sitesi — renkler lib/core/theme/app_colors.dart ile aynı.
   Uygulamadaki palet değişirse önce app_colors.dart, sonra burası güncellenir. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0f111e;            /* darkBackground */
  --surface: #1c1e34;       /* darkSurface */
  --surface-border: #2e3258;/* darkSurfaceBorder */
  --text: #ffffff;          /* darkTextPrimary */
  --text-secondary: #8e95b2;/* darkTextSecondary */
  --primary: #5b4df7;       /* primary */
  --primary-light: #786df9; /* primaryLight */
  --violet: #8a2be2;        /* violet */
  --energy: #00d2d3;        /* energy */
  --cta: #ff6b6b;           /* cta */
  --radius: 20px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 10% -10%, rgba(91, 77, 247, 0.25), transparent 70%),
    radial-gradient(500px 360px at 110% 10%, rgba(0, 210, 211, 0.12), transparent 70%);
  pointer-events: none;
}

a { color: var(--primary-light); }
a:hover { color: var(--text); }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Üst çubuk */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.lang {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.lang:hover { color: var(--text); border-color: var(--primary); }

/* Metin sayfaları */
main { padding: 8px 0 48px; }
h1 {
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.15;
  margin: 12px 0 6px;
  font-weight: 800;
}
h2 {
  font-size: 21px;
  margin: 34px 0 8px;
  font-weight: 700;
}
h3 { font-size: 18px; margin: 22px 0 6px; font-weight: 600; }
p, li { color: #d9dcec; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 4px; }
.updated { color: var(--text-secondary); font-size: 15px; margin: 0 0 20px; }
strong { color: var(--text); }

.card {
  background: rgba(28, 30, 52, 0.72);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 18px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card.warn { border-color: rgba(255, 107, 107, 0.5); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), #7062fa);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(91, 77, 247, 0.35);
  transition: transform 0.12s ease;
}
.btn:hover { color: #fff; }
.btn:active { transform: scale(0.96); }

/* Ana sayfa */
.hero { text-align: center; padding: 40px 0 16px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 40px rgba(138, 43, 226, 0.45); }
.hero h1 { font-size: clamp(34px, 9vw, 52px); margin-top: 20px; }
.hero p { color: var(--text-secondary); font-size: 19px; margin: 8px auto 0; max-width: 520px; }
.soon {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 210, 211, 0.12);
  color: var(--energy);
  font-weight: 600;
  font-size: 15px;
}
.features { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 32px 0; }
.features .card { margin: 0; }
.features .emoji { font-size: 28px; }
.features h3 { margin: 6px 0 4px; }
.features p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* Alt bilgi */
footer {
  border-top: 1px solid var(--surface-border);
  padding: 20px 0 32px;
  color: var(--text-secondary);
  font-size: 14px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--text); }
