/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #7B8EC8;
    --primary-dark: #5A6BAB;
    --primary-light: #EAEEf8;
    --secondary: #B0A0D8;
    --accent: #D4926B;
    --bg: #F8F7FF;
    --bg-alt: #F2F0FB;
    --white: #FFFFFF;
    --text: #2C2D3D;
    --text-muted: #7879A0;
    --border: #E0DCF0;
    --shadow: rgba(90, 107, 171, 0.10);
    --shadow-md: rgba(90, 107, 171, 0.20);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(248, 247, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 24px var(--shadow);
    padding: 12px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    transition: opacity var(--transition);
}

.logo:hover { opacity: 0.8; }
.logo-icon { font-size: 1.4rem; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav-link:hover { color: var(--primary); }

.nav-link.nav-cta {
    background: var(--primary);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition);
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* === SECTION COMMON === */
.section-head {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.section-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.75;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #EAEEfA 0%, #EAE5FA 50%, #FAF0EA 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}

.hero-blob--1 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, #C8D5F8 0%, transparent 70%);
    top: -120px; left: -120px;
    animation: blobDrift 9s ease-in-out infinite;
}

.hero-blob--2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #D4C8F8 0%, transparent 70%);
    top: 5%; right: -80px;
    animation: blobDrift 11s ease-in-out infinite reverse;
}

.hero-blob--3 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, #F8D8C0 0%, transparent 70%);
    bottom: 8%; left: 28%;
    animation: blobDrift 13s ease-in-out infinite;
}

@keyframes blobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(24px, -18px) scale(1.04); }
    66% { transform: translate(-16px, 14px) scale(0.97); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 90px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 18px;
}

.hero-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    width: 360px;
    height: 360px;
    background: white;
    border-radius: 36px;
    box-shadow: 0 24px 64px var(--shadow-md), 0 4px 16px var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.dog-circle {
    width: 148px;
    height: 148px;
    background: linear-gradient(135deg, var(--primary-light), #EDE8FA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dogPulse 3.5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.dog-emoji { font-size: 4.8rem; }

@keyframes dogPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(123,142,200,0.3); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 16px rgba(123,142,200,0); }
}

/* Floating music notes */
.note-float {
    position: absolute;
    font-size: 1.6rem;
    color: var(--secondary);
    animation: noteFloat 4s ease-in-out infinite;
    user-select: none;
    z-index: 2;
}

.note-1 { top: 14%; left: 13%; animation-delay: 0s; font-size: 1.8rem; }
.note-2 { top: 18%; right: 14%; animation-delay: 1.1s; font-size: 1.2rem; color: var(--primary); }
.note-3 { bottom: 22%; left: 15%; animation-delay: 2.2s; font-size: 1rem; }
.note-4 { bottom: 20%; right: 13%; animation-delay: 0.6s; font-size: 1.5rem; }

@keyframes noteFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.65; }
    50% { transform: translateY(-14px) rotate(12deg); opacity: 1; }
}

/* Equalizer wave bars */
.wave-bars {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: flex-end;
    z-index: 1;
}

.wave-bar {
    width: 7px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    animation: waveEq 1.4s ease-in-out infinite;
}

.wave-bar--1 { height: 18px; animation-delay: 0s; }
.wave-bar--2 { height: 34px; animation-delay: 0.15s; }
.wave-bar--3 { height: 26px; animation-delay: 0.3s; }
.wave-bar--4 { height: 42px; animation-delay: 0.08s; }
.wave-bar--5 { height: 20px; animation-delay: 0.22s; }

@keyframes waveEq {
    0%, 100% { transform: scaleY(1); opacity: 0.8; }
    50% { transform: scaleY(0.3); opacity: 0.4; }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg { display: block; width: 100%; }

/* === ABOUT === */
.about {
    padding: 108px 0;
    background: var(--bg);
}

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

.about-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    border: 1.5px solid var(--border);
    transition: all var(--transition);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-md);
    border-color: transparent;
}

.about-card--featured {
    background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: transparent;
}

.about-card--featured h3,
.about-card--featured p { color: white; }

.about-card--featured .about-icon-wrap {
    background: rgba(255, 255, 255, 0.22);
}

.about-icon-wrap {
    width: 68px;
    height: 68px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin: 0 auto 22px;
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* === HOW IT WORKS === */
.how {
    padding: 108px 0;
    background: var(--bg-alt);
}

.steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 44px 28px 40px;
    background: white;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-md);
    border-color: transparent;
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    font-family: 'Noto Serif KR', serif;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.step-icon {
    font-size: 2.6rem;
    margin-bottom: 18px;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-connector {
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -4px;
    align-self: center;
}

.step-connector svg { width: 64px; }

/* === REQUEST FORM === */
.request {
    padding: 108px 0;
    background: var(--bg);
}

.form-wrap {
    max-width: 920px;
    margin: 0 auto;
    background: white;
    border-radius: 28px;
    padding: 56px 60px;
    box-shadow: 0 4px 40px var(--shadow), 0 1px 8px var(--shadow);
    border: 1.5px solid var(--border);
}

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

.form-group { margin-bottom: 28px; }
.form-group:last-child { margin-bottom: 0; }

.label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.req { color: #E05C5C; margin-left: 2px; }

.input, .textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.input:focus, .textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(123, 142, 200, 0.15);
}

.input::placeholder, .textarea::placeholder { color: #C5C3D8; }

.textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 7px;
    line-height: 1.5;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 7px;
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    min-height: 188px;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FDFCFF;
}

.upload-zone:hover, .upload-zone.drag-over {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-empty {
    text-align: center;
    padding: 28px 20px;
    pointer-events: none;
}

.upload-icon-big {
    font-size: 3rem;
    margin-bottom: 12px;
}

.upload-main {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.upload-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.upload-filled {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 188px;
}

.upload-filled img {
    width: 100%;
    height: 188px;
    object-fit: cover;
    display: block;
}

.remove-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    border: none;
    z-index: 2;
}

.remove-photo:hover { background: rgba(0, 0, 0, 0.85); }

/* Mood Grid */
.mood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mood-item { position: relative; }

.mood-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.mood-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 11px 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    background: white;
    user-select: none;
}

.mood-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.mood-item input:checked + .mood-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 2px 8px var(--shadow-md);
}

/* Submit Area */
.form-submit-area {
    margin-top: 44px;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 44px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px var(--shadow-md);
    letter-spacing: 0.02em;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px var(--shadow-md);
}

.submit-btn:active { transform: translateY(-1px); }

.submit-btn:disabled {
    opacity: 0.68;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spinAnim 0.9s linear infinite;
    flex-shrink: 0;
}

@keyframes spinAnim { to { transform: rotate(360deg); } }

/* Success Card */
.success-card {
    text-align: center;
    padding: 64px 20px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.success-emoji {
    font-size: 4.5rem;
    display: block;
    margin-bottom: 24px;
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
    0% { transform: scale(0) rotate(-10deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.success-card h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.success-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 32px;
}

/* === YOUTUBE CTA === */
.yt-cta {
    padding: 80px 0;
    background: var(--bg-alt);
}

.yt-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, #4A5899 100%);
    border-radius: 28px;
    padding: 64px 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    color: white;
    overflow: hidden;
    position: relative;
}

.yt-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -5%;
    width: 480px;
    height: 480px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.yt-text { position: relative; z-index: 1; }

.yt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.yt-text h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.3;
}

.yt-text p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.75;
    margin-bottom: 30px;
}

.yt-btn {
    display: inline-block;
    background: white;
    color: var(--primary-dark);
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
}

.yt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.yt-visual {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.yt-rings {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.18);
    animation: ringPulse 2.8s ease-in-out infinite;
}

.yt-ring--1 { width: 80px; height: 80px; animation-delay: 0s; }
.yt-ring--2 { width: 128px; height: 128px; animation-delay: 0.45s; }
.yt-ring--3 { width: 178px; height: 178px; animation-delay: 0.9s; }

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.04); opacity: 0.9; }
}

.yt-dog {
    font-size: 3.2rem;
    position: relative;
    z-index: 1;
    animation: dogPulse 3.5s ease-in-out infinite;
}

/* === FOOTER === */
.footer {
    background: #1C1E2E;
    padding: 48px 0;
    color: rgba(255, 255, 255, 0.55);
}

.footer-inner { text-align: center; }

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
}

.footer-brand strong { font-weight: 700; }

.footer-inner p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 0.78rem;
    opacity: 0.55;
    margin-top: 20px !important;
}

/* === CONFIRM MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 46, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: white;
    border-radius: 28px;
    padding: 48px 44px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(44, 45, 61, 0.28);
    transform: scale(0.92) translateY(16px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.show .modal {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.modal-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
}

.modal-summary {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 16px;
    text-align: left;
}

.modal-summary-row {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
}

.modal-summary-row:last-child { border-bottom: none; }

.modal-summary-label {
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 80px;
    font-size: 0.82rem;
}

.modal-summary-value {
    flex: 1;
    word-break: break-word;
}

.modal-notice {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.modal-cancel {
    flex: 1;
    padding: 14px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    background: var(--bg-alt);
    color: var(--text-muted);
    border: 2px solid var(--border);
    transition: all var(--transition);
}

.modal-cancel:hover {
    background: var(--border);
    color: var(--text);
}

.modal-confirm {
    flex: 1.4;
    padding: 14px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    transition: all var(--transition);
    box-shadow: 0 4px 16px var(--shadow-md);
}

.modal-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-md);
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(24px);
    background: #2C2D3D;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .hero-visual { order: -1; }
    .hero-card { width: 280px; height: 280px; }
    .dog-circle { width: 110px; height: 110px; }
    .dog-emoji { font-size: 3.5rem; }
    .hero-actions { justify-content: center; }

    .about-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .step { max-width: 420px; width: 100%; }
    .step-connector { transform: rotate(90deg); }

    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .form-wrap { padding: 40px 28px; }
    .mood-grid { grid-template-columns: repeat(2, 1fr); }

    .yt-card {
        flex-direction: column;
        text-align: center;
        padding: 48px 36px;
    }
    .yt-visual { display: none; }
}

@media (max-width: 620px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        background: rgba(248, 247, 255, 0.98);
        backdrop-filter: blur(14px);
        flex-direction: column;
        padding: 20px 24px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
        gap: 4px;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.open { display: flex; }
    .hamburger { display: flex; }

    .nav-link {
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        width: 100%;
        display: block;
    }

    .nav-link:last-child { border-bottom: none; }

    .nav-link.nav-cta {
        background: none;
        color: var(--primary);
        padding: 12px 0;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-card { width: 240px; height: 240px; border-radius: 28px; }
    .note-float { font-size: 1.2rem; }
    .note-1 { font-size: 1.4rem; }

    .form-wrap { padding: 32px 20px; border-radius: 20px; }
    .submit-btn { width: 100%; justify-content: center; padding: 18px 24px; }
    .mood-grid { grid-template-columns: repeat(2, 1fr); }

    .yt-card { padding: 40px 24px; border-radius: 20px; }
    .yt-text h2 { font-size: 1.5rem; }
}
