/* hivroj.com tanıtım sayfası: beyaz zemin, kutusuz; renkler uygulamadan
   (lib/core/constants/colors.dart), yazı tipleri uygulamadan (Sora, DM Sans) */
@font-face { font-family: Sora; src: url(/fonts/Sora-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Sora; src: url(/fonts/Sora-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/fonts/DMSans-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(/fonts/DMSans-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --ink: #0A0A0A;      /* HIVROJ yazısı, logodaki H */
  --green: #15803D;    /* uygulamanın ana rengi */
  --green-dark: #166534;
  --sun: #FEBD11;      /* logonun güneşi */
  --sun-deep: #D97706; /* beğeni güneşi */
  --text: #111111;
  --sub: #555555;
  --line: #EBEBEB;
  --gutter: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.65 "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
  overflow-x: hidden;
}
[dir=rtl] body, [dir=rtl] .display, [dir=rtl] h2 { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; }
a { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* Üst satır */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; }
.wordmark { font: 700 20px/1 Sora, sans-serif; letter-spacing: .32em; color: var(--ink); }
.langs { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.langs button {
  font: 500 14px/1 "DM Sans", "Noto Sans Arabic", sans-serif; color: var(--sub);
  background: none; border: 0; padding: 8px 10px; cursor: pointer;
}
.langs button[aria-pressed=true] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Giriş: büyük güneş sağ kenardan taşar */
.hero { position: relative; padding: clamp(40px, 9vw, 120px) var(--gutter) clamp(56px, 10vw, 140px); }
.hero-sun {
  display: block; width: clamp(150px, 34vw, 230px); height: auto; margin: 0 0 36px auto;
}
@media (min-width: 1100px) {
  .hero-sun {
    position: absolute; z-index: 0; pointer-events: none; margin: 0;
    width: clamp(380px, 34vw, 520px);
    right: var(--gutter); top: 50%; transform: translateY(-50%);
  }
}
.hero-sun .rays { transform-origin: 160px 160px; animation: rise 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { transform: rotate(-24deg) scale(.86); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-sun .rays { animation: none; } }
.hero-text { position: relative; z-index: 1; max-width: 640px; }
.display {
  font: 700 clamp(44px, 8.4vw, 104px)/0.98 Sora, sans-serif; letter-spacing: -.035em;
  color: var(--green); margin: 0 0 28px;
}
[dir=rtl] .display { letter-spacing: 0; line-height: 1.2; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--sub); max-width: 34em; margin: 0 0 36px; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--text); font-weight: 500; }
.soon .store { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; color: var(--sub); }
.soon .store svg { width: 18px; height: 18px; }
.soon .note { color: var(--sub); }

/* Diller: sayfanın en büyük yazısı */
.dialects { border-top: 1px solid var(--line); padding: clamp(56px, 9vw, 120px) var(--gutter); }
.dialects h2, .features h2 { font: 600 clamp(22px, 2.6vw, 28px)/1.25 Sora, sans-serif; color: var(--text); margin: 0 0 12px; letter-spacing: -.01em; }
.dialects > p { color: var(--sub); max-width: 36em; margin: 0 0 40px; }
.wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1em .55em; font: 700 clamp(34px, 6.2vw, 78px)/1.15 Sora, "Noto Sans Arabic", sans-serif; letter-spacing: -.02em; }
.wall li { color: var(--green); }
.wall li:nth-child(even) { color: var(--ink); }
.wall li[lang] { unicode-bidi: isolate; }
.wall .sun-sep { display: inline-block; width: .5em; height: .5em; vertical-align: .12em; margin-inline-start: .55em; }

/* Özellikler: kutu yok, aralık ve ince çizgi */
.features { border-top: 1px solid var(--line); padding: clamp(56px, 9vw, 120px) var(--gutter); display: grid; gap: 48px clamp(32px, 5vw, 72px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.features p { color: var(--sub); margin: 0; max-width: 30em; }
.features .glyph { width: 30px; height: 30px; margin-bottom: 18px; color: var(--green); }
.features .glyph.sun { color: var(--sun-deep); }

/* Kapanış */
.closing { border-top: 1px solid var(--line); padding: clamp(56px, 9vw, 112px) var(--gutter); }
.closing p:not(.contact) { font: 600 clamp(24px, 3.6vw, 40px)/1.25 Sora, sans-serif; color: var(--text); max-width: 22em; margin: 0; letter-spacing: -.015em; }
[dir=rtl] .closing p:not(.contact) { font-family: "Noto Sans Arabic", system-ui, sans-serif; letter-spacing: 0; }

.foot { border-top: 1px solid var(--line); padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--sub); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: var(--sub); text-decoration: none; }
.foot a:hover { color: var(--green); }

@media (max-width: 640px) {
  .top { flex-direction: column; align-items: flex-start; }
  .langs { justify-content: flex-start; margin-inline-start: -10px; }
}

.closing .contact { margin: 28px 0 0; color: var(--sub); font-size: 17px; }
.closing .contact a { font-weight: 500; }
.features .glyph.sun { width: 32px; height: 32px; }
