/* =========================================================
   SUBSTRAT — PLANLAMA
========================================================= */

:root {

    --sidebar-width: 266px;

    --bg: #05070b;

    --text: #ffffff;
    --text-soft: #d9d9df;
    --text-muted: #85858e;

    --purple: #9c4dff;
    --purple-bright: #bd7aff;

    --border: rgba(255,255,255,.11);

    --panel:
        linear-gradient(
            145deg,
            rgba(14,15,21,.88),
            rgba(8,9,13,.78)
        );

}


* {

    box-sizing: border-box;

    margin: 0;
    padding: 0;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);

    background: var(--bg);

}


button,
input {

    font: inherit;

}


button {

    cursor: pointer;

}


a {

    color: inherit;

    text-decoration: none;

}



/* =========================================================
   UZAY
========================================================= */

.space-background {

    position: fixed;

    inset: 0;

    z-index: -5;

    overflow: hidden;

    background: #05070b;

}


.space-background img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .62;

}



/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {

    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: var(--sidebar-width);

    padding: 28px 20px;

    background:
        linear-gradient(
            180deg,
            rgba(5,7,10,.94),
            rgba(4,5,7,.84)
        );

    border-right:
        1px solid
        rgba(255,255,255,.10);

    backdrop-filter: blur(22px);

    z-index: 50;

    display: flex;

    flex-direction: column;

}


.brand {

    display: flex;

    align-items: center;

    gap: 13px;

    padding:
        5px 8px 34px;

}


.brand-symbol {

    color: white;

    font-size: 29px;

    text-shadow:
        0 0 18px
        rgba(180,100,255,.65);

}


.brand-text {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.brand-text strong {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 25px;

    letter-spacing: 1.8px;

}


.brand-text span {

    color: #aeb0b6;

    font-size: 9px;

    letter-spacing: .35px;

}


.sidebar-menu {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.menu-item {

    height: 50px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 0 16px;

    color: #ededed;

    border:
        1px solid
        transparent;

    border-radius: 11px;

    font-size: 14px;

    transition: .25s ease;

}


.menu-icon {

    width: 20px;

    display: inline-flex;

    justify-content: center;

    color: #dedee2;

    font-size: 17px;

}


.menu-item:hover {

    background:
        rgba(255,255,255,.06);

    border-color:
        rgba(255,255,255,.09);

}


.menu-item.active {

    background:
        linear-gradient(
            100deg,
            rgba(255,255,255,.16),
            rgba(125,60,180,.17)
        );

    border-color:
        rgba(255,255,255,.24);

    box-shadow:
        inset 3px 0 0 var(--purple),
        0 0 28px
        rgba(125,45,190,.10);

}


.sidebar-bottom {

    margin-top: auto;

}


.sidebar-quote {

    padding:
        0 10px 26px;

}


.quote-line {

    width: 70px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            transparent
        );

    margin-bottom: 16px;

}


.sidebar-quote p {

    color: #f1f1f1;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 18px;

    line-height: 1.25;

    font-style: italic;

}


.sidebar-quote span {

    display: block;

    margin-top: 12px;

    color: #85858c;

    font-size: 8px;

    letter-spacing: 4px;

}


.sidebar-card {

    padding: 20px;

    min-height: 145px;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 14px;

    background:
        rgba(20,21,25,.58);

    backdrop-filter: blur(15px);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.35);

}


.sidebar-card small {

    display: block;

    color: #c6c6cb;

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 10px;

}


.sidebar-card strong {

    display: block;

    color: white;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 19px;

    line-height: 1.15;

    margin-bottom: 16px;

}


.sidebar-card button {

    width: 100%;

    height: 37px;

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 9px;

    background:
        rgba(255,255,255,.05);

    color: white;

    font-size: 11px;

    font-weight: 700;

}


.sidebar-card button:hover {

    background:
        rgba(156,77,255,.15);

    border-color:
        rgba(156,77,255,.35);

}



/* =========================================================
   ANA ALAN
========================================================= */

.main-content {

    margin-left: var(--sidebar-width);

    width:
        calc(
            100% - var(--sidebar-width)
        );

    min-height: 100vh;

    padding:
        24px 26px 70px;

}


.main-content > * {

    max-width: 1280px;

    margin-left: auto;
    margin-right: auto;

}



/* =========================================================
   TOPBAR
========================================================= */

.topbar {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 24px;

}


.search-box {

    flex: 1;

    height: 49px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 15px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 13px;

    background:
        rgba(5,7,11,.68);

    backdrop-filter: blur(18px);

}


.search-box span {

    color: #d7d7dc;

    font-size: 18px;

}


.search-box input {

    flex: 1;

    min-width: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: white;

    font-size: 13px;

}


.search-box input::placeholder {

    color: #898b94;

}


.topbar-actions {

    display: flex;

    align-items: center;

    gap: 10px;

}


.theme-toggle,
.notification-button {

    width: 50px;
    height: 44px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 13px;

    background:
        rgba(10,11,16,.72);

    color: white;

}


.theme-toggle span {

    margin-left: 5px;

}


.notification-button {

    position: relative;

    font-size: 18px;

}


.notification-button i {

    position: absolute;

    top: 9px;
    right: 11px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--purple);

    box-shadow:
        0 0 9px
        var(--purple);

}


.user-box {

    height: 44px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 13px 0 7px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 23px;

    background:
        rgba(10,11,16,.72);

    font-size: 12px;

    font-weight: 600;

}


.user-avatar {

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.28);

    background:
        linear-gradient(
            145deg,
            #777,
            #17171b
        );

}


.user-arrow {

    color: #898991;

}



/* =========================================================
   ÜST TANITIM PANELİ
========================================================= */

.planning-intro {

    min-height: 190px;

    display: grid;

    grid-template-columns:
        1.7fr
        .75fr;

    gap: 20px;

    padding: 27px 30px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 18px;

    background:
        linear-gradient(
            110deg,
            rgba(8,9,14,.91),
            rgba(16,11,25,.72)
        );

    overflow: hidden;

    position: relative;

}


.planning-intro::after {

    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -130px;
    top: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(156,77,255,.22),
            transparent 68%
        );

    pointer-events: none;

}


.intro-left {

    position: relative;

    z-index: 2;

}


.section-label {

    display: flex;

    align-items: center;

    gap: 13px;

    color: #d8d8dd;

    font-size: 10px;

    letter-spacing: 4px;

    margin-bottom: 14px;

}


.section-label span {

    width: 58px;

    height: 1px;

    background:
        var(--purple);

    box-shadow:
        0 0 10px
        rgba(156,77,255,.6);

}


.intro-left h1 {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: clamp(
        34px,
        4vw,
        52px
    );

    line-height: .95;

    font-weight: 500;

    letter-spacing: -.5px;

}


.intro-left h1 em {

    color: #c48bff;

    font-style: normal;

}


.intro-left p {

    max-width: 620px;

    margin-top: 16px;

    color: #a9a9b2;

    font-size: 13px;

    line-height: 1.6;

}


.intro-quote {

    align-self: stretch;

    padding: 20px 22px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 14px;

    background:
        rgba(5,6,10,.42);

    position: relative;

    z-index: 2;

}


.quote-mark {

    font-family:
        "Cormorant Garamond",
        serif;

    color: white;

    font-size: 34px;

    line-height: 1;

}


.intro-quote p {

    margin-top: 4px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 20px;

    line-height: 1.08;

    font-style: italic;

}


.intro-quote .quote-line {

    margin-top: 18px;

    margin-bottom: 0;

}



/* =========================================================
   ÖZELLİKLER
========================================================= */

.feature-row {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 12px;

    margin-top: 14px;

    margin-bottom: 16px;

}


.feature-card {

    min-height: 70px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 13px;

    background:
        rgba(9,10,15,.72);

    backdrop-filter: blur(12px);

}


.feature-icon {

    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        rgba(156,77,255,.13);

    border:
        1px solid
        rgba(156,77,255,.20);

    color: #c187ff;

    font-size: 17px;

}


.feature-card strong {

    display: block;

    color: #eeeef1;

    font-size: 11px;

}


.feature-card span {

    display: block;

    margin-top: 4px;

    color: #7d7e88;

    font-size: 9px;

}



/* =========================================================
   SORU + İLERLEME
========================================================= */

.planner-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 16px;

}


.question-card {

    min-width: 0;

    padding: 28px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 18px;

    background:
        var(--panel);

    backdrop-filter: blur(18px);

}


.question-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.question-number {

    color: #c28aff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

}


.step-text {

    color: #777982;

    font-size: 11px;

}


.progress-area {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 12px;

}


.progress-bar {

    flex: 1;

    height: 5px;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(255,255,255,.07);

}


#progressFill {

    width: 10%;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #8e3cff,
            #c17bff
        );

    box-shadow:
        0 0 12px
        rgba(156,77,255,.45);

    transition: width .3s ease;

}


#progressPercent {

    color: #999aa3;

    font-size: 10px;

    min-width: 32px;

    text-align: right;

}


.question-content {

    padding-top: 31px;

}


.question-content h2 {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 35px;

    font-weight: 500;

    line-height: 1.05;

}


#questionDescription {

    max-width: 650px;

    margin-top: 8px;

    color: #898a94;

    font-size: 12px;

    line-height: 1.6;

}



/* =========================================================
   CEVAPLAR
========================================================= */

.answers {

    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 11px;

    margin-top: 25px;

}


.answer-option {

    min-height: 91px;

    padding: 17px;

    text-align: left;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 12px;

    background:
        rgba(11,12,17,.72);

    color: white;

    transition: .22s ease;

}


.answer-option:hover {

    border-color:
        rgba(156,77,255,.45);

    background:
        rgba(156,77,255,.07);

    transform: translateY(-1px);

}


.answer-option.selected {

    border-color:
        var(--purple);

    background:
        linear-gradient(
            135deg,
            rgba(156,77,255,.17),
            rgba(90,38,130,.08)
        );

    box-shadow:
        0 0 0 1px
        rgba(156,77,255,.10);

}


.answer-title {

    display: block;

    font-size: 13px;

    font-weight: 700;

}


.answer-description {

    display: block;

    margin-top: 7px;

    color: #777984;

    font-size: 10px;

    line-height: 1.5;

}



/* =========================================================
   BUTONLAR
========================================================= */

.question-actions,
.summary-actions {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255,255,255,.08);

}


.primary-button,
.secondary-button {

    min-height: 42px;

    padding:
        0 18px;

    border-radius: 11px;

    font-size: 11px;

    font-weight: 700;

    transition: .2s ease;

}


.primary-button {

    border:
        1px solid
        rgba(255,255,255,.16);

    background:
        linear-gradient(
            135deg,
            #8934e9,
            #a95cff
        );

    color: white;

    box-shadow:
        0 8px 25px
        rgba(120,45,200,.22);

}


.primary-button:hover:not(:disabled) {

    transform: translateY(-1px);

    box-shadow:
        0 10px 30px
        rgba(140,50,230,.35);

}


.primary-button:disabled {

    opacity: .35;

    cursor: not-allowed;

}


.secondary-button {

    border:
        1px solid
        rgba(255,255,255,.12);

    background:
        rgba(255,255,255,.035);

    color: #b8b9c1;

}


.secondary-button:hover {

    background:
        rgba(255,255,255,.07);

    color: white;

}



/* =========================================================
   İLERLEME PANELİ
========================================================= */

.progress-panel {

    min-width: 0;

    padding: 24px 20px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius: 18px;

    background:
        rgba(8,9,14,.76);

    backdrop-filter: blur(18px);

}


.progress-panel-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 17px;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);

}


.progress-panel-top strong {

    font-size: 12px;

}


.progress-panel-top span {

    color: #898a93;

    font-size: 10px;

}


.step-list {

    position: relative;

    padding-top: 15px;

}


.step-list::before {

    content: "";

    position: absolute;

    left: 8px;

    top: 23px;

    bottom: 20px;

    width: 1px;

    background:
        rgba(255,255,255,.10);

}


.step {

    position: relative;

    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 40px;

    color: #70717a;

    font-size: 10px;

}


.step i {

    position: relative;

    z-index: 2;

    width: 17px;
    height: 17px;

    flex-shrink: 0;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.13);

    background:
        #171821;

}


.step.active {

    color: #f0eef4;

}


.step.active i {

    border-color:
        var(--purple);

    background:
        var(--purple);

    box-shadow:
        0 0 0 4px
        rgba(156,77,255,.12),
        0 0 14px
        rgba(156,77,255,.5);

}


.step.active i::after {

    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    left: 5px;
    top: 5px;

    border-radius: 50%;

    background: white;

}



/* =========================================================
   ÖZET
========================================================= */

.hidden {

    display: none !important;

}


.summary-card {

    margin-top: 16px;

    padding: 28px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 18px;

    background:
        var(--panel);

}


.summary-icon {

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        rgba(156,77,255,.13);

    color:
        #c28aff;

}


.summary-card h2 {

    margin-top: 18px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 34px;

    font-weight: 500;

}


.summary-card > p {

    margin-top: 6px;

    color: #858690;

    font-size: 12px;

}


.summary-content {

    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 10px;

    margin-top: 22px;

}


.summary-item {

    padding: 14px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 11px;

    background:
        rgba(255,255,255,.025);

}


.summary-item-label {

    display: block;

    color: #72737c;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.summary-item strong {

    display: block;

    margin-top: 5px;

    color: white;

    font-size: 12px;

}


.summary-actions {

    margin-top: 22px;

}



/* =========================================================
   ALT BİLGİ
========================================================= */

.test-message {

    min-height: 70px;

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 16px;

    padding: 15px 18px;

    border:
        1px solid
        rgba(156,77,255,.17);

    border-radius: 14px;

    background:
        rgba(25,13,39,.46);

}


.test-icon {

    width: 39px;
    height: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        rgba(156,77,255,.13);

    color: #c083ff;

}


.test-message strong {

    display: block;

    font-size: 11px;

}


.test-message span {

    display: block;

    margin-top: 4px;

    color: #777983;

    font-size: 9px;

}



/* =========================================================
   PROGRAM SONUCU
========================================================= */

#aiPlanResult {

    width: 100% !important;

    max-width: 1280px !important;

    margin:
        20px auto 0 !important;

    box-sizing: border-box !important;

    position: relative;

}


#aiPlanResult p,
#aiPlanResult h1,
#aiPlanResult h2,
#aiPlanResult h3,
#aiPlanResult h4,
#aiPlanResult li {

    max-width: 100%;

    overflow-wrap: anywhere;

    word-break: normal;

}


.program-locked {

    overflow: hidden;

}


#programLoginOverlay {

    position: absolute;

    inset: 0;

    z-index: 20;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(4,5,9,.68);

    backdrop-filter: blur(10px);

}


.program-lock-card {

    width: min(440px, calc(100% - 40px));

    padding: 30px;

    text-align: center;

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 18px;

    background:
        rgba(12,12,18,.94);

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.55);

}


.program-lock-icon {

    font-size: 25px;

    margin-bottom: 12px;

}


.program-lock-card h2 {

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 31px;

}


.program-lock-card p {

    margin-top: 8px;

    color: #999aa4;

    font-size: 12px;

    line-height: 1.6;

}


.program-lock-buttons {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 22px;

}


.program-login-button,
.program-register-button {

    min-width: 120px;

    padding: 12px 16px;

    border-radius: 9px;

    font-size: 10px;

    font-weight: 700;

}


.program-login-button {

    background:
        linear-gradient(
            135deg,
            #8b38ed,
            #ad60ff
        );

}


.program-register-button {

    border:
        1px solid
        rgba(255,255,255,.13);

    background:
        rgba(255,255,255,.04);

}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1150px) {

    .planner-layout {

        grid-template-columns:
            minmax(0,1fr)
            260px;

    }

    .feature-row {

        grid-template-columns:
            repeat(2,minmax(0,1fr));

    }

}


@media (max-width: 900px) {

    :root {

        --sidebar-width: 0px;

    }

    .sidebar {

        display: none;

    }

    .main-content {

        margin-left: 0;

        width: 100%;

    }

    .planner-layout {

        grid-template-columns: 1fr;

    }

    .progress-panel {

        order: -1;

    }

    .planning-intro {

        grid-template-columns: 1fr;

    }

    .intro-quote {

        display: none;

    }

}


@media (max-width: 600px) {

    .main-content {

        padding:
            15px 12px 50px;

    }

    .topbar-actions .theme-toggle,
    .topbar-actions .notification-button {

        display: none;

    }

    .user-box span:not(.user-arrow) {

        display: none;

    }

    .feature-row {

        grid-template-columns: 1fr;

    }

    .answers {

        grid-template-columns: 1fr;

    }

    .question-card {

        padding: 20px;

    }

    .question-content h2 {

        font-size: 29px;

    }

    .summary-content {

        grid-template-columns: 1fr;

    }

}

/* =========================================================
   AI PROGRAM — SUBSTRAT KOZMİK CAM PANEL
========================================================= */

#aiPlanResult {
    background: rgba(4, 5, 8, 0.55) !important;

    border: 1px solid rgba(255, 255, 255, 0.10) !important;

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}