/* Matrush.com — Deep Forest · Moss · Champagne · Ivory */

:root {
    --bg-primary: #FBF8F1;
    --bg-secondary: #F6F1E7;
    --bg-tertiary: #EEE6D7;

    --brand-primary: #1E2A22;
    --brand-secondary: #3E4B3B;
    --brand-accent: #DCC9A3;

    --text-primary: #111111;
    --text-secondary: #6B6B67;
    --text-muted: #8E8A82;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

.floating-squares {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-square {
    position: absolute;
    bottom: -40px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(30, 42, 34, 0.06);
    animation: floatSquare 16s linear infinite;
}

.floating-square:nth-child(1) { left: 8%; animation-duration: 18s; animation-delay: 0s; width: 14px; height: 14px; }
.floating-square:nth-child(2) { left: 22%; animation-duration: 22s; animation-delay: 2s; width: 22px; height: 22px; }
.floating-square:nth-child(3) { left: 38%; animation-duration: 15s; animation-delay: 4s; }
.floating-square:nth-child(4) { left: 52%; animation-duration: 20s; animation-delay: 1s; width: 12px; height: 12px; }
.floating-square:nth-child(5) { left: 66%; animation-duration: 17s; animation-delay: 3s; width: 20px; height: 20px; }
.floating-square:nth-child(6) { left: 78%; animation-duration: 21s; animation-delay: 5s; }
.floating-square:nth-child(7) { left: 88%; animation-duration: 19s; animation-delay: 2.5s; width: 16px; height: 16px; }
.floating-square:nth-child(8) { left: 14%; animation-duration: 24s; animation-delay: 6s; width: 10px; height: 10px; }

@keyframes floatSquare {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.35; }
    100% { transform: translateY(-110vh) rotate(220deg); opacity: 0; }
}

.landing-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(165deg, #FBF8F1 0%, #F3ECDC 42%, #E8DFCD 100%);
}

.landing-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.landing-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.55;
}

.landing-glow-a {
    width: min(48vw, 420px);
    height: min(48vw, 420px);
    top: -8%;
    left: -6%;
    background: rgba(220, 201, 163, 0.45);
}

.landing-glow-b {
    width: min(42vw, 380px);
    height: min(42vw, 380px);
    right: -4%;
    bottom: 12%;
    background: rgba(62, 75, 59, 0.14);
}

.landing-squares {
    position: absolute;
    inset: 0;
}

.landing-header {
    position: relative;
    z-index: 20;
    padding: 1.5rem 4vw 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

body.landing-ready .landing-header {
    opacity: 1;
    transform: translateY(0);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--brand-primary);
}

.landing-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(30, 42, 34, 0.16);
    object-fit: cover;
    background: #2F322C;
}

.landing-brand-text {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.landing-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.55rem 1.1rem;
    border-radius: 12px;
    background: var(--brand-primary);
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 8px 20px rgba(30, 42, 34, 0.18);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
}

.landing-header-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(30, 42, 34, 0.24);
}

.landing-main {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 4vw 4rem;
}

.landing-hero {
    min-height: calc(100vh - 6.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0 3.5rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.landing-ready .landing-hero {
    opacity: 1;
    transform: translateY(0);
}

.landing-hero-stage {
    position: relative;
    width: min(300px, 72vw);
    height: min(280px, 64vw);
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.landing-hero-mascot {
    width: min(240px, 62vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(30, 42, 34, 0.22));
    animation: mascotFloat 4.5s ease-in-out infinite;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.landing-hero-title {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: clamp(2rem, 5vw, 3.05rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-primary);
    line-height: 1.14;
    max-width: 20ch;
    margin: 0 auto 1.1rem;
}

.landing-hero-headline {
    max-width: 34rem;
    font-size: clamp(1.15rem, 2.6vw, 1.45rem);
    font-weight: 500;
    color: var(--brand-secondary);
    line-height: 1.45;
    margin-bottom: 0.85rem;
}

.landing-lead {
    max-width: 28rem;
    margin: 0 auto 1.75rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.landing-btn-primary {
    background: var(--brand-primary);
    color: var(--brand-accent);
    box-shadow: 0 12px 28px rgba(30, 42, 34, 0.22);
}

.landing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(30, 42, 34, 0.28);
}

.landing-btn-ghost {
    background: transparent;
    color: var(--brand-primary);
    border: 1.5px solid rgba(30, 42, 34, 0.22);
}

.landing-btn-ghost:hover {
    background: rgba(30, 42, 34, 0.06);
}

.landing-audiences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem 3rem;
    margin: 0 0 2.5rem;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(30, 42, 34, 0.1);
}

.landing-audience {
    padding-top: 2rem;
    text-align: center;
}

.landing-audience-mascot {
    width: clamp(110px, 22vw, 140px);
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 12px 20px rgba(30, 42, 34, 0.16));
    transition: transform var(--transition-normal);
}

.landing-audience:hover .landing-audience-mascot {
    transform: translateY(-6px);
}

.landing-audience h2 {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.45rem;
    color: var(--brand-primary);
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.landing-audience p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 1rem;
    max-width: 22rem;
    margin: 0 auto;
}

.landing-panel {
    text-align: center;
    padding: 2.5rem 1.25rem;
    margin-bottom: 1rem;
    border-top: 1px solid rgba(30, 42, 34, 0.1);
}

.landing-panel h2 {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--brand-primary);
    margin-bottom: 0.65rem;
}

.landing-panel p {
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.landing-cta {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.75rem 1.5rem 2.5rem;
    border-top: 1px solid rgba(30, 42, 34, 0.1);
}

.landing-cta h2 {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

.landing-cta > p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.landing-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.landing-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 1.1rem 1.15rem 1rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(220, 201, 163, 0.65);
    border-radius: 18px;
}

.landing-qr-img {
    width: 148px;
    height: 148px;
    border-radius: 10px;
    display: block;
    background: var(--bg-primary);
}

.landing-qr-label {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.landing-qr-note {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.landing-stores {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.landing-app-buttons .app-btn {
    min-width: 210px;
}

.app-btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-primary);
    color: var(--brand-accent);
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(30, 42, 34, 0.12);
    transition: var(--transition-fast);
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 42, 34, 0.28);
}

.app-btn svg {
    flex-shrink: 0;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-btn-small {
    font-size: 0.6rem;
    opacity: 0.8;
}

.app-btn-big {
    font-size: 0.9rem;
    font-weight: 600;
}

.app-btn-disabled {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.app-btn-brand {
    background: var(--brand-primary);
    color: var(--brand-accent);
}

.landing-footer {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
    padding: 1.5rem 1rem 2.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.landing-footer-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

.landing-footer-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* —— Legal pages (/privacy, /terms, /kvkk) —— */
.legal-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(165deg, #FBF8F1 0%, #F3ECDC 42%, #E8DFCD 100%);
}

/* landing-header varsayılanı opacity:0; görünürlük yalnızca body.landing-ready ile geliyor.
   Legal sayfalarda o sınıf yok — header'ı burada zorla göster. */
.legal-page .landing-header {
    opacity: 1;
    transform: none;
    flex-wrap: wrap;
}

.legal-header {
    gap: 1rem;
}

.legal-nav-link.is-active {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    justify-content: flex-end;
}

.legal-nav-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
}

.legal-nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-main {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.legal-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.legal-doc h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.15rem);
    line-height: 1.2;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.legal-doc h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.25rem;
    color: var(--brand-primary);
    margin: 2rem 0 0.75rem;
}

.legal-doc h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--brand-secondary);
    margin: 1.25rem 0 0.5rem;
}

.legal-doc p,
.legal-doc li {
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.legal-doc p + p {
    margin-top: 0.75rem;
}

.legal-doc ul {
    margin: 0.5rem 0 0.75rem 1.15rem;
}

.legal-doc li + li {
    margin-top: 0.35rem;
}

.legal-meta {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(30, 42, 34, 0.1);
    font-size: 0.92rem !important;
    line-height: 1.7;
}

.legal-doc a {
    color: var(--brand-primary);
    font-weight: 500;
}

.legal-doc code {
    font-size: 0.88em;
    background: rgba(30, 42, 34, 0.06);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0 1rem;
    font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid rgba(30, 42, 34, 0.08);
}

.legal-table th {
    width: 38%;
    color: var(--brand-primary);
    font-weight: 600;
}

.legal-table td {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .landing-main {
        padding: 0 1.25rem 3rem;
    }

    .landing-hero {
        /* Tam yükseklik + center, maskotu header'ın üstüne itiyordu. */
        min-height: 0;
        justify-content: flex-start;
        padding: 1rem 0 2.75rem;
        gap: 0.15rem;
    }

    .landing-hero-stage {
        width: min(220px, 58vw);
        height: min(210px, 52vw);
        margin-bottom: 0.35rem;
        overflow: hidden;
    }

    .landing-hero-mascot {
        width: min(190px, 52vw);
        animation: mascotFloatMobile 5s ease-in-out infinite;
    }

    @keyframes mascotFloatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-4px); }
    }

    .landing-header-login {
        font-size: 0.82rem;
        padding: 0.5rem 0.85rem;
        min-height: 38px;
    }

    .landing-audiences {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .landing-audience + .landing-audience {
        border-top: 1px solid rgba(30, 42, 34, 0.08);
    }

    .landing-download {
        flex-direction: column;
        gap: 1.5rem;
    }

    .landing-app-buttons {
        width: 100%;
    }

    .landing-app-buttons .app-btn {
        width: 100%;
        justify-content: center;
    }
}

/* —— Landing: nasıl çalışır ve hizmet listesi —— */
.landing-section-title {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: 0.6rem;
}

.landing-section-lead {
    text-align: center;
    color: var(--text-secondary);
    max-width: 34rem;
    margin: 0 auto 1.75rem;
}

.landing-steps-section,
.landing-services-section {
    padding: 2.75rem 0 1.5rem;
    border-top: 1px solid rgba(30, 42, 34, 0.1);
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.landing-step {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(30, 42, 34, 0.09);
    border-radius: 18px;
    padding: 1.5rem 1.35rem;
}

.landing-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--brand-primary);
    color: var(--brand-accent);
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.landing-step h3 {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.12rem;
    color: var(--brand-primary);
    margin-bottom: 0.4rem;
}

.landing-step p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.6;
}

.landing-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.85rem;
}

.landing-service-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(30, 42, 34, 0.1);
    background: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.landing-service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(30, 42, 34, 0.12);
}

.landing-service-link strong {
    color: var(--brand-primary);
    font-size: 1.02rem;
}

.landing-service-link span {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* —— İçerik sayfaları (/mobil-oto-yikama, /sss, /hakkinda) —— */
.content-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.content-breadcrumb a {
    color: var(--brand-secondary);
    text-decoration: none;
}

.content-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-doc .content-lede {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--brand-secondary);
    margin-bottom: 1.25rem;
}

.content-steps {
    margin: 0.75rem 0 1rem 1.15rem;
}

.content-steps li + li {
    margin-top: 0.5rem;
}

.content-faq h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 1.35rem 0 0.35rem;
}

.content-cta {
    margin: 2rem 0 0.5rem;
    padding: 1.5rem 1.35rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(30, 42, 34, 0.1);
    text-align: center;
}

.legal-doc .content-cta p {
    margin-bottom: 1rem;
}

.content-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.6rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.content-links a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(30, 42, 34, 0.1);
    background: rgba(255, 255, 255, 0.5);
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.content-links a:hover {
    background: rgba(30, 42, 34, 0.06);
}
