/* Hayalet web — app colors: OLED black, iOS dark grays, white, red PRO. System fonts only (no third-party requests). */
:root {
    --bg: #000000;
    --bg-2: #0d0d0e;
    --card: #1c1c1e;
    --card-2: #2c2c2e;
    --separator: rgba(84, 84, 88, 0.55);
    --label: #ffffff;
    --label-2: #8e8e93;
    --label-3: #636366;
    --green: #30d158;
    --red: #ff453a;
    --orange: #ff9f0a;
    --blue: #0a84ff;
    --indigo: #5e5ce6;
    --purple: #bf5af2;
    --r: 16px;
    --r-l: 28px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--label);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 0.5em;
}

h1 {
    font-size: clamp(2.6rem, 8vw, 5rem);
}

h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
}

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

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

section {
    padding: 72px 0;
}

.eyebrow {
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.sec-head {
    max-width: 680px;
    margin-bottom: 40px;
}

.sec-head.c {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sec-head p {
    color: var(--label-2);
    font-size: 1.1rem;
}

.pro {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    border-radius: 5px;
    padding: 4px 6px;
    vertical-align: middle;
}

/* Sticky nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid var(--separator);
}

.nav-in {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.nav-links {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--label-2);
    font-weight: 600;
    font-size: 0.92rem;
}

.nav-links a:hover {
    color: var(--label);
}

.nav-r {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang {
    background: var(--card);
    color: var(--label);
    border: 0;
    border-radius: 999px;
    padding: 7px 14px;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.pill {
    background: var(--label);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
}

/* Phone mockup */
.dev {
    border-radius: 44px;
    padding: 9px;
    background: linear-gradient(145deg, #3a3a3c, #1c1c1e 40%, #2c2c2e);
    box-shadow: 0 0 0 1px #48484a inset, 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 255, 255, 0.04);
}

.dev img {
    width: 100%;
    border-radius: 36px;
    background: #000;
}

/* Hero */
.hero {
    position: relative;
    padding: 56px 0 32px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: center;
}

.hero .sub {
    font-weight: 800;
    font-size: clamp(1.2rem, 2.8vw, 1.7rem);
    letter-spacing: -0.02em;
    color: var(--label);
    margin-bottom: 18px;
}

.hero .lead {
    max-width: 34rem;
    font-size: 1.12rem;
    color: var(--label-2);
}

.hero .quote {
    font-weight: 700;
    color: var(--label-3);
    margin-top: 22px;
}

.stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
}

.store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--label);
    color: var(--bg);
    border-radius: 14px;
    padding: 10px 18px;
    text-decoration: none;
    line-height: 1.15;
}

.store svg {
    width: 24px;
    height: 24px;
    flex: none;
}

.store small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.7;
}

.store b {
    display: block;
    font-size: 1.05rem;
}

.store.soon {
    background: var(--card);
    color: var(--label);
}

.hero-art {
    position: relative;
    min-height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    inset: 8% 2% 4% 2%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 69, 58, 0.22), rgba(255, 69, 58, 0.06) 60%, transparent);
}

.hero-art .p1 {
    width: min(290px, 56%);
    position: relative;
    z-index: 2;
}

.hero-art .p2 {
    width: min(230px, 44%);
    position: relative;
    z-index: 1;
    margin-left: -56px;
    margin-top: 110px;
    opacity: 0.92;
}

/* "What is" box */
.box {
    background: var(--card);
    border-radius: var(--r-l);
    padding: 32px;
}

.box p {
    color: #d1d1d6;
}

.box p:last-child {
    margin-bottom: 0;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step {
    background: var(--card);
    border-radius: var(--r-l);
    padding: 26px 26px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step .n {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--label);
    color: var(--bg);
    font-weight: 800;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.step p {
    color: var(--label-2);
    font-size: 1rem;
}

.step .dev {
    margin-top: auto;
    width: 62%;
    align-self: center;
    transform: translateY(14%);
}

/* Leaks: colored cards like the app's icon tiles */
.leaks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.leak {
    border-radius: var(--r-l);
    padding: 24px;
    min-height: 150px;
    color: #fff;
    position: relative;
}

.leak .ic {
    font-size: 1.6rem;
    line-height: 1;
}

.leak h3 {
    margin: 14px 0 4px;
    color: #fff;
}

.leak p {
    margin: 0;
    font-size: 0.98rem;
    opacity: 0.9;
}

.leak.loc {
    background: var(--red);
}

.leak.dev-i {
    background: var(--blue);
}

.leak.time {
    background: var(--orange);
}

.leak.face {
    background: var(--indigo);
}

/* Feature list */
.feat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feat li {
    display: flex;
    gap: 14px;
    background: var(--card);
    border-radius: var(--r);
    padding: 16px 18px;
}

.feat .ic {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    margin-top: 2px;
}

.feat b {
    display: block;
    font-weight: 700;
    font-size: 1.02rem;
}

.feat span.d {
    display: block;
    color: var(--label-2);
    font-size: 0.95rem;
    line-height: 1.45;
}

/* Pro */
.prosec {
    background: var(--bg-2);
    border-top: 0.5px solid var(--separator);
    border-bottom: 0.5px solid var(--separator);
}

.pro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pro-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pro-title .pro {
    font-size: 1rem;
    padding: 6px 10px;
    border-radius: 8px;
}

.pro-grid .feat {
    grid-template-columns: 1fr;
}

.price {
    color: var(--label-2);
    margin-top: 18px;
}

.icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 380px;
    margin: 0 auto;
}

.icons figure {
    margin: 0;
    text-align: center;
}

.icons img {
    width: 100%;
    border-radius: 24%;
}

.icons figcaption {
    color: var(--label-2);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Promise */
.promise {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.promise div {
    background: var(--card);
    border-radius: var(--r-l);
    padding: 24px;
}

.promise .ic {
    color: var(--green);
    font-size: 1.4rem;
}

.promise b {
    display: block;
    font-size: 1.1rem;
    margin: 10px 0 4px;
}

.promise span {
    color: var(--label-2);
    font-size: 0.95rem;
    line-height: 1.45;
    display: block;
}

/* FAQ */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

details {
    background: var(--card);
    border-radius: var(--r);
    padding: 2px 22px;
}

summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 32px 16px 0;
    position: relative;
}

summary::-webkit-details-marker {
    display: none;
}

/* Round "+" button drawn with two bars (crisp in any font); turns into a red "x" when open. */
summary::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    background:
        linear-gradient(var(--label), var(--label)) center / 12px 2px no-repeat,
        linear-gradient(var(--label), var(--label)) center / 2px 12px no-repeat,
        var(--card-2);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
    background-color: var(--red);
}

summary:hover::after {
    background-color: #3a3a3c;
}

details[open] summary:hover::after {
    background-color: var(--red);
}

summary {
    padding-right: 44px;
}

details p {
    color: var(--label-2);
    margin: 0 0 16px;
}

/* Final call to action */
.cta {
    text-align: center;
}

.cta .price {
    margin-top: -8px;
}

.cta img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    margin: 0 auto 24px;
}

.cta .stores {
    justify-content: center;
}

/* Footer */
footer {
    padding: 40px 0 56px;
    text-align: center;
    color: var(--label-2);
    font-size: 0.85rem;
    border-top: 0.5px solid var(--separator);
}

footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 12px;
}

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

/* Legal pages */
.legal {
    padding: 32px 0 24px;
    max-width: 760px;
}

.legal h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
}

.legal .date {
    color: var(--label-2);
    font-size: 0.85rem;
    margin: -0.2em 0 28px;
}

.legal h2 {
    font-size: 1.25rem;
    margin: 30px 0 8px;
}

.legal p,
.legal li {
    color: #d1d1d6;
    font-size: 1rem;
}

.legal ul {
    padding-left: 20px;
}

.legal li + li {
    margin-top: 6px;
}

/* One language visible at a time (set on <html data-lang>). */
html[data-lang='tr'] [lang='en'],
html[data-lang='en'] [lang='tr'] {
    display: none !important;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-r {
        margin-left: auto;
    }

    .hero-grid,
    .pro-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 460px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step .dev {
        width: 52%;
    }

    .feat {
        grid-template-columns: 1fr;
    }

    .promise {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    section {
        padding: 52px 0;
    }

    .leaks,
    .promise {
        grid-template-columns: 1fr;
    }

    .box {
        padding: 24px;
    }

    .hero-art {
        min-height: 400px;
    }
}

/* ---- v2: SVG icons, trust strip, showcase, fanned phones ---- */
.i {
    width: 1em;
    height: 1em;
    fill: currentColor;
    flex: none;
    display: block;
}

.ic .i {
    width: 18px;
    height: 18px;
    color: #fff;
}

.leak .i {
    width: 30px;
    height: 30px;
}

.promise .i {
    width: 26px;
    height: 26px;
    color: var(--green);
}

.store .i {
    width: 26px;
    height: 26px;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    padding: 20px 0 8px;
    color: var(--label-2);
    font-size: 0.95rem;
    font-weight: 600;
}

.trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust .i {
    width: 18px;
    height: 18px;
    color: var(--green);
}

.show {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.show .card {
    background: var(--card);
    border-radius: var(--r-l);
    padding: 26px 26px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.show .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    border-radius: 999px;
    padding: 5px 12px 5px 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.show .tag .i {
    width: 16px;
    height: 16px;
}

.show p {
    color: var(--label-2);
    font-size: 1rem;
}

.show .dev {
    margin-top: auto;
    width: 70%;
    align-self: center;
    transform: translateY(12%);
}

.fan {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.fan .dev {
    width: min(230px, 34%);
    position: relative;
}

.fan .dev:nth-child(1) {
    transform: translateX(26px) rotate(-6deg);
    z-index: 1;
    opacity: 0.85;
}

.fan .dev:nth-child(2) {
    transform: translateY(-20px) scale(1.08);
    z-index: 2;
}

.fan .dev:nth-child(3) {
    transform: translateX(-26px) rotate(6deg);
    z-index: 1;
    opacity: 0.85;
}

@media (max-width: 900px) {
    .show {
        grid-template-columns: 1fr;
    }

    .show .dev {
        width: 56%;
    }

    .fan {
        min-height: 420px;
        order: -1;
    }
}

/* Link to the in-browser EXIF viewer */
.check {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    background: var(--card);
    border-radius: var(--r-l);
    padding: 20px 24px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.check:hover {
    background: var(--card-2);
}

.check > .i {
    width: 28px;
    height: 28px;
}

.check > .i:last-child {
    width: 20px;
    height: 20px;
    color: var(--label-2);
}

.check span {
    flex: 1;
}

.check b {
    display: block;
    font-size: 1.1rem;
}

.check small {
    color: var(--label-2);
    font-size: 0.92rem;
}

.src {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0 8px;
    color: var(--label-2);
    font-size: 0.9rem;
    text-decoration: none;
}

.src:hover {
    color: var(--label);
}

.src .i,
footer .gh .i {
    width: 18px;
    height: 18px;
}

footer .gh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Ghost easter egg (ghost.js): sections dissolve one after another, the screen goes dark, a ghost floats by. */
.nav,
main > section,
.legal,
footer {
    transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

body.vanish .nav,
body.vanish main > section,
body.vanish .legal,
body.vanish footer {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(-18px) scale(0.98);
}

/* Staggered only on the way out; coming back is all at once. */
body.vanish main > section:nth-child(2) { transition-delay: 0.08s; }
body.vanish main > section:nth-child(3) { transition-delay: 0.16s; }
body.vanish main > section:nth-child(4) { transition-delay: 0.24s; }
body.vanish main > section:nth-child(5) { transition-delay: 0.32s; }
body.vanish main > section:nth-child(n + 6),
body.vanish footer { transition-delay: 0.4s; }

.veil {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

body.vanish .veil {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.9s ease 0.5s;
}

.veil img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

body.vanish .veil img {
    opacity: 0.28;
    transform: translateY(0);
    transition-delay: 1s;
    animation: drift 3.2s ease-in-out 1s infinite;
}

@keyframes drift {
    50% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav,
    main > section,
    footer,
    .veil,
    .veil img {
        transition: opacity 0.3s ease !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }
}
