@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
    --ink: #12131a;
    --ink-soft: #2b2f3a;
    --accent: #ff6a3d;
    --accent-deep: #e64e2e;
    --accent-glow: rgba(255, 106, 61, 0.2);
    --line: rgba(18, 19, 26, 0.08);
    --line-faint: rgba(18, 19, 26, 0.04);
    --cloud: #f8f7f4;
    --cream: #fff4ee;
    --sand: #fdeee3;
    --stone: #e6e2dc;
    --mint: #e6f2ec;
    --shadow-soft: 0 18px 45px rgba(18, 19, 26, 0.08);
    --shadow-strong: 0 24px 60px rgba(18, 19, 26, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Trebuchet MS', Arial, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: radial-gradient(circle at top left, #fffaf6 0%, #ffffff 55%, #f5f5f5 100%);
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

header:hover {
    box-shadow: none;
}

.header-container {
    max-width: 100%;
    margin: 0;
    padding: 0 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    box-sizing: border-box;
}

.logo {
    height: 32px;
    width: auto;
    display: block;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.container {
    max-width: 100%;
    margin: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

#auth-section {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 100%;
}

h1 {
    font-size: 24px;
    color: var(--ink);
}


h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--ink-soft);
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 106, 61, 0.28);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--accent-deep);
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(230, 78, 46, 0.28);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(255, 122, 89, 0.2);
}

.btn-primary:disabled {
    background-color: #cbd5e0;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    background-color: var(--ink);
    color: white;
    box-shadow: 0 10px 24px rgba(18, 19, 26, 0.18);
}

.btn-secondary:hover {
    background-color: #0d0f14;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(18, 19, 26, 0.22);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Subtle text button for tertiary actions */
.btn-subtle {
    background: transparent;
    color: var(--ink-soft);
    border: none;
    box-shadow: none;
    padding: 10px 16px;
}

.btn-subtle:hover {
    color: var(--ink);
    background: rgba(18, 19, 26, 0.04);
}

.upload-section {
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: 0 16px 36px rgba(18, 19, 26, 0.08);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

#video-input {
    display: block;
    margin-bottom: 16px;
    padding: 10px 12px;
    width: 100%;
    border: 1px solid rgba(18, 19, 26, 0.12);
    border-radius: 10px;
    background: #fbfbfd;
}

.status-section {
    margin-bottom: 24px;
}

/* Hide status section when empty */
.status-section:empty,
#status-text:empty {
    display: none;
    margin: 0;
    padding: 0;
}

#status-text {
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
}

.status-info {
    color: var(--ink-soft);
    background-color: rgba(18, 19, 26, 0.04);
}

.status-success {
    color: var(--ink-soft);
    background-color: rgba(34, 197, 94, 0.08);
}

.status-error {
    color: var(--ink);
    background-color: rgba(239, 68, 68, 0.08);
}

.output-section {
    margin-top: 32px;
    padding: 24px;
    border-radius: 16px;
    background: white;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: 0 16px 36px rgba(18, 19, 26, 0.08);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

#json-output {
    background-color: #f8f8f8;
    border: 1px solid rgba(18, 19, 26, 0.12);
    border-radius: 4px;
    padding: 15px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 500px;
    overflow-y: auto;
}

.login-prompt {
    text-align: center;
    padding: 40px;
    color: #6b717b;
}

/* Projects List View - Authenticated Pages Layout */
#projects-view,
#create-project-view,
#edit-project-view,
#project-view,
#profile-view {
    padding: 140px 6vw 120px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    background-image:
        linear-gradient(135deg, #fff7f0 0%, #ffffff 55%, #f4f7ff 100%),
        repeating-linear-gradient(90deg, transparent 0 72px, var(--line-faint) 72px 73px),
        repeating-linear-gradient(0deg, transparent 0 72px, var(--line-faint) 72px 73px);
    overflow: hidden;
}

/* Ambient gradient overlays like landing page */
#projects-view::before,
#create-project-view::before,
#edit-project-view::before,
#project-view::before,
#profile-view::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.18), transparent 70%);
    top: -120px;
    right: -120px;
    opacity: 0.8;
    pointer-events: none;
}

#projects-view::after,
#create-project-view::after,
#edit-project-view::after,
#project-view::after,
#profile-view::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(79, 125, 255, 0.12), transparent 70%);
    bottom: -120px;
    left: -100px;
    opacity: 0.8;
    pointer-events: none;
}

/* Center and constrain all primary sections on authenticated pages */
#projects-view > *,
#create-project-view > *,
#edit-project-view > *,
#project-view > *,
#profile-view > * {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Ensure key blocks on project detail are centered */
.project-header,
.project-info,
.upload-section,
.status-section,
.output-section {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 64px;
    gap: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.projects-header h2,
.project-header h2,
.profile-header h2 {
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.project-card {
    border: 1px solid rgba(18, 19, 26, 0.08);
    border-radius: 20px;
    padding: 32px;
    background: white;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 61, 0.2);
    box-shadow: var(--shadow-strong);
}

.project-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--ink);
}

.project-meta {
    font-size: 12px;
    color: #6b717b;
    margin: 5px 0;
}

.project-card .btn {
    margin-top: 18px;
    margin-right: 10px;
    width: auto;
}

.no-projects {
    text-align: center;
    padding: 80px 40px;
    color: #4b5160;
    border-radius: 20px;
    background: white;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 0.8s ease-out;
}

.no-projects p {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
}

/* Project Detail View */
.project-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    padding-bottom: 0;
    border-bottom: none;
    animation: fadeInUp 0.8s ease-out;
}

.project-header h2 {
    margin: 0;
    flex: 1;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    padding-bottom: 0;
    border-bottom: none;
    animation: fadeInUp 0.8s ease-out;
}

h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Form section description text */
.form-section-description {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-helper-text {
    display: block;
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.4;
}

h1,
h2,
h3,
.section-title,
.landing-title,
.reality-check-title,
.footer-title {
    font-family: 'Space Grotesk', 'Trebuchet MS', Arial, sans-serif;
    letter-spacing: -0.02em;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(18, 19, 26, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(18, 19, 26, 0.08);
}

.btn-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6b717b;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.btn-close:hover {
    color: var(--ink);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(18, 19, 26, 0.08);
}

/* Profile intro box */
.profile-intro {
    margin-bottom: 32px;
    padding: 32px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 0.8s ease-out;
}

.profile-intro p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

.profile-intro strong {
    color: var(--ink);
    font-weight: 600;
}

/* Profile Form Styles */
.profile-form, .project-form {
    margin-top: 32px;
    background: white;
    padding: 48px 40px;
    border-radius: 20px;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--ink-soft);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(18, 19, 26, 0.12);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fbfbfd;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
    background: #ffffff;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Project Info Display */
.project-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 247, 240, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 106, 61, 0.12);
    box-shadow: 0 4px 20px rgba(255, 106, 61, 0.06);
}

.info-section {
    background: rgba(18, 19, 26, 0.02);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(18, 19, 26, 0.06);
}

.info-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #6b717b;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-section p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.info-section strong {
    color: #4b5160;
    margin-right: 8px;
}

.video-path-display {
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: var(--signal);
    background: rgba(255, 87, 34, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: help;
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 19, 26, 0.7);
    backdrop-filter: blur(8px);
}

.auth-modal-content {
    position: relative;
    width: 90%;
    max-width: 440px;
    background: linear-gradient(135deg, rgba(255, 247, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(255, 106, 61, 0.15);
    border: 1px solid rgba(255, 106, 61, 0.1);
    animation: slideUpFadeIn 0.4s ease-out;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--ink-soft);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.auth-modal-close:hover {
    background: rgba(18, 19, 26, 0.06);
    color: var(--ink);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: rgba(18, 19, 26, 0.04);
    padding: 4px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.5);
}

.auth-tab.active {
    background: white;
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(255, 106, 61, 0.12);
}

/* Auth Form */
.auth-form-container {
    animation: fadeIn 0.3s ease-out;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0 0 32px 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.auth-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.auth-form-group input {
    padding: 14px 16px;
    border: 1.5px solid rgba(18, 19, 26, 0.12);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: white;
    color: var(--ink);
    transition: all 0.2s ease;
}

.auth-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.1);
}

.auth-form-group input::placeholder {
    color: var(--ink-lighter);
}

.auth-hint {
    font-size: 13px;
    color: var(--ink-light);
    margin-top: -4px;
}

.auth-link {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: right;
    padding: 0;
    margin-top: -8px;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--accent-deep);
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--ink-light);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(18, 19, 26, 0.12);
}

/* Google Button */
.btn-google {
    width: 100%;
    padding: 14px 24px;
    background: white;
    border: 1.5px solid rgba(18, 19, 26, 0.12);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: rgba(18, 19, 26, 0.02);
    border-color: rgba(18, 19, 26, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(18, 19, 26, 0.08);
}

.btn-google:active {
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .project-info {
        grid-template-columns: 1fr;
    }
}

/* Project Details (Always Visible) */

/* Decision Support Section */
.decision-section {
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
}

.decision-header {
    text-align: center;
    margin-bottom: 64px;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(255, 247, 240, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 106, 61, 0.12);
    box-shadow: 0 4px 20px rgba(255, 106, 61, 0.08);
}

.decision-title {
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.decision-subtitle {
    font-size: clamp(18px, 2.2vw, 22px);
    color: #4b5160;
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
    opacity: 0.9;
}

/* Verdict Cards */
.verdict-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 64px;
}

.verdict-card {
    background: linear-gradient(135deg, rgba(255, 247, 240, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 20px;
    padding: 32px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 106, 61, 0.06);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    cursor: pointer;
    position: relative;
}

.verdict-card:nth-child(1) { animation-delay: 0.2s; }
.verdict-card:nth-child(2) { animation-delay: 0.3s; }
.verdict-card:nth-child(3) { animation-delay: 0.4s; }

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

/* Selected state for verdict cards */
.verdict-card-selected {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(255, 106, 61, 0.2);
}

.verdict-card-selected::before {
    content: '✓ Selected';
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(255, 106, 61, 0.3);
}

.verdict-card-safe.verdict-card-selected {
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

.verdict-card-bold.verdict-card-selected {
    border-color: rgba(168, 85, 247, 0.7);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.25);
}

.verdict-card-avoid.verdict-card-selected {
    border-color: rgba(14, 165, 233, 0.7);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.25);
}

.verdict-card-safe {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(145deg, #ffffff, #eff6ff);
}

.verdict-card-safe:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.verdict-card-bold {
    border-color: rgba(168, 85, 247, 0.3);
    background: linear-gradient(145deg, #ffffff, #faf5ff);
}

.verdict-card-bold:hover {
    border-color: rgba(168, 85, 247, 0.5);
}

.verdict-card-avoid {
    border-color: rgba(14, 165, 233, 0.3);
    background: linear-gradient(145deg, #ffffff, #ecfeff);
}

.verdict-card-avoid:hover {
    border-color: rgba(14, 165, 233, 0.5);
}

.verdict-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.verdict-card-safe .verdict-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #1e40af;
}

.verdict-card-bold .verdict-badge {
    background: rgba(168, 85, 247, 0.15);
    color: #7c3aed;
}

.verdict-card-avoid .verdict-badge {
    background: rgba(14, 165, 233, 0.15);
    color: #0369a1;
}

.verdict-icon {
    font-size: 16px;
    line-height: 1;
}

.verdict-frame {
    width: 100%;
    height: 200px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10131a, #1e2230);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verdict-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.frame-placeholder-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.verdict-explanation {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 16px;
    font-weight: 400;
}

.verdict-toggle {
    background: none;
    border: none;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.verdict-toggle:hover {
    color: var(--ink);
}

.verdict-toggle .toggle-icon {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.verdict-toggle.expanded .toggle-icon {
    transform: rotate(180deg);
}

.verdict-details {
    margin-top: 16px;
    padding: 18px 20px;
    background: rgba(18, 19, 26, 0.03);
    border-radius: 12px;
    border-left: 3px solid rgba(18, 19, 26, 0.15);
}

.verdict-card-safe .verdict-details {
    border-left-color: rgba(59, 130, 246, 0.5);
}

.verdict-card-bold .verdict-details {
    border-left-color: rgba(168, 85, 247, 0.5);
}

.verdict-card-avoid .verdict-details {
    border-left-color: rgba(14, 165, 233, 0.5);
}

.verdict-details-collapsed {
    display: none;
}

.verdict-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.verdict-details li {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
}

.verdict-details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--ink-soft);
    font-weight: 700;
}

/* Confidence Reinforcement Line */
.confidence-line {
    text-align: center;
    padding: 48px 40px;
    margin-bottom: 48px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 0.8s ease-out 0.5s;
    animation-fill-mode: both;
}

.confidence-line p {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--ink);
    font-weight: 500;
    margin: 0;
    line-height: 1.65;
    font-style: italic;
}

/* Decision CTA */
.decision-cta {
    text-align: center;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease-out 0.6s;
    animation-fill-mode: both;
}

/* Post-Decision Confirmation */
.decision-confirmation {
    margin: 48px auto 64px;
    max-width: 700px;
    animation: fadeInUp 0.6s ease-out;
}

.confirmation-content {
    background: linear-gradient(135deg, rgba(255, 247, 240, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 106, 61, 0.15);
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 20px rgba(255, 106, 61, 0.08);
}

.confirmation-header {
    text-align: center;
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(18, 19, 26, 0.08);
}

.confirmation-check {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.12);
    color: #4CAF50;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.confirmation-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.confirmation-subtitle {
    font-size: 16px;
    color: var(--ink-soft);
    margin: 0;
    font-weight: 500;
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.confirmation-option {
    width: 100%;
}

.btn-option {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-option .option-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    display: block;
}

.btn-option .option-hint {
    font-size: 13px;
    color: var(--ink-light);
    font-weight: 400;
    display: block;
}

.btn-option:hover .option-title {
    color: var(--accent);
}

.btn-ghost.btn-option {
    border: 1px solid rgba(18, 19, 26, 0.12);
    background: white;
}

.btn-ghost.btn-option:hover {
    border-color: rgba(255, 106, 61, 0.3);
    background: rgba(255, 247, 240, 0.5);
    transform: translateY(-1px);
}

.btn-subtle.btn-option {
    background: transparent;
    color: var(--ink-soft);
}

.btn-subtle.btn-option:hover {
    background: rgba(18, 19, 26, 0.04);
}

.btn-subtle.btn-option .option-title {
    color: var(--ink-soft);
    font-weight: 500;
}

/* Technical Details (Collapsed) */
.technical-details-toggle {
    margin-top: 48px;
    margin-bottom: 12px;
}

.technical-details {
    margin-top: 12px;
    padding: 24px;
    border-radius: 16px;
    background: #f8f8f8;
    border: 1px solid rgba(18, 19, 26, 0.12);
}

.technical-details-collapsed {
    display: none;
}

.technical-details pre {
    background-color: #f8f8f8;
    border: 1px solid rgba(18, 19, 26, 0.12);
    border-radius: 4px;
    padding: 15px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 500px;
    overflow-y: auto;
    margin: 0;
}

/* Video Selection Section */
.video-selection-section {
    margin-bottom: 48px;
    padding: 48px 40px;
    border-radius: 20px;
    background: white;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: var(--shadow-soft);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
}

.video-selection-section h3 {
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 12px;
    margin-top: 0;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.video-upload-hint {
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0 0 32px 0;
    font-style: italic;
}

.video-choice-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-choice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    min-width: 220px;
    justify-content: center;
}

.choice-divider {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Upload Progress Section */
.upload-progress-section {
    margin-bottom: 48px;
    padding: 48px 40px;
    border-radius: 20px;
    background: white;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: var(--shadow-soft);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
}

.upload-progress-section[style*="display: none"] {
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
}

.progress-content {
    text-align: center;
}

#upload-progress-text {
    font-size: 16px;
    color: var(--ink);
    margin-bottom: 16px;
    font-weight: 500;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(18, 19, 26, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

/* Hide progress bar container when parent section is hidden */
.upload-progress-section[style*="display: none"] .progress-bar-container {
    display: none;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
    border-radius: 999px;
    width: 0%;
    transition: width 0.3s ease;
}

/* Analysis Progress Section */
.analysis-progress-section {
    margin-bottom: 48px;
    padding: 64px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 247, 240, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 106, 61, 0.12);
    box-shadow: 0 4px 20px rgba(255, 106, 61, 0.08);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
}

.analysis-progress-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.analysis-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    border: 3px solid rgba(255, 87, 34, 0.1);
    border-top-color: var(--signal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.analysis-progress-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.analysis-progress-subtitle {
    font-size: 16px;
    color: var(--ink-light);
    margin-bottom: 8px;
    line-height: 1.5;
}

.analysis-progress-time {
    font-size: 14px;
    color: var(--ink-lighter);
    font-style: italic;
}

/* Video Player Section */
.video-player-section {
    margin-bottom: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.video-player-container {
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 247, 240, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(255, 106, 61, 0.12);
    box-shadow: 0 4px 20px rgba(255, 106, 61, 0.08);
}

.project-video {
    width: 100%;
    max-height: 500px;
    border-radius: 14px;
    background: #000;
    margin-bottom: 16px;
    outline: none;
    border: none;
    display: block;
}

/* Video fullscreen backdrop styling */
.project-video::backdrop {
    background-color: rgba(0, 0, 0, 0.95);
}

/* Ensure video doesn't auto-fullscreen */
.project-video:fullscreen {
    max-height: none;
}

.video-loading-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 247, 240, 0.5);
    border-radius: 14px;
    margin-bottom: 16px;
}

.video-loading-spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 16px;
    border: 3px solid rgba(255, 87, 34, 0.1);
    border-top-color: var(--signal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.video-loading-state p {
    font-size: 14px;
    color: var(--ink-light);
    margin: 0;
}

.video-timeline-markers {
    position: relative;
    height: 40px;
    background: rgba(255, 247, 240, 0.4);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 0 12px;
    display: flex;
    align-items: center;
}

/* Hide timeline markers when empty */
.video-timeline-markers:empty {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
}

.timeline-marker {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.timeline-marker:hover {
    transform: scale(1.3);
    z-index: 20;
}

.timeline-marker-safe {
    background: #3b82f6;
    border: 2px solid #1e40af;
}

.timeline-marker-bold {
    background: #a855f7;
    border: 2px solid #7c3aed;
}

.timeline-marker-avoid {
    background: #0ea5e9;
    border: 2px solid #0369a1;
}

.timeline-marker::after {
    content: attr(data-time);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    margin-bottom: 4px;
}

.timeline-marker:hover::after {
    opacity: 1;
}

.video-helper-text {
    font-size: 13px;
    color: var(--ink-soft);
    text-align: center;
    margin: 0;
}

/* Verdict Card Timestamp Link */
.verdict-timestamp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(18, 19, 26, 0.04);
    border: 1px solid rgba(18, 19, 26, 0.12);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.verdict-timestamp-link:hover {
    background: rgba(18, 19, 26, 0.08);
    border-color: var(--accent);
    transform: translateX(2px);
}

.timestamp-icon {
    font-size: 14px;
}

.timestamp-text {
    font-weight: 600;
    font-family: 'Monaco', monospace;
}

.timestamp-action {
    color: var(--ink-soft);
    font-size: 12px;
}

/* Verdict card hover highlight on timeline */
.verdict-card:hover .timeline-marker[data-verdict-type] {
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .video-choice-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn-choice {
        width: 100%;
    }
    
    .choice-divider {
        font-size: 12px;
    }
    
    .video-timeline-markers {
        height: 32px;
    }
    
    .timeline-marker {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* Landing Page Styles */
.landing-hero {
    text-align: left;
    padding: 10vh 6vw 8vh;
    min-height: 100vh;
    margin: 0;
    position: relative;
    background-image:
        linear-gradient(135deg, #fff7f0 0%, #ffffff 55%, #f4f7ff 100%),
        repeating-linear-gradient(90deg, transparent 0 72px, var(--line-faint) 72px 73px),
        repeating-linear-gradient(0deg, transparent 0 72px, var(--line-faint) 72px 73px);
    overflow: hidden;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.landing-hero::before,
.landing-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(0);
    opacity: 0.8;
    pointer-events: none;
}

.landing-hero::before {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.18), transparent 70%);
    top: -120px;
    right: -120px;
}

.landing-hero::after {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(79, 125, 255, 0.12), transparent 70%);
    bottom: -120px;
    left: -100px;
}

.hero-grid {
    max-width: none;
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    color: #5b5f66;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.hero-note {
    margin-top: 18px;
    color: #555c68;
    font-size: 13px;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(18, 19, 26, 0.2);
    box-shadow: none;
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: rgba(18, 19, 26, 0.05);
}

.hero-visual {
    display: grid;
    gap: 24px;
    animation: fadeInUp 1s ease-out;
}

.visual-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(18, 19, 26, 0.08);
}

.visual-card-primary {
    transform: rotate(-1.5deg);
}

.visual-card-secondary {
    transform: rotate(1deg);
}

.visual-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111827;
    height: 220px;
    max-height: 30vh;
}

.frame-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
}

.attention-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 106, 61, 0.45), transparent 45%),
        radial-gradient(circle at 30% 70%, rgba(79, 125, 255, 0.35), transparent 40%);
    mix-blend-mode: screen;
}

.thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.thumbnail-slot {
    height: 72px;
    border-radius: 12px;
    background: #0f1118;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.visual-caption {
    margin-top: 12px;
    color: #5b5f66;
    font-size: 14px;
    font-weight: 500;
}

.visual-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(18, 19, 26, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-title {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    max-width: 800px;
}

.landing-title br {
    display: block;
    margin-top: 8px;
}

.landing-title-emphasis {
    color: var(--accent);
    font-weight: 700;
}

.landing-description {
    font-size: clamp(15px, 1.8vw, 18px);
    color: #4b5160;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 560px;
    font-weight: 400;
    opacity: 0.9;
}


.btn-large {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 12px 28px rgba(255, 106, 61, 0.26);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    will-change: transform, box-shadow;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-large:hover::before {
    left: 100%;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255, 106, 61, 0.32);
    background-color: var(--accent-deep);
}

.btn-large:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(255, 106, 61, 0.24);
}

.reality-check-section {
    margin: 0;
    padding: 80px 6vw;
    background-image:
        linear-gradient(120deg, #f5f7ff 0%, #ffffff 45%, #fff1e8 100%),
        repeating-linear-gradient(90deg, transparent 0 96px, var(--line-faint) 96px 97px);
    border-radius: 0;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.reality-check-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.frame-stack {
    position: relative;
    width: min(360px, 80vw);
    height: 240px;
}

.frame-stack-item {
    position: absolute;
    width: 85%;
    height: 160px;
    border-radius: 16px;
    background: #10131a;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

.frame-stack-item:nth-child(1) {
    top: 0;
    left: 10%;
    transform: rotate(-4deg);
}

.frame-stack-item:nth-child(2) {
    top: 32px;
    left: 4%;
    transform: rotate(2deg);
}

.frame-stack-highlight {
    top: 64px;
    left: 12%;
    transform: rotate(-1deg);
    background: #141825;
    border: 2px solid rgba(255, 106, 61, 0.5);
}

.frame-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 106, 61, 0.3);
}

.reality-check-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}


.reality-check-title {
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-align: left;
}

.reality-check-copy {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}

.reality-check-emphasis {
    color: var(--ink);
    font-weight: 600;
}

.reality-check-conclusion {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--ink);
    line-height: 1.7;
    margin-top: 0;
    font-weight: 500;
}

.what-clickmoment-section {
    margin: 0;
    padding: 140px 6vw;
    background-image:
        linear-gradient(180deg, #ffffff 0%, #ffffff 100%),
        repeating-linear-gradient(0deg, transparent 0 88px, var(--line-faint) 88px 89px);
    position: relative;
}

.what-clickmoment-section .section-title,
.what-clickmoment-section .feature-cards-container {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.what-clickmoment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(18, 19, 26, 0.12), transparent);
}

.what-clickmoment-section::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: rgba(18, 19, 26, 0.12);
}

.section-title {
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--ink);
    text-align: left;
    margin-bottom: 80px;
    letter-spacing: -0.03em;
    line-height: 1.2;
    max-width: 800px;
}

.what-clickmoment-section .section-title {
    text-align: center;
    max-width: 100%;
    margin-bottom: 64px;
}


.feature-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px 36px;
    border-radius: 18px;
    text-align: left;
    border: 1px solid rgba(18, 19, 26, 0.08);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.feature-card:nth-child(2) {
    border-color: var(--accent);
    border-width: 1px;
    box-shadow: 0 18px 45px rgba(255, 106, 61, 0.18);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    opacity: 0.8;
}

.feature-card:nth-child(2) .feature-icon {
    color: var(--accent);
    opacity: 1;
}

.feature-media {
    height: 140px;
    border-radius: 16px;
    background: linear-gradient(135deg, #10141e, #2b3040);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ink);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: #4b5160;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 400;
}

.feature-tagline {
    color: var(--ink);
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 0;
    font-style: italic;
    font-size: 14px;
}


.differentiation-section {
    margin: 0;
    padding: 120px 6vw 90px;
    text-align: center;
    background-image:
        linear-gradient(180deg, #f9f6f2 0%, #f9f6f2 100%),
        repeating-linear-gradient(90deg, transparent 0 88px, var(--line-faint) 88px 89px),
        repeating-linear-gradient(0deg, transparent 0 88px, var(--line-faint) 88px 89px);
    border-radius: 0;
    position: relative;
}

.differentiation-section .section-title,
.differentiation-section .comparison-visual,
.differentiation-section .comparison-grid,
.differentiation-section .differentiation-tagline {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.differentiation-section .section-title {
    text-align: center;
    max-width: 100%;
    margin-bottom: 80px;
}

.comparison-visual {
    margin-bottom: 48px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.comparison-flow {
    display: flex;
    align-items: center;
    gap: 24px;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.flow-quiet {
    background: #f0efed;
    color: #6b717b;
}

.flow-strong {
    background: var(--accent);
    color: #FFFFFF;
}

.flow-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-quiet .flow-icon {
    color: #9ca3af;
}

.flow-strong .flow-icon {
    color: #FFFFFF;
}

.flow-arrow {
    font-size: 24px;
    color: #9ca3af;
    font-weight: 300;
}

.signal-panel {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(18, 19, 26, 0.08);
    box-shadow: var(--shadow-soft);
    min-width: 260px;
}

.signal-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #5b5f66;
    margin-bottom: 16px;
    font-weight: 600;
}

.signal-pill {
    background: rgba(255, 106, 61, 0.15);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.signal-bars {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.signal-bar {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 106, 61, 0.4), rgba(255, 106, 61, 0.1));
}

.signal-bar:nth-child(2) {
    width: 80%;
}

.signal-bar:nth-child(3) {
    width: 65%;
}

.signal-bar:nth-child(4) {
    width: 90%;
}

.signal-caption {
    font-size: 12px;
    color: #8a9099;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0 0 64px 0;
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.comparison-column {
    padding: 32px;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
}

.comparison-column:first-child {
    background: white;
    border: 1px solid rgba(18, 19, 26, 0.08);
}

.comparison-column:last-child {
    background: white;
    border: 1px solid rgba(18, 19, 26, 0.08);
}

.comparison-column:hover {
    border-color: var(--accent);
}

.comparison-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 16px;
}

.comparison-column:first-child .comparison-title {
    color: #6b717b;
    font-weight: 500;
}

.comparison-column:last-child .comparison-title {
    color: var(--ink);
    font-weight: 700;
}

.comparison-column:last-child .comparison-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    font-size: clamp(17px, 2vw, 19px);
    line-height: 1.5;
    padding: 6px 0;
    position: relative;
    padding-left: 0;
}

.comparison-column:first-child .comparison-list li {
    color: #6b717b;
}

.comparison-column:last-child .comparison-list li {
    color: var(--ink);
    font-weight: 500;
}

.comparison-list li::before {
    content: "→";
    position: absolute;
    left: -24px;
    color: var(--accent);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.comparison-column:last-child .comparison-list li::before {
    opacity: 1;
}

.differentiation-tagline {
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 400;
    color: #4b5160;
    margin-top: 0;
    line-height: 1.6;
    font-style: italic;
    letter-spacing: -0.01em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 40px 0 0 0;
    border-top: 1px solid rgba(18, 19, 26, 0.08);
}

.differentiation-emphasis {
    color: var(--ink);
    font-weight: 600;
    font-style: normal;
}

.section-divider {
    height: 72px;
    background: linear-gradient(180deg, rgba(18, 19, 26, 0.08), transparent);
    border-bottom: 1px solid var(--line);
}

.who-its-for-section {
    margin: 0;
    padding: 90px 6vw 120px;
    text-align: left;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(79, 125, 255, 0.18), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(255, 106, 61, 0.2), transparent 40%),
        linear-gradient(120deg, #ffffff 0%, #f4f7ff 50%, #fff0e4 100%);
    border-radius: 0;
    position: relative;
}

.who-its-for-grid {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}

.who-its-for-content {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    padding-left: 28px;
}

.who-its-for-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 140px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), rgba(79, 125, 255, 0.6));
    box-shadow: 0 10px 24px rgba(255, 106, 61, 0.3);
}

.who-its-for-visual {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.creator-types {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.creator-type {
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.creator-type-quiet {
    color: #9CA3AF;
    font-weight: 400;
}

.creator-type-divider {
    font-size: 24px;
    color: var(--accent);
    font-weight: 300;
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.persona-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(18, 19, 26, 0.08);
    text-align: left;
}

.persona-media {
    height: 100px;
    border-radius: 12px;
    background: #0f1118;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.persona-card p {
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
}

.who-its-for-section .section-title {
    text-align: left;
    max-width: none;
    margin-bottom: 24px;
    font-size: clamp(40px, 4.6vw, 64px);
    align-self: flex-start;
    line-height: 1.1;
}

.who-its-for-intro {
    font-size: clamp(18px, 2.2vw, 22px);
    color: #4b5160;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.6;
    max-width: none;
    align-self: flex-start;
}

.who-its-for-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.metric-chip {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(18, 19, 26, 0.06);
    color: var(--ink);
    border: 1px solid var(--line);
}

.who-its-for-panel {
    background: white;
    border-radius: 24px;
    padding: 28px 32px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(18, 19, 26, 0.12);
    max-width: 720px;
    position: relative;
    overflow: hidden;
}

.who-its-for-panel::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 125, 255, 0.18), transparent 70%);
    pointer-events: none;
}

.who-its-for-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
    max-width: none;
}

.who-its-for-list li {
    font-size: clamp(17px, 2vw, 20px);
    color: #4b5160;
    line-height: 1.7;
    padding: 10px 0;
    position: relative;
    padding-left: 32px;
}

.who-its-for-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.85;
}

.who-its-for-conclusion {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--ink);
    line-height: 1.65;
    margin-top: 0;
    font-weight: 500;
    max-width: none;
}

.who-its-for-showcase {
    position: relative;
    width: min(520px, 100%);
    min-height: 420px;
}

.showcase-card {
    position: absolute;
    border-radius: 22px;
    background: #0f1118;
    color: rgba(255, 255, 255, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    box-shadow: 0 28px 60px rgba(18, 19, 26, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-card-large {
    width: 100%;
    height: 320px;
    top: 0;
    left: 0;
    background: linear-gradient(140deg, #11131c, #20283a);
}

.showcase-card-medium {
    width: 70%;
    height: 180px;
    bottom: 0;
    right: 0;
    background: linear-gradient(140deg, #1a1f2c, #2d364b);
}

.showcase-card-small {
    width: 55%;
    height: 140px;
    bottom: 40px;
    left: -20px;
    background: linear-gradient(140deg, rgba(255, 106, 61, 0.7), rgba(79, 125, 255, 0.5));
}

.landing-how-it-works {
    margin: 0;
    padding: 140px max(6vw, 24px);
    text-align: left;
    background-image:
        linear-gradient(120deg, #fff2e8 0%, #fffaf6 100%),
        repeating-linear-gradient(0deg, transparent 0 88px, var(--line-faint) 88px 89px);
    border-radius: 0;
    position: relative;
}

.landing-how-it-works h2,
.landing-how-it-works .steps {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.landing-how-it-works h2 {
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 700;
    margin-bottom: 48px;
    text-align: left;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    max-width: none;
    margin: 0;
    justify-items: start;
}

.step {
    text-align: left;
    padding: 32px 24px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.step:hover .step-icon {
    background: var(--accent-deep);
    transform: scale(1.05);
}

.step-number {
    display: none;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.step p {
    color: #4b5160;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    max-width: 320px;
    margin: 0;
}

.landing-footer {
    text-align: left;
    padding: 160px 6vw;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255, 106, 61, 0.18), transparent 50%),
        radial-gradient(circle at 85% 10%, rgba(79, 125, 255, 0.18), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f7f7fb 100%);
    margin-top: 0;
    border-radius: 0;
    position: relative;
    border-top: 1px solid var(--line);
}

.footer-grid {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.footer-content {
    max-width: none;
}

.footer-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 12px;
    color: #5b5f66;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-title {
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.footer-tagline {
    font-size: clamp(18px, 2.2vw, 20px);
    color: #4b5160;
    margin-top: 0;
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
    text-align: left;
}

.footer-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-pills {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-pills span {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(18, 19, 26, 0.12);
    font-size: 13px;
    color: var(--ink);
    background: rgba(18, 19, 26, 0.03);
}

.footer-visual {
    display: grid;
    gap: 18px;
    position: relative;
}

.footer-card {
    background: #0f1118;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.footer-card-main {
    min-height: 300px;
    background: linear-gradient(140deg, #0f1118, #1e2436);
}

.footer-card-side {
    min-height: 180px;
    background: linear-gradient(140deg, #151826, #2b3350);
    position: absolute;
    right: -12px;
    bottom: -24px;
    width: 70%;
}

.footer-card-header,
.footer-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

.footer-card-body {
    margin: 32px 0;
    height: 120px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 106, 61, 0.25), rgba(79, 125, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 64px;
    }
    
    .logo {
        height: 28px;
    }
    
    .landing-hero {
        padding: 8vh 20px 6vh;
        min-height: 100vh;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .reality-check-section {
        padding: 100px 20px;
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .reality-check-visual {
        order: -1;
    }
    
    .frame-stack {
        width: min(300px, 90vw);
        height: 200px;
    }
    
    .comparison-visual {
        margin-bottom: 60px;
    }
    
    .comparison-flow {
        flex-direction: column;
        gap: 16px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .flow-item {
        padding: 16px 24px;
    }
    
    .what-clickmoment-section {
        padding: 100px 20px;
    }
    
    .differentiation-section {
        padding: 100px 20px;
    }
    
    .who-its-for-section {
        padding: 100px 20px;
    }

    .section-divider {
        height: 48px;
    }
    
    .landing-how-it-works {
        padding: 100px 20px;
    }
    
    .landing-footer {
        padding: 120px 20px;
    }
    
    .reality-check-section {
        margin: 80px auto;
        padding: 0 20px;
    }
    
    .reality-check-content {
        max-width: 100%;
    }
    
    .reality-check-list {
        margin: 40px auto;
    }
    
    .what-clickmoment-section {
        margin: 60px auto;
        padding: 0 20px;
    }
    
    .section-title {
        margin-bottom: 48px;
        text-align: left;
    }
    
    .feature-cards-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }

    .feature-media {
        height: 120px;
    }
    
    .differentiation-section {
        margin: 60px auto;
        padding: 60px 28px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin: 40px 0;
    }
    
    .comparison-column {
        padding: 32px 24px;
    }
    
    .who-its-for-section {
        margin: 60px auto;
        padding: 60px 28px;
    }
    
    .who-its-for-list {
        margin: 24px 0 32px;
    }

    .who-its-for-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .who-its-for-visual {
        order: -1;
        justify-content: flex-start;
    }

    .who-its-for-content {
        padding-left: 0;
    }

    .who-its-for-content::before {
        display: none;
    }

    .who-its-for-showcase {
        width: 100%;
        min-height: 320px;
    }

    .showcase-card,
    .showcase-card-large,
    .showcase-card-medium,
    .showcase-card-small {
        position: relative;
        width: 100%;
        height: 160px;
        left: 0;
        right: auto;
        bottom: auto;
        top: auto;
        margin-bottom: 16px;
    }
    
    .landing-how-it-works {
        margin: 60px 20px;
        padding: 60px 28px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-number {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .landing-footer {
        padding: 80px 20px;
        margin-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-card-side {
        position: relative;
        width: 100%;
        right: auto;
        bottom: auto;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }
    
    #projects-view,
    #create-project-view,
    #edit-project-view,
    #project-view,
    #profile-view {
        padding: 100px 20px 80px;
        max-width: 100%;
    }
    
    #projects-view::before,
    #create-project-view::before,
    #edit-project-view::before,
    #project-view::before,
    #profile-view::before {
        width: 240px;
        height: 240px;
        top: -80px;
        right: -80px;
    }
    
    #projects-view::after,
    #create-project-view::after,
    #edit-project-view::after,
    #project-view::after,
    #profile-view::after {
        width: 200px;
        height: 200px;
        bottom: -80px;
        left: -80px;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .projects-header h2,
    .project-header h2,
    .profile-header h2 {
        font-size: 24px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .profile-form,
    .project-form {
        padding: 24px 20px;
    }
    
    .project-info {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    /* Auth Modal Mobile */
    .auth-modal-content {
        width: 95%;
        padding: 40px 28px;
        border-radius: 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-subtitle {
        font-size: 14px;
    }
    
    .auth-tabs {
        gap: 6px;
    }
    
    .auth-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Site Footer */
.site-footer {
    margin-top: auto;
    padding: 32px 0;
    background: var(--bg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: var(--ink-light);
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    font-size: 14px;
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-separator {
    color: var(--ink-light);
    font-size: 14px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 24px 0;
    }
    
    .footer-content {
        gap: 8px;
    }
    
    .footer-copyright,
    .footer-link {
        font-size: 13px;
    }
}
