/*
Theme Name: Ruya
Author: Ruya
Description: Modern, sade ve gizemli rüya tabiri teması.
Version: 1.5.0
*/


/* =========================================================
   TEMEL
========================================================= */

:root {
    --bg: #0b0a12;
    --bg-soft: #100e19;
    --surface: #15121f;

    --text: #f7f4fc;
    --muted: #aaa4b8;
    --muted-dark: #6f697d;

    --accent: #d3bcff;
    --accent-light: #eee7ff;
    --accent-dark: #211b2d;

    --border: rgba(255,255,255,.09);
    --border-soft: rgba(255,255,255,.055);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
textarea {
    font-family: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(11,10,18,.82);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: inline-block;

    color: #fff;

    font-size: 21px;
    font-weight: 800;

    letter-spacing: .18em;

    transition: opacity .2s ease;
}

.logo:hover {
    opacity: .8;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    color: var(--muted);

    font-size: 14px;
}

.main-nav > a:not(.ruya-login-button) {
    display: inline-flex;
    align-items: center;

    min-height: 44px;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.main-nav > a:not(.ruya-login-button):hover {
    color: #fff;
}


/* =========================================================
   GİRİŞ YAP
========================================================= */

.login-wrapper {
    display: flex !important;
    align-items: center !important;

    margin-left: 4px !important;
}

.login-wrapper .ruya-login-button {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-width: 105px !important;
    height: 44px !important;

    padding: 0 23px !important;
    margin: 0 !important;

    background: var(--accent) !important;
    background-color: var(--accent) !important;

    color: #17131f !important;

    border: 1px solid var(--accent) !important;
    border-radius: 999px !important;

    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    text-decoration: none !important;

    opacity: 1 !important;

    box-shadow:
        0 8px 25px rgba(211,188,255,.16) !important;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease !important;
}

.login-wrapper .ruya-login-button:hover {
    background: #fff !important;
    background-color: #fff !important;

    color: #17131f !important;

    border-color: #fff !important;

    transform: translateY(-2px) !important;

    box-shadow:
        0 12px 32px rgba(211,188,255,.25) !important;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 750px;

    display: flex;
    align-items: center;

    overflow: hidden;

    padding: 100px 0 90px;
}

.hero::before {
    content: "";

    position: absolute;

    width: 850px;
    height: 850px;

    left: 50%;
    top: 40%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(142,106,213,.16) 0%,
            rgba(142,106,213,.07) 32%,
            transparent 68%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .22em;
}

.eyebrow::before,
.eyebrow::after {
    content: "";

    width: 22px;
    height: 1px;

    background: rgba(211,188,255,.45);
}

.hero h1 {
    max-width: 850px;

    margin: 20px auto 24px;

    font-size: clamp(48px, 7vw, 78px);

    line-height: 1.02;

    letter-spacing: -.045em;

    font-weight: 700;
}

.hero h1 span {
    display: block;

    color: var(--accent);
}

.hero-description {
    max-width: 650px;

    margin: 0 auto 40px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   RÜYA GİRİŞ KUTUSU
========================================================= */

.dream-box {
    width: 100%;
    max-width: 780px;

    margin: 0 auto;

    background: rgba(21,18,31,.78);

    border: 1px solid var(--border);

    border-radius: 24px;

    overflow: hidden;

    text-align: left;

    box-shadow:
        0 30px 80px rgba(0,0,0,.28);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dream-box-top {
    display: flex;
    align-items: center;

    padding: 17px 22px 13px;

    border-bottom: 1px solid var(--border-soft);
}

.dream-box-title {
    color: #d9d2e5;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.dream-box textarea {
    display: block;

    width: 100%;

    min-height: 175px;

    padding: 20px 22px;

    resize: none;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 16px;

    line-height: 1.7;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(211,188,255,.35)
        transparent;
}

.dream-box textarea::-webkit-scrollbar {
    width: 7px;
}

.dream-box textarea::-webkit-scrollbar-track {
    background: transparent;
}

.dream-box textarea::-webkit-scrollbar-thumb {
    background: rgba(211,188,255,.35);

    border-radius: 10px;

    border: 2px solid transparent;

    background-clip: padding-box;
}

.dream-box textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(211,188,255,.60);

    border: 2px solid transparent;

    background-clip: padding-box;
}

.dream-box textarea::placeholder {
    color: #716b7c;
}


/* =========================================================
   RÜYA ALT SATIRI
========================================================= */

.dream-bottom {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 14px;

    padding: 14px 16px 16px;

    border-top: 1px solid var(--border-soft);
}

.dream-hint {
    color: var(--muted-dark);

    font-size: 11px;

    white-space: nowrap;

    line-height: 1;
}


/* =========================================================
   ANA BUTON
========================================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 21px;

    border: 0;
    border-radius: 999px;

    background: var(--accent);

    color: #17131f;

    cursor: pointer;

    font-size: 14px;
    font-weight: 800;

    line-height: 1;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.button:hover {
    background: var(--accent-light);

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(211,188,255,.18);
}

.button-arrow {
    margin-left: 8px;

    font-size: 17px;

    transition: transform .2s ease;
}

.button:hover .button-arrow {
    transform: translateX(3px);
}


/* =========================================================
   ÖZELLİKLER
========================================================= */

.features {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 45px;

    margin-top: 34px;
}

.feature {
    display: inline-flex !important;

    flex-direction: row !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    height: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--muted);

    font-size: 13px;

    line-height: 20px !important;
}

.feature-icon {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 14px !important;
    height: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--accent);

    font-size: 13px;

    line-height: 20px !important;
}

.feature-text {
    display: block !important;

    height: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--muted);

    font-size: 13px;

    line-height: 20px !important;
}

.feature:not(:last-child)::after {
    display: none !important;
}


/* =========================================================
   GENEL BÖLÜMLER
========================================================= */

.section {
    padding: 110px 0;
}


/* =========================================================
   NASIL ÇALIŞIR
========================================================= */

.how-section {
    border-top: 1px solid var(--border);
}

.section-heading {
    max-width: 620px;

    margin-bottom: 55px;
}

.section-heading .eyebrow {
    justify-content: flex-start;
}

.section-heading .eyebrow::before {
    display: none;
}

.section-heading h2 {
    margin: 16px 0 18px;

    font-size: clamp(38px, 5vw, 56px);

    line-height: 1.08;

    letter-spacing: -.04em;
}

.section-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 16px;
}

.dream-steps {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0;

    margin-top: 65px;
}

.dream-step {
    position: relative;

    padding-right: 45px;
}

.dream-step-number {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 25px;

    border: 1px solid rgba(211,188,255,.28);

    border-radius: 50%;

    background: rgba(211,188,255,.05);

    color: var(--accent);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .08em;

    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.dream-step-line {
    position: absolute;

    top: 24px;
    left: 48px;

    width: calc(100% - 48px);
    height: 1px;

    background:
        linear-gradient(
            to right,
            rgba(211,188,255,.28),
            rgba(211,188,255,.04)
        );
}

.dream-step:last-child .dream-step-line {
    display: none;
}

.dream-step-content {
    max-width: 300px;
}

.dream-step-content h3 {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 20px;

    line-height: 1.3;
}

.dream-step-content p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.75;
}

.dream-step:hover .dream-step-number {
    background: rgba(211,188,255,.10);

    border-color: rgba(211,188,255,.55);

    box-shadow:
        0 0 25px rgba(211,188,255,.08);
}


/* =========================================================
   HAKKIMIZDA
========================================================= */

.about-section {
    padding: 120px 0;

    background: var(--bg-soft);

    border-top: 1px solid var(--border);
}

.about-layout {
    display: grid;

    grid-template-columns: 180px 1fr;

    gap: 80px;

    align-items: start;
}

.about-symbol {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 150px;
    height: 150px;

    border: 1px solid rgba(211,188,255,.18);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(211,188,255,.09),
            rgba(211,188,255,.02) 55%,
            transparent 70%
        );

    box-shadow:
        0 0 60px rgba(211,188,255,.05);
}

.about-symbol span {
    color: var(--accent);

    font-size: 32px;

    opacity: .85;
}

.about-content {
    max-width: 720px;
}

.about-content h2 {
    margin: 18px 0 28px;

    font-size: clamp(42px, 5vw, 62px);

    line-height: 1.05;

    letter-spacing: -.045em;

    font-weight: 700;
}

.about-content p {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.85;
}

.about-content p + p {
    margin-top: 15px;
}

.about-signature {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 32px;

    color: var(--muted-dark);

    font-size: 12px;

    letter-spacing: .08em;
}

.about-signature span:first-child {
    color: var(--accent);

    font-size: 13px;
}


/* =========================================================
   PROFESYONEL FOOTER
========================================================= */

.site-footer {
    position: relative;

    padding: 85px 0 28px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(142,106,213,.07),
            transparent 30%
        ),
        #08070d;

    border-top: 1px solid var(--border);

    overflow: hidden;
}

.site-footer::before {
    content: "✦";

    position: absolute;

    top: 55px;
    right: 8%;

    color: rgba(211,188,255,.07);

    font-size: 90px;

    pointer-events: none;
}

.footer-main {
    display: grid;

    grid-template-columns: 1.7fr 1fr 1.25fr 1fr;

    gap: 45px;

    padding-bottom: 65px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;

    color: #fff;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: .2em;

    transition: opacity .2s ease;
}

.footer-logo:hover {
    opacity: .75;
}

.footer-brand p {
    max-width: 270px;

    margin: 17px 0 28px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.75;
}


/* SOSYAL MEDYA */

.footer-social {
    display: flex;

    align-items: center;

    gap: 10px;
}

.footer-social a {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 36px;
    height: 36px;

    padding: 0 11px;

    border: 1px solid var(--border);

    border-radius: 999px;

    color: var(--muted);

    font-size: 11px;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.footer-social a:hover {
    color: var(--text);

    border-color: rgba(211,188,255,.35);

    background: rgba(211,188,255,.06);

    transform: translateY(-2px);
}


/* FOOTER KOLONLARI */

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-column h3 {
    margin: 2px 0 20px;

    color: #eeeaf5;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.footer-column a {
    margin-bottom: 11px;

    color: var(--muted);

    font-size: 13px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-column a:hover {
    color: var(--accent);

    transform: translateX(3px);
}

.footer-note {
    max-width: 210px;

    color: var(--muted-dark);

    font-size: 12px;

    line-height: 1.7;
}


/* FOOTER ALT */

.footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 23px;

    border-top: 1px solid var(--border);

    color: var(--muted-dark);

    font-size: 11px;

    letter-spacing: .02em;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;

        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;

        max-width: 400px;
    }

}


/* =========================================================
   800 PX
========================================================= */

@media (max-width: 800px) {

    .container {
        width: min(100% - 28px, 1120px);
    }

    .main-nav {
        gap: 12px;
    }

    .main-nav > a:not(.ruya-login-button) {
        display: none;
    }

    .hero {
        min-height: 680px;

        padding: 80px 0 70px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-description {
        font-size: 16px;
    }

    .features {
        gap: 25px;
    }

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

        gap: 45px;

        margin-top: 45px;
    }

    .dream-step {
        padding-right: 0;
    }

    .dream-step-line {
        display: none;
    }

    .dream-step-content {
        max-width: 500px;
    }

    .about-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-symbol {
        width: 95px;
        height: 95px;
    }

    .about-symbol span {
        font-size: 22px;
    }

}


/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 600px) {

    .header-inner {
        min-height: 70px;
    }

    .logo {
        font-size: 19px;
    }

    .login-wrapper .ruya-login-button {
        min-width: 96px !important;

        height: 40px !important;

        padding: 0 18px !important;

        font-size: 13px !important;
    }

    .hero {
        min-height: auto;

        padding: 75px 0 65px;
    }

    .hero h1 {
        margin-top: 17px;

        font-size: 44px;
    }

    .hero-description {
        margin-bottom: 30px;

        font-size: 15px;
    }

    .dream-box {
        border-radius: 20px;
    }

    .dream-box textarea {
        min-height: 190px;

        padding: 18px;

        font-size: 15px;
    }

    .dream-bottom {
        justify-content: flex-end;

        gap: 10px;

        padding: 12px;
    }

    .dream-hint {
        font-size: 10px;
    }

    .dream-bottom .button {
        min-height: 42px;

        padding: 0 17px;

        font-size: 13px;
    }

    .features {
        flex-direction: column;

        gap: 13px;

        margin-top: 28px;
    }

    .feature {
        font-size: 12px;
    }

    .section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .dream-step-content h3 {
        font-size: 19px;
    }

    .about-section {
        padding: 85px 0;
    }

    .about-content h2 {
        font-size: 40px;
    }

    .about-content p {
        font-size: 15px;

        line-height: 1.8;
    }

    .site-footer {
        padding: 65px 0 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 38px;

        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: auto;

        max-width: 100%;
    }

    .footer-brand p {
        max-width: 310px;
    }

    .footer-column h3 {
        margin-bottom: 15px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }

    .site-footer::before {
        top: 35px;
        right: 5%;

        font-size: 60px;
    }

}


/* =========================================================
   ÇOK KÜÇÜK EKRAN
========================================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 39px;
    }

    .dream-bottom {
        flex-direction: column;

        align-items: stretch;
    }

    .dream-hint {
        text-align: center;
    }

    .dream-bottom .button {
        width: 100%;
    }

}