/* Eyyora website — "Soft Orb" design language.
   Colours mirror lib/app/theme/app_colors.dart. Edit the tokens below, not the rules. */

@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Poppins-Bold.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("fonts/Manrope-Variable.ttf") format("truetype"); }

:root {
  --bg: #FBF7F4;            /* AppColors.cream */
  --surface: #FFFFFF;       /* cards */
  --raised: #FFFFFF;
  --text: #2A211C;
  --muted: #6B5E55;
  --line: rgba(42, 33, 28, 0.10);
  --coral: #F2725F;         /* AppColors.coralSeed */
  --coral-deep: #D9553F;    /* AppColors.coralDeep */
  --link: #B8402B;
  --btn-bg: #C8482F;
  --btn-text: #FFFFFF;
  --amber: #E5850F;
  --orb-orange: rgba(255, 176, 122, 0.26);  /* matchesBlobOrange 0x42 */
  --orb-lilac: rgba(198, 180, 238, 0.20);   /* chatsBlobLilac 0x33 */
  --shadow: 0 1px 2px rgba(60, 35, 20, 0.05), 0 12px 32px -12px rgba(60, 35, 20, 0.18);
  --focus: #1F6FEB;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --radius: 24px;
  --radius-sm: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14100D;          /* darkSurface */
    --surface: #221C17;     /* darkCard */
    --raised: #2B231E;      /* darkRaised */
    --text: #F5EDE7;
    --muted: #B9ADA3;
    --line: rgba(245, 237, 231, 0.12);
    --link: #FF9A86;
    --btn-bg: #F2725F;
    --btn-text: #1A0F0B;
    --orb-orange: rgba(255, 176, 122, 0.13);
    --orb-lilac: rgba(198, 180, 238, 0.10);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 32px -14px rgba(0, 0, 0, 0.6);
    --focus: #7CB1FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14100D;          /* darkSurface */
  --surface: #221C17;     /* darkCard */
  --raised: #2B231E;      /* darkRaised */
  --text: #F5EDE7;
  --muted: #B9ADA3;
  --line: rgba(245, 237, 231, 0.12);
  --link: #FF9A86;
  --btn-bg: #F2725F;
  --btn-text: #1A0F0B;
  --orb-orange: rgba(255, 176, 122, 0.13);
  --orb-lilac: rgba(198, 180, 238, 0.10);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 14px 32px -14px rgba(0, 0, 0, 0.6);
  --focus: #7CB1FF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 10px; z-index: 100; box-shadow: var(--shadow); }
.skip:focus { top: 10px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lang-toggle { font: inherit; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin-left: 6px; cursor: pointer; }
.lang-toggle:hover { border-color: var(--coral); }
.theme-toggle { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; margin-left: 4px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.theme-toggle:hover { border-color: var(--coral); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (max-width: 560px) {
  .site-header .wrap { justify-content: center; row-gap: 2px; }
  .brand { font-size: 20px; }
  .nav { justify-content: center; gap: 2px; }
  .nav a { font-size: 14px; padding: 8px 9px; }
  .lang-toggle { padding: 7px 11px; margin-left: 2px; }
  .theme-toggle { margin-left: 2px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 72px; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; }
.orb-orange { width: 520px; height: 520px; right: -160px; top: -140px; background: var(--orb-orange); }
.orb-lilac { width: 480px; height: 480px; left: -180px; bottom: -160px; background: var(--orb-lilac); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-mark { width: 88px; height: 88px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 700; letter-spacing: -0.03em; }
.motto { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 3vw, 26px); color: var(--coral-deep); margin: 10px 0 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .motto { color: var(--coral); } }
:root[data-theme="dark"] .motto { color: var(--coral); }
.motto-alt { color: var(--muted); margin: 2px 0 22px; font-size: 16px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 34em; color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; margin: 24px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 12px; font: inherit; font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 16px; border: 1.5px solid transparent; line-height: 1.2; }
.btn small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; }
.btn strong { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.store-badge { display: block; height: 58px; width: auto; max-width: none; }
/* The EN badge PNG carries ~6.4% transparent padding on the left (TR carries none): cancel it so the visible edge sits on the text gutter. */
html[lang="en"] .store-link { margin-left: -9px; }
.store-soon { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); font-weight: 700; font-size: 14px; line-height: 1; }
.store-soon small { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); border-style: dashed; cursor: default; }
.hero-shot { justify-self: center; width: min(100%, 300px); }
.shot { display: block; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; background: #14100D; border: 7px solid #1B1613; border-radius: 38px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.10), 0 2px 4px rgba(40, 20, 10, 0.12), 0 28px 48px -18px rgba(40, 20, 10, 0.38); }
:root[data-theme="dark"] .shot { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 28px 48px -18px rgba(0, 0, 0, 0.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 28px 48px -18px rgba(0, 0, 0, 0.7); } }
@media (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { width: min(66%, 260px); }
}

/* -------------------------------------------------------------- sections */
.section { padding: 64px 0; }
.section-head { max-width: 40em; margin-bottom: 36px; }
.eyebrow { font-weight: 800; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.section h2 { font-size: clamp(28px, 4.4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 12px; }

.moods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 760px; }
.moods li { text-align: center; font-weight: 700; font-size: 14px; }
.moods img { width: 100%; max-width: 88px; margin: 0 auto 8px; }
@media (max-width: 560px) { .moods { grid-template-columns: repeat(3, 1fr); gap: 18px 8px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #2A110B; font-family: var(--font-head); font-weight: 700; margin-bottom: 16px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.feature.flip { grid-template-columns: 1.2fr 0.8fr; }
.feature.flip .feature-shot { order: 2; }
.feature-shot { width: min(100%, 280px); justify-self: center; }
.feature h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; }
.feature p { color: var(--muted); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral) 20%, transparent); }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-shot { order: 0; }
  .feature-shot { width: min(62%, 240px); }
}

.callout { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 48px); }
.callout .orb { filter: blur(50px); }
.callout .orb-lilac { width: 320px; height: 320px; right: -80px; left: auto; bottom: -120px; }
.callout h2 { font-size: clamp(24px, 3.6vw, 32px); margin-bottom: 12px; }
.callout p { color: var(--muted); max-width: 40em; }
.callout p:last-child { margin-bottom: 0; }
.callout .link-arrow { font-weight: 700; }
.note { color: var(--muted); font-size: 15px; max-width: 46em; margin: 28px 0 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 48px; border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: 15px; color: var(--muted); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.foot-brand { max-width: 22em; }
.foot-brand .brand { margin-bottom: 8px; font-size: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; align-self: flex-start; }
.foot-links a { color: var(--text); font-weight: 600; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-legal { width: 100%; border-top: 1px solid var(--line); padding-top: 18px; margin: 0; font-size: 14px; }

/* ----------------------------------------------------------- simple pages */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: 48px 0 28px; }
.page-head .orb-orange { width: 380px; height: 380px; top: -170px; right: -120px; }
.page-head h1 { font-size: clamp(32px, 5.4vw, 48px); letter-spacing: -0.02em; margin-bottom: 12px; }
.page-head p { color: var(--muted); max-width: 40em; font-size: 19px; }
.prose-page { max-width: 760px; }
.prose-page h2 { font-size: 24px; margin: 40px 0 12px; }
.prose-page ol, .prose-page ul { padding-left: 1.3em; }
.prose-page li { margin-bottom: 0.5em; }
.callout-soft { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0; }
.callout-soft p:last-child { margin-bottom: 0; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; }
.contact-card dt { font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .contact-card dl { grid-template-columns: 1fr; gap: 2px; } .contact-card dd { margin-bottom: 14px; } }
.link-list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.link-list a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.link-list a:hover { border-color: var(--coral); }

/* ----------------------------------------------------------- legal pages */
.legal-head { position: relative; overflow: hidden; isolation: isolate; padding: 44px 0 20px; }
.legal-head .orb-orange { width: 380px; height: 380px; top: -170px; right: -120px; }
.legal-head .orb-lilac { width: 320px; height: 320px; left: -140px; bottom: -200px; }
.legal-head h1 { font-size: clamp(32px, 5.4vw, 48px); letter-spacing: -0.02em; margin-bottom: 10px; }
.doc-title { margin: 0 0 18px; font-weight: 800; font-size: 12px; line-height: 1.5; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.updated { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); }
.updated::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.lang-note { display: none; margin-top: 18px; max-width: 46em; }
html[lang="tr"] .lang-note { display: block; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; padding: 20px var(--gutter) 40px; }
.toc { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 8px 10px; font-size: 14.5px; line-height: 1.4; }
.toc summary { list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; padding: 10px 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); background: var(--bg); }
.toc a.active { color: var(--text); font-weight: 700; background: color-mix(in srgb, var(--coral) 14%, transparent); }

.legal { max-width: 70ch; font-size: 17.5px; line-height: 1.7; }
.legal section { padding: 6px 0; }
.legal h2 { font-size: 24px; margin: 40px 0 14px; display: flex; gap: 14px; align-items: baseline; }
.legal h2 .num { flex: none; min-width: 2.2ch; color: var(--coral-deep); font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .legal h2 .num { color: var(--coral); } }
:root[data-theme="dark"] .legal h2 .num { color: var(--coral); }
.legal h3 { font-size: 19px; margin: 26px 0 8px; display: flex; gap: 12px; align-items: baseline; }
.legal h3 .num { flex: none; min-width: 2.6ch; color: var(--coral-deep); font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .legal h3 .num { color: var(--coral); } }
:root[data-theme="dark"] .legal h3 .num { color: var(--coral); }
.legal section:first-of-type h2 { margin-top: 8px; }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.5em; padding-left: 0.2em; }
.legal li::marker { color: var(--coral); }
.legal strong { font-weight: 700; }
.legal a { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; max-height: none; }
  .toc summary { display: flex; justify-content: space-between; align-items: center; }
  .toc summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
  .toc[open] summary::after { content: "\2212"; }
  .legal { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .toc, .orb, .lang-toggle { display: none !important; }
  .legal-layout { display: block; }
  body { background: #fff; color: #000; }
}
