:root{
    --background:#F0F0F0;
    --surface:rgba(255,255,255,0.58);
    --surface-strong:rgba(255,255,255,0.78);
    --surface-soft:rgba(255,255,255,0.38);

    --text:#050505;
    --text-soft:#555C63;
    --text-muted:#858B91;

    --accent:#4BBEFF;
    --accent-dark:#159FEA;
    --accent-soft:rgba(75,190,255,0.14);

    --border:rgba(255,255,255,0.78);
    --border-dark:rgba(0,0,0,0.08);

    --shadow:
        0 20px 60px rgba(30,70,100,0.10),
        0 4px 14px rgba(30,70,100,0.06);

    --shadow-hover:
        0 26px 70px rgba(30,120,180,0.16),
        0 8px 22px rgba(30,70,100,0.08);

    --glass-blur:24px;
    --radius-large:30px;
    --radius-medium:22px;
    --radius-small:15px;
}

html{
    scroll-behavior:smooth;
}

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

body{
    min-height:100vh;

    background:
        radial-gradient(circle at 12% 15%, rgba(75,190,255,0.22), transparent 26%),
        radial-gradient(circle at 88% 28%, rgba(75,190,255,0.12), transparent 24%),
        radial-gradient(circle at 60% 85%, rgba(255,255,255,0.8), transparent 30%),
        var(--background);

    color:var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Pretendard",
        "Noto Sans KR",
        Arial,
        sans-serif;

    overflow-x:hidden;
}

a{
    color:inherit;
}

button,
input,
textarea,
select{
    font:inherit;
}

/* =========================
   Shared Glass Style
========================= */

.card,
.step,
.auth-feature,
.auth-card,
.demo-guide-card,
.demo-form-card,
.intake-form-group,
.profile-sidebar,
.profile-card,
.profile-info-item,
.request-history-empty,
.demo-user-greeting{
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.78),
            rgba(255,255,255,0.38)
        );

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

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        inset 0 -1px 0 rgba(255,255,255,0.32),
        var(--shadow);

    backdrop-filter:blur(var(--glass-blur)) saturate(145%);
    -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(145%);
}

/* =========================
   Navbar
========================= */

.navbar{
    position:fixed;
    top:0;
    left:50%;
    z-index:1000;

    /* demo-create-container와 동일한 가로 폭 */
    width:min(1250px, calc(100% - 40px));
    height:88px;
    min-height:0;

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

    /* 위아래 padding 제거 */
    padding:0 20px;

    background:rgba(255,255,255,0.54);
    border:1px solid rgba(255,255,255,0.82);
    border-top:none;
    border-radius:0 0 24px 24px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.96),
        0 14px 40px rgba(20,70,100,0.10);

    backdrop-filter:blur(28px) saturate(160%);
    -webkit-backdrop-filter:blur(28px) saturate(160%);

    transform:translateX(-50%);
}

.logo{
    position:relative;

    width:245px;
    height:76px;

    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-shrink:0;

    overflow:hidden;
    text-decoration:none;
}

.logo img{
    display:block;

    width:100%;
    height:100%;

    object-fit:contain;
    object-position:left center;

    /* 이미지 파일 내부의 큰 여백을 잘라내며 확대 */
    transform:scale(2.35);
    transform-origin:left center;
}

.navbar ul{
    display:flex;
    align-items:center;
    gap:4px;

    list-style:none;
}

.navbar a{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:11px 16px;

    color:var(--text);
    border-radius:14px;

    text-decoration:none;
    font-size:0.94rem;
    font-weight:600;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.navbar li a:hover{
    background:rgba(75,190,255,0.13);
    color:var(--accent-dark);
    transform:translateY(-1px);
}

.nav-auth-link{
    background:var(--accent);
    color:#fff !important;
}

.nav-auth-link:hover{
    background:var(--accent-dark) !important;
    color:#fff !important;
}

/* =========================
   Main Hero
========================= */

#main,
#process,
#demo{
    scroll-margin-top:120px;
}

.hero{
    position:relative;

    min-height:92vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:150px 24px 80px;

    text-align:center;
    isolation:isolate;
}

.hero::before{
    content:"";

    position:absolute;
    z-index:-2;

    width:620px;
    height:620px;

    background:
        radial-gradient(
            circle,
            rgba(75,190,255,0.20),
            rgba(75,190,255,0.05) 42%,
            transparent 70%
        );

    border-radius:50%;
    filter:blur(10px);
}

.hero h1{
    max-width:940px;
    margin-bottom:24px;

    font-size:clamp(3rem, 7vw, 6.6rem);
    line-height:0.98;
    letter-spacing:-0.065em;
    font-weight:800;
}

.hero h1::selection{
    background:var(--accent);
    color:#fff;
}

.hero p{
    max-width:720px;

    color:var(--text-soft);

    font-size:1.13rem;
    line-height:1.85;
}

.hero-vector{
    position:absolute;
    z-index:-1;

    width:330px;
    height:330px;

    opacity:0.32;
    pointer-events:none;
}

.hero-vector path,
.hero-vector rect{
    fill:none;
    stroke:var(--accent);
    stroke-width:14;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.hero-vector-left{
    top:25%;
    left:-90px;
    transform:rotate(-12deg);
}

.hero-vector-right{
    right:-55px;
    bottom:11%;
    transform:rotate(9deg);
}

.btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    margin-top:32px;
    padding:15px 30px;

    background:
        linear-gradient(
            180deg,
            #6DCDFF,
            var(--accent)
        );

    color:#fff;

    border:1px solid rgba(255,255,255,0.72);
    border-radius:18px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.65),
        0 12px 30px rgba(75,190,255,0.30);

    text-decoration:none;
    font-weight:700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn:hover{
    transform:translateY(-3px) scale(1.015);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 18px 38px rgba(75,190,255,0.38);

    filter:saturate(115%);
}

/* =========================
   Features
========================= */

.features{
    width:min(1180px, calc(100% - 40px));
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;

    padding:40px 0 110px;
}

.card{
    position:relative;
    overflow:hidden;

    min-height:220px;
    padding:34px;

    border-radius:var(--radius-medium);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card::before{
    content:"";

    position:absolute;
    top:-60px;
    right:-60px;

    width:160px;
    height:160px;

    background:radial-gradient(circle, rgba(75,190,255,0.24), transparent 68%);
    border-radius:50%;
}

.card::after{
    content:"";

    position:absolute;
    left:34px;
    bottom:28px;

    width:58px;
    height:5px;

    background:var(--accent);
    border-radius:999px;
}

.card:hover{
    transform:translateY(-7px);
    box-shadow:var(--shadow-hover);
}

.card h3{
    position:relative;
    z-index:1;

    margin-bottom:14px;

    font-size:1.32rem;
    letter-spacing:-0.02em;
}

.card p{
    position:relative;
    z-index:1;

    color:var(--text-soft);
    line-height:1.75;
}

/* =========================
   Process
========================= */

.process{
    width:min(1040px, calc(100% - 40px));
    margin:0 auto;

    padding:110px 0;
}

.process h1{
    margin-bottom:58px;

    text-align:center;
    font-size:clamp(2.4rem, 5vw, 4.2rem);
    letter-spacing:-0.055em;
}

.step{
    position:relative;
    overflow:hidden;

    margin-bottom:18px;
    padding:30px 34px 30px 110px;

    border-radius:var(--radius-medium);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.step::after{
    content:"";

    position:absolute;
    top:0;
    right:0;

    width:150px;
    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(75,190,255,0.09)
        );
}

.step:hover{
    transform:translateX(8px);
    box-shadow:var(--shadow-hover);
}

.step span{
    position:absolute;
    top:50%;
    left:34px;

    color:var(--accent);

    font-size:1.7rem;
    font-weight:800;

    transform:translateY(-50%);
}

.step h3{
    margin-bottom:8px;

    font-size:1.25rem;
    letter-spacing:-0.02em;
}

.step p{
    color:var(--text-soft);
    line-height:1.7;
}

/* =========================
   Demo CTA
========================= */

.demo{
    min-height:72vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:100px 24px;

    text-align:center;
}

.demo h1{
    max-width:820px;
    margin-bottom:18px;

    font-size:clamp(2.7rem, 6vw, 5rem);
    line-height:1.05;
    letter-spacing:-0.06em;
}

.demo p{
    max-width:620px;

    color:var(--text-soft);
    font-size:1.08rem;
    line-height:1.8;
}

.large{
    padding:19px 44px;
    font-size:1.08rem;
}

/* =========================
   Authentication
========================= */

.auth-page{
    min-height:100vh;

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

    padding:140px 8% 80px;
}

.auth-container{
    width:100%;
    max-width:1100px;

    display:grid;
    grid-template-columns:1fr 440px;
    gap:74px;
    align-items:center;
}

.auth-intro{
    max-width:560px;
}

.auth-label{
    display:inline-block;

    margin-bottom:20px;
    padding:8px 13px;

    background:var(--accent-soft);
    color:var(--accent-dark);

    border:1px solid rgba(75,190,255,0.22);
    border-radius:999px;

    font-size:0.78rem;
    font-weight:800;
    letter-spacing:0.16em;
}

.auth-intro h1{
    margin-bottom:20px;

    font-size:clamp(3rem, 6vw, 5rem);
    line-height:1.02;
    letter-spacing:-0.06em;
}

.auth-intro > p{
    max-width:520px;

    color:var(--text-soft);
    font-size:1.06rem;
    line-height:1.85;
}

.auth-feature-list{
    margin-top:38px;

    display:flex;
    flex-direction:column;
    gap:14px;
}

.auth-feature{
    display:flex;
    align-items:center;
    gap:16px;

    padding:16px 18px;

    border-radius:17px;
}

.auth-feature span{
    color:var(--accent-dark);
    font-weight:800;
}

.auth-feature p{
    color:var(--text);
}

.auth-card{
    width:100%;
    padding:38px;

    border-radius:var(--radius-large);
}

.auth-card-header{
    margin-bottom:30px;
}

.auth-card-header h2{
    margin-bottom:9px;

    font-size:2rem;
    letter-spacing:-0.035em;
}

.auth-card-header p{
    color:var(--text-soft);
    line-height:1.6;
}

.auth-form,
.profile-password-form{
    display:flex;
    flex-direction:column;
    gap:21px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:9px;
}

.form-group label{
    color:var(--text);
    font-size:0.93rem;
    font-weight:700;
}

.form-label-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.form-group input,
.demo-create-form textarea,
.demo-create-form select{
    width:100%;
    padding:15px 16px;

    background:rgba(255,255,255,0.70);
    color:var(--text);

    border:1px solid rgba(0,0,0,0.09);
    border-radius:14px;

    box-shadow:
        inset 0 1px 2px rgba(0,0,0,0.035),
        0 1px 0 rgba(255,255,255,0.8);

    outline:none;

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

.form-group input::placeholder,
.demo-create-form textarea::placeholder{
    color:#9A9FA5;
}

.form-group input:focus,
.demo-create-form textarea:focus,
.demo-create-form select:focus{
    background:rgba(255,255,255,0.92);
    border-color:var(--accent);

    box-shadow:
        0 0 0 4px rgba(75,190,255,0.15),
        inset 0 1px 2px rgba(0,0,0,0.02);
}

.form-link,
.auth-bottom-text a,
.terms-group a{
    color:var(--accent-dark);
    text-decoration:none;
    font-weight:700;
}

.form-link:hover,
.auth-bottom-text a:hover,
.terms-group a:hover{
    text-decoration:underline;
}

.auth-submit-btn,
.demo-submit-btn,
.profile-submit-btn{
    padding:15px 22px;

    background:
        linear-gradient(
            180deg,
            #6DCDFF,
            var(--accent)
        );

    color:#fff;

    border:1px solid rgba(255,255,255,0.72);
    border-radius:15px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 12px 28px rgba(75,190,255,0.28);

    font-weight:800;
    cursor:pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.auth-submit-btn:hover,
.demo-submit-btn:hover,
.profile-submit-btn:hover{
    transform:translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.75),
        0 17px 34px rgba(75,190,255,0.38);
}

.auth-divider{
    position:relative;

    margin:28px 0;

    text-align:center;
}

.auth-divider::before{
    content:"";

    position:absolute;
    top:50%;
    left:0;

    width:100%;
    height:1px;

    background:rgba(0,0,0,0.08);
}

.auth-divider span{
    position:relative;

    padding:0 14px;

    background:rgba(255,255,255,0.68);
    color:var(--text-muted);
}

.auth-bottom-text{
    color:var(--text-soft);
    text-align:center;
}

.auth-error,
.profile-success{
    margin-bottom:22px;
    padding:14px 16px;

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

.auth-error{
    background:rgba(255,90,90,0.12);
    color:#B42323;
    border:1px solid rgba(255,90,90,0.24);
}

.profile-success{
    background:rgba(30,190,110,0.12);
    color:#087A42;
    border:1px solid rgba(30,190,110,0.24);
}

/* =========================
   Register
========================= */

.register-page{
    padding-top:130px;
    padding-bottom:70px;
}

.register-container{
    grid-template-columns:1fr 520px;
}

.register-card{
    padding:34px 38px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.terms-group{
    display:flex;
    align-items:flex-start;
    gap:10px;

    color:var(--text-soft);
    font-size:0.9rem;
    line-height:1.6;
}

.terms-group input{
    width:16px;
    height:16px;
    margin-top:4px;

    accent-color:var(--accent);
    cursor:pointer;
}

/* =========================
   Demo Creator
========================= */

.demo-create-page{
    min-height:100vh;
    padding:140px 8% 80px;
}

.demo-create-header{
    max-width:800px;
    margin:0 auto 52px;

    text-align:center;
}

.demo-create-header h1{
    margin-bottom:18px;

    font-size:clamp(2.8rem, 6vw, 4.8rem);
    line-height:1.05;
    letter-spacing:-0.06em;
}

.demo-create-header > p{
    color:var(--text-soft);
    font-size:1.06rem;
    line-height:1.8;
}

.demo-user-greeting{
    display:inline-block;

    margin-top:24px;
    padding:12px 18px;

    color:var(--text-soft);
    border-radius:15px;
}

.demo-user-greeting strong{
    color:var(--accent-dark);
}

.demo-create-container{
    width:100%;
    max-width:1250px;
    margin:0 auto;

    display:grid;
    grid-template-columns:340px 1fr;
    gap:30px;
    align-items:start;
}

.demo-guide-card,
.demo-form-card{
    border-radius:var(--radius-large);
}

.demo-guide-card{
    position:sticky;
    top:115px;

    padding:30px;
}

.demo-guide-card > h2{
    margin-bottom:26px;

    font-size:1.35rem;
    letter-spacing:-0.025em;
}

.demo-guide-step{
    display:flex;
    gap:14px;

    padding:17px 0;

    border-bottom:1px solid rgba(0,0,0,0.07);
}

.demo-guide-step span{
    width:32px;
    height:32px;

    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;

    background:rgba(0,0,0,0.045);
    color:var(--text-muted);

    border-radius:50%;

    font-size:0.76rem;
    font-weight:800;
}

.demo-guide-step.active span{
    background:var(--accent);
    color:#fff;
}

.demo-guide-step h3{
    margin-bottom:5px;

    color:var(--text);
    font-size:0.98rem;
}

.demo-guide-step p{
    color:var(--text-soft);
    font-size:0.86rem;
    line-height:1.6;
}

.demo-guide-notice{
    margin-top:25px;
    padding:17px;

    background:var(--accent-soft);
    border:1px solid rgba(75,190,255,0.19);
    border-radius:15px;
}

.demo-guide-notice h3{
    margin-bottom:9px;

    color:var(--accent-dark);
    font-size:0.92rem;
}

.demo-guide-notice p{
    color:var(--text-soft);
    font-size:0.84rem;
    line-height:1.7;
}

.demo-form-card{
    padding:38px;
}

.demo-form-header{
    margin-bottom:31px;
}

.demo-form-header h2{
    margin-bottom:9px;

    font-size:2rem;
    letter-spacing:-0.035em;
}

.demo-form-header p{
    color:var(--text-soft);
}

.demo-create-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.demo-create-form textarea{
    resize:vertical;
}

.demo-create-form select{
    cursor:pointer;
}

.demo-create-form select option{
    background:#fff;
    color:var(--text);
}

.required-mark{
    color:var(--accent-dark);
}

/* =========================
   Intake Form
========================= */

.intake-form-group{
    padding:25px;

    border-radius:20px;
}

.intake-question-header{
    display:flex;
    align-items:flex-start;
    gap:15px;

    margin-bottom:17px;
}

.intake-question-number{
    width:38px;
    height:38px;

    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;

    background:var(--accent-soft);
    color:var(--accent-dark);

    border:1px solid rgba(75,190,255,0.22);
    border-radius:50%;

    font-size:0.8rem;
    font-weight:800;
}

.intake-question-header label{
    display:block;

    margin-bottom:7px;

    color:var(--text);
    font-size:1.03rem;
    font-weight:800;
}

.form-help-text{
    color:var(--text-soft);
    font-size:0.88rem;
    line-height:1.6;
}

.file-input{
    width:100%;
    padding:14px;

    background:rgba(255,255,255,0.66);
    color:var(--text-soft);

    border:1px dashed rgba(0,0,0,0.18);
    border-radius:14px;

    cursor:pointer;
}

.file-input::file-selector-button{
    margin-right:12px;
    padding:9px 14px;

    background:var(--accent);
    color:#fff;

    border:none;
    border-radius:10px;

    font-weight:700;
    cursor:pointer;
}

.file-type-text{
    margin-top:10px;

    color:var(--text-muted);
    font-size:0.8rem;
}

/* =========================
   Profile
========================= */

.profile-page{
    min-height:100vh;
    padding:140px 8% 80px;
}

.profile-header{
    max-width:1200px;
    margin:0 auto 42px;
}

.profile-header h1{
    margin-bottom:11px;

    font-size:clamp(2.8rem, 5vw, 4.3rem);
    letter-spacing:-0.06em;
}

.profile-header p{
    color:var(--text-soft);
    font-size:1.02rem;
}

.profile-layout{
    width:100%;
    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns:300px 1fr;
    gap:30px;
    align-items:start;
}

.profile-sidebar,
.profile-card{
    border-radius:var(--radius-large);
}

.profile-sidebar{
    position:sticky;
    top:115px;

    padding:32px;

    text-align:center;
}

.profile-avatar{
    width:86px;
    height:86px;
    margin:0 auto 18px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.85),
            rgba(75,190,255,0.28)
        );

    color:var(--accent-dark);

    border:1px solid rgba(255,255,255,0.82);
    border-radius:50%;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 10px 25px rgba(75,190,255,0.18);

    font-size:2rem;
    font-weight:800;
}

.profile-sidebar h2{
    margin-bottom:6px;
    font-size:1.45rem;
}

.profile-username{
    color:var(--text-soft);
}

/* 왼쪽 프로필 카드 안 정보 목록 */
.profile-info-list{
    margin-top:28px;

    display:flex;
    flex-direction:column;

    border-top:1px solid rgba(0,0,0,0.07);
    border-bottom:1px solid rgba(0,0,0,0.07);

    text-align:left;
}

.profile-info-item{
    padding:15px 2px;

    background:none;
    border:none;
    border-radius:0;

    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}

.profile-info-item + .profile-info-item{
    border-top:1px solid rgba(0,0,0,0.06);
}

.profile-info-item span{
    display:block;

    margin-bottom:5px;

    color:var(--text-muted);
    font-size:0.78rem;
}

.profile-info-item strong{
    display:block;

    color:var(--text);
    font-size:0.93rem;
    font-weight:700;
    line-height:1.45;

    word-break:break-all;
}

/* 왼쪽 프로필 카드 하단 로그아웃 영역 */
.profile-logout-section{
    margin-top:22px;
    padding-top:0;

    background:none;
    border:none;
    border-radius:0;

    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}

.profile-logout-btn{
    display:block;

    width:100%;
    padding:12px 16px;

    background:rgba(255,80,80,0.08);
    color:#C73535;

    border:1px solid rgba(255,80,80,0.20);
    border-radius:14px;

    text-align:center;
    text-decoration:none;
    font-size:0.9rem;
    font-weight:800;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.profile-logout-btn:hover{
    background:#E54848;
    color:#fff;

    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(229,72,72,0.20);
}

.profile-content{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.profile-card{
    padding:34px;
}

.profile-card-header{
    margin-bottom:27px;
}

.profile-card-header h2{
    margin-bottom:8px;

    font-size:1.55rem;
    letter-spacing:-0.03em;
}

.profile-card-header p{
    color:var(--text-soft);
    line-height:1.6;
}

.password-help-text{
    color:var(--text-muted);
    font-size:0.83rem;
}

.profile-submit-btn{
    align-self:flex-start;
}

.profile-history-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
}

.profile-new-request-btn{
    flex-shrink:0;

    padding:11px 16px;

    background:var(--accent-soft);
    color:var(--accent-dark);

    border:1px solid rgba(75,190,255,0.22);
    border-radius:13px;

    text-decoration:none;
    font-size:0.88rem;
    font-weight:800;
}

.profile-new-request-btn:hover{
    background:rgba(75,190,255,0.22);
}

.request-history-empty{
    padding:54px 20px;

    border:1px dashed rgba(0,0,0,0.12);
    border-radius:20px;

    text-align:center;
}

.request-history-icon{
    width:52px;
    height:52px;
    margin:0 auto 17px;

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

    background:var(--accent-soft);
    color:var(--accent-dark);

    border-radius:50%;

    font-size:1.7rem;
    font-weight:500;
}

.request-history-empty h3{
    margin-bottom:9px;

    font-size:1.12rem;
}

.request-history-empty p{
    max-width:520px;
    margin:0 auto;

    color:var(--text-soft);
    line-height:1.7;
}

/* =========================
   Responsive
========================= */

@media(max-width:950px){

    .demo-create-container,
    .profile-layout{
        grid-template-columns:1fr;
    }

    .demo-guide-card{
        display:none;
    }

    .profile-sidebar{
        position:static;
    }

}

@media(max-width:900px){

    .auth-container,
    .register-container{
        grid-template-columns:1fr;
        gap:42px;
    }

    .auth-intro{
        max-width:100%;
        text-align:center;
    }

    .auth-intro > p{
        margin:0 auto;
    }

    .auth-feature-list{
        max-width:520px;
        margin:34px auto 0;

        text-align:left;
    }

    .auth-card,
    .register-card{
        max-width:600px;
        margin:0 auto;
    }

}

@media(max-width:768px){

    .navbar{
        top:0;

        width:calc(100% - 20px);
        height:auto;
        min-height:100px;

        padding:6px 10px;

        border-radius:0 0 22px 22px;
    }

    .logo{
        width:180px;
        height:48px;
    }

    .logo img{
        transform:scale(2.15);
        transform-origin:center;
    }

}

@media(max-width:650px){

    .auth-page,
    .register-page,
    .demo-create-page,
    .profile-page{
        padding:160px 18px 50px;
    }

    .auth-card,
    .register-card,
    .demo-form-card,
    .profile-card{
        padding:24px 19px;
    }

    .form-row,
    .demo-create-form .form-row{
        grid-template-columns:1fr;
    }

    .intake-form-group{
        padding:19px 15px;
    }

    .intake-question-header{
        gap:11px;
    }

    .intake-question-number{
        width:34px;
        height:34px;
    }

    .profile-history-header{
        flex-direction:column;
    }

    .profile-new-request-btn,
    .profile-submit-btn{
        width:100%;
        text-align:center;
    }

}

/* =========================
   Profile Logout
========================= */

.profile-logout-section{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;

    padding:24px 28px;

    background:rgba(255,255,255,0.38);
    border:1px solid rgba(255,255,255,0.72);
    border-radius:22px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 14px 36px rgba(30,70,100,0.07);

    backdrop-filter:blur(20px) saturate(140%);
    -webkit-backdrop-filter:blur(20px) saturate(140%);
}

.profile-logout-section h2{
    margin-bottom:6px;

    font-size:1.25rem;
    letter-spacing:-0.025em;
}

.profile-logout-section p{
    color:var(--text-soft);
    font-size:0.92rem;
}

.profile-logout-btn{
    flex-shrink:0;

    padding:12px 20px;

    background:rgba(255,80,80,0.10);
    color:#C73535;

    border:1px solid rgba(255,80,80,0.22);
    border-radius:14px;

    text-decoration:none;
    font-size:0.92rem;
    font-weight:800;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.profile-logout-btn:hover{
    background:#E54848;
    color:#fff;

    transform:translateY(-2px);
}

@media(max-width:650px){

    .profile-logout-section{
        flex-direction:column;
        align-items:flex-start;
    }

    .profile-logout-btn{
        width:100%;
        text-align:center;
    }

}

.file-size-error{
    margin-top:10px;

    color:#C73535;
    font-size:0.84rem;
    line-height:1.5;
}

/* =========================
   Request History Accordion
========================= */

.request-history-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.request-history-item{
    overflow:hidden;

    background:rgba(255,255,255,0.42);

    border:1px solid rgba(255,255,255,0.82);
    border-radius:18px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 10px 28px rgba(30,70,100,0.06);

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

.request-history-item:hover{
    transform:translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.96),
        0 15px 34px rgba(30,70,100,0.09);
}

.request-history-item[open]{
    background:rgba(255,255,255,0.62);
}

.request-history-summary{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;

    padding:20px 22px;

    cursor:pointer;
    list-style:none;
}

.request-history-summary::-webkit-details-marker{
    display:none;
}

.request-history-summary-text{
    min-width:0;
}

.request-history-number{
    display:block;

    margin-bottom:6px;

    color:var(--accent-dark);

    font-size:0.74rem;
    font-weight:800;
    letter-spacing:0.08em;
}

.request-history-summary h3{
    margin-bottom:5px;

    font-size:1.05rem;
    letter-spacing:-0.02em;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.request-history-summary p{
    color:var(--text-muted);
    font-size:0.82rem;
}

.request-history-toggle{
    flex-shrink:0;

    padding:8px 12px;

    background:rgba(75,190,255,0.12);
    color:var(--accent-dark);

    border:1px solid rgba(75,190,255,0.20);
    border-radius:11px;

    font-size:0.8rem;
    font-weight:800;
}

.request-history-item[open] .request-history-toggle{
    font-size:0;
}

.request-history-item[open] .request-history-toggle::after{
    content:"접기";
    font-size:0.8rem;
}

.request-history-details{
    display:flex;
    flex-direction:column;

    padding:0 22px 22px;

    border-top:1px solid rgba(0,0,0,0.06);
}

.request-detail-row{
    display:grid;
    grid-template-columns:180px 1fr;
    gap:22px;

    padding:17px 0;

    border-bottom:1px solid rgba(0,0,0,0.055);
}

.request-detail-row:last-child{
    border-bottom:none;
}

.request-detail-row > span{
    color:var(--text-muted);

    font-size:0.84rem;
    font-weight:700;
}

.request-detail-row p{
    color:var(--text);
    line-height:1.7;

    white-space:pre-wrap;
    word-break:break-word;
}

.request-brand-assets{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
    gap:12px;
}

.request-brand-asset{
    display:flex;
    flex-direction:column;
    gap:9px;

    padding:10px;

    background:rgba(255,255,255,0.58);

    border:1px solid rgba(0,0,0,0.07);
    border-radius:14px;

    color:var(--text);
    text-decoration:none;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.request-brand-asset:hover{
    transform:translateY(-2px);
    border-color:rgba(75,190,255,0.45);
}

.request-brand-asset img{
    width:100%;
    height:110px;

    object-fit:contain;

    background:#fff;
    border-radius:10px;
}

.request-brand-asset span{
    font-size:0.8rem;
    word-break:break-all;
}

@media(max-width:650px){

    .request-history-summary{
        align-items:flex-start;
        padding:17px 16px;
    }

    .request-history-toggle{
        padding:7px 9px;
    }

    .request-history-details{
        padding:0 16px 16px;
    }

    .request-detail-row{
        grid-template-columns:1fr;
        gap:7px;
    }

}

/* =========================
   Follow-up Chat Page
========================= */

.followup-page{
    min-height:100vh;

    padding:140px 20px 40px;
}

.followup-header{
    width:min(900px, 100%);
    margin:0 auto 34px;

    text-align:center;
}

.followup-header h1{
    margin-bottom:16px;

    font-size:clamp(2.8rem, 6vw, 4.8rem);
    line-height:1.05;
    letter-spacing:-0.06em;
}

.followup-header p{
    max-width:700px;
    margin:0 auto;

    color:var(--text-soft);

    font-size:1.02rem;
    line-height:1.8;
}

/* =========================
   Chat Container
========================= */

.followup-chat-container{
    width:min(900px, 100%);
    height:calc(100vh - 300px);
    min-height:540px;
    margin:0 auto;

    display:flex;
    flex-direction:column;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.76),
            rgba(255,255,255,0.42)
        );

    border:1px solid rgba(255,255,255,0.84);
    border-radius:30px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.96),
        0 24px 60px rgba(30,70,100,0.11);

    backdrop-filter:blur(26px) saturate(145%);
    -webkit-backdrop-filter:blur(26px) saturate(145%);

    overflow:hidden;
}

/* =========================
   Chat Messages
========================= */

.followup-chat-messages{
    flex:1;

    display:flex;
    flex-direction:column;
    gap:28px;

    padding:36px 34px;

    overflow-y:auto;
    scroll-behavior:smooth;
}

.followup-chat-messages::-webkit-scrollbar{
    width:8px;
}

.followup-chat-messages::-webkit-scrollbar-thumb{
    background:rgba(75,190,255,0.24);
    border-radius:999px;
}

.followup-message{
    width:100%;

    display:flex;
    flex-direction:column;
    gap:8px;
}

.followup-message-label{
    color:var(--text-muted);

    font-size:0.78rem;
    font-weight:800;
    letter-spacing:0.03em;
}

.followup-message-bubble{
    max-width:76%;
    padding:16px 18px;

    border-radius:20px;

    font-size:0.98rem;
    line-height:1.75;
}

.followup-message-bubble p{
    white-space:pre-wrap;
    word-break:break-word;
}

.followup-assistant-message{
    align-items:flex-start;
}

.followup-assistant-message .followup-message-bubble{
    background:rgba(255,255,255,0.72);
    color:var(--text);

    border:1px solid rgba(255,255,255,0.9);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.95),
        0 8px 22px rgba(30,70,100,0.07);
}

.followup-user-message{
    align-items:flex-end;
}

.followup-user-message .followup-message-label{
    text-align:right;
}

.followup-user-message .followup-message-bubble{
    background:
        linear-gradient(
            180deg,
            #6DCDFF,
            var(--accent)
        );

    color:#fff;

    border:1px solid rgba(255,255,255,0.65);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.65),
        0 10px 26px rgba(75,190,255,0.24);
}

/* =========================
   Chat Input
========================= */

.followup-chat-form{
    padding:18px 20px 16px;

    background:rgba(255,255,255,0.48);
    border-top:1px solid rgba(0,0,0,0.06);

    backdrop-filter:blur(22px) saturate(140%);
    -webkit-backdrop-filter:blur(22px) saturate(140%);
}

.followup-input-box{
    display:flex;
    align-items:flex-end;
    gap:12px;

    padding:10px 10px 10px 16px;

    background:rgba(255,255,255,0.78);

    border:1px solid rgba(0,0,0,0.08);
    border-radius:20px;

    box-shadow:
        inset 0 1px 2px rgba(0,0,0,0.025),
        0 8px 24px rgba(30,70,100,0.06);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.followup-input-box:focus-within{
    border-color:var(--accent);

    box-shadow:
        0 0 0 4px rgba(75,190,255,0.14),
        0 10px 26px rgba(30,70,100,0.07);
}

.followup-input-box textarea{
    flex:1;

    min-height:42px;
    max-height:180px;
    padding:10px 0;

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

    border:none;
    outline:none;

    resize:none;
    overflow-y:auto;

    font-size:0.98rem;
    line-height:1.55;
}

.followup-input-box textarea::placeholder{
    color:#9A9FA5;
}

.followup-send-button{
    flex-shrink:0;

    min-width:78px;
    height:42px;
    padding:0 18px;

    background:
        linear-gradient(
            180deg,
            #6DCDFF,
            var(--accent)
        );

    color:#fff;

    border:1px solid rgba(255,255,255,0.7);
    border-radius:14px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.68),
        0 9px 22px rgba(75,190,255,0.24);

    font-size:0.9rem;
    font-weight:800;

    cursor:pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.followup-send-button:hover{
    transform:translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 13px 27px rgba(75,190,255,0.32);
}

.followup-send-button:disabled{
    opacity:0.55;

    cursor:not-allowed;
    transform:none;
}

.followup-input-guide{
    margin-top:9px;

    color:var(--text-muted);

    font-size:0.76rem;
    text-align:center;
}

/* =========================
   Loading Animation
========================= */

.followup-loading-bubble{
    min-width:70px;

    display:flex;
    align-items:center;
    gap:6px;
}

.followup-loading-bubble span{
    width:7px;
    height:7px;

    background:var(--accent);
    border-radius:50%;

    animation:followupLoading 1.2s infinite ease-in-out;
}

.followup-loading-bubble span:nth-child(2){
    animation-delay:0.15s;
}

.followup-loading-bubble span:nth-child(3){
    animation-delay:0.3s;
}

@keyframes followupLoading{

    0%,
    80%,
    100%{
        transform:translateY(0);
        opacity:0.4;
    }

    40%{
        transform:translateY(-5px);
        opacity:1;
    }

}

/* =========================
   Follow-up Responsive
========================= */

@media(max-width:768px){

    .followup-page{
        padding:150px 12px 20px;
    }

    .followup-header{
        margin-bottom:24px;
    }

    .followup-chat-container{
        height:calc(100vh - 290px);
        min-height:500px;

        border-radius:24px;
    }

    .followup-chat-messages{
        padding:24px 16px;
        gap:22px;
    }

    .followup-message-bubble{
        max-width:88%;
    }

    .followup-chat-form{
        padding:12px;
    }

    .followup-input-box{
        gap:8px;
        padding-left:13px;
    }

    .followup-send-button{
        min-width:68px;
        padding:0 13px;
    }

}

/* =========================
   Forgot / Reset Password
========================= */

.password-reset-container{
    grid-template-columns:1fr 440px;
}

.password-login-link{
    display:block;

    margin-top:18px;

    text-align:center;
    text-decoration:none;
}

@media(max-width:900px){

    .password-reset-container{
        grid-template-columns:1fr;
    }

}

.followup-next-button{
    display:inline-block;

    margin-top:16px;
    padding:12px 18px;

    background:var(--accent);
    color:#fff;

    border-radius:14px;

    text-decoration:none;
    font-size:0.9rem;
    font-weight:800;
}

.followup-complete-bubble{
    max-width:100%;
    padding:22px;
}

.followup-complete-bubble h3{
    margin-bottom:10px;

    font-size:1.1rem;
    letter-spacing:-0.02em;
}

.followup-complete-bubble p{
    margin-bottom:16px;

    color:var(--text-soft);
    line-height:1.7;
}

.followup-next-button{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    margin-top:16px;
    padding:13px 18px;

    background:
        linear-gradient(
            180deg,
            #6DCDFF,
            var(--accent)
        );

    color:#fff;

    border:1px solid rgba(255,255,255,0.7);
    border-radius:14px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 10px 24px rgba(75,190,255,0.24);

    text-decoration:none;
    font-size:0.9rem;
    font-weight:800;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.followup-next-button:hover{
    transform:translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.75),
        0 14px 30px rgba(75,190,255,0.32);
}

/* =========================================================
   Script Result Page
========================================================= */

.script-page{
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 170px 0 90px;
}

.script-header{
    text-align: center;
    margin-bottom: 54px;
}

.script-header .auth-label{
    margin-bottom: 18px;
}

.script-header h1{
    margin: 0 0 18px;

    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.95;

    color: var(--text);
}

.script-header p{
    max-width: 760px;
    margin: 0 auto;

    color: var(--text-soft);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.8;
}

.script-card{
    width: min(980px, 100%);
    margin: 0 auto;

    padding: 42px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.74),
            rgba(255,255,255,0.38)
        );

    border: 1px solid rgba(255,255,255,0.86);
    border-radius: 34px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 26px 70px rgba(0,0,0,0.10);

    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.script-generate-area{
    min-height: 260px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

.script-generate-area h2{
    margin: 0 0 14px;

    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.script-generate-area p{
    margin-bottom: 34px;

    color: var(--text-soft);
    font-size: 1rem;
    font-weight: 600;
}

.script-result{
    width: 100%;
}

.script-result pre{
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: break-word;

    margin: 0;

    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.85;

    color: var(--text);
}

.script-result-actions{
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    margin-top: 30px;
}

.script-secondary-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 18px;

    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);

    background: rgba(255,255,255,0.58);
    color: var(--text);

    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 800;

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

.script-secondary-btn:hover{
    transform: translateY(-2px);
    background: rgba(255,255,255,0.82);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

#generateScriptButton:disabled{
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

@media(max-width: 760px){
    .script-page{
        width: min(100% - 28px, 1240px);
        padding: 130px 0 60px;
    }

    .script-header{
        margin-bottom: 34px;
    }

    .script-card{
        padding: 26px;
        border-radius: 26px;
    }

    .script-result pre{
        font-size: 0.94rem;
        line-height: 1.75;
    }

    .script-result-actions{
        flex-direction: column;
    }

    .script-secondary-btn,
    .script-generate-area .btn{
        width: 100%;
    }
}