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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.app-header {
    background: #000000;
    border-bottom: 2px solid #ffd700;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-logo {
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffd700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 32px;
    border-left: 1px solid #333333;
}

.username {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffd700;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    flex: 1;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Create Campaign Button */
.create-campaign-section {
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-start;
}

.create-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000000;
    border: none;
    padding: 18px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
}

.btn-icon {
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}

/* Existing Campaigns Section */
.existing-campaigns-section {
    margin-top: 60px;
}

.section-heading {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.campaign-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #333333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.campaign-card:hover {
    transform: translateY(-8px);
    border-color: #ffd700;
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.2);
}

.campaign-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
}

.campaign-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campaign-card:hover .campaign-image {
    transform: scale(1.05);
}

.campaign-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.campaign-status {
    background: #ffd700;
    color: #000000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.campaign-info {
    padding: 24px;
}

.campaign-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.campaign-meta {
    font-size: 14px;
    color: #888888;
    font-weight: 400;
}

/* Footer */
.app-footer {
    background: #000000;
    border-top: 2px solid #333333;
    padding: 30px 0;
}

.logo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 2px;
}

.logo-arrow {
    font-size: 24px;
    color: #ffd700;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-arrow {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-content,
    .container {
        padding: 0 30px;
    }

    .campaigns-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .header-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .user-profile {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #333333;
        padding-top: 20px;
        width: 100%;
        justify-content: center;
    }

    .container {
        padding: 0 20px;
    }

    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .create-btn {
        width: 100%;
        justify-content: center;
    }

    .logo-container {
        padding: 0 20px;
        justify-content: center;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border: 2px solid #ffd700;
    border-radius: 16px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: #333333;
    color: #ffd700;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333333;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333333;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #333333;
}

.step-item.active .step-number {
    background: #ffd700;
    color: #000000;
    border-color: #ffd700;
}

.step-item.completed .step-number {
    background: #1a1a1a;
    color: #ffd700;
    border-color: #ffd700;
}

.step-item.completed .step-number::after {
    content: '✓';
    font-size: 20px;
}

.step-label {
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.step-item.active .step-label {
    color: #ffd700;
}

.step-line {
    width: 80px;
    height: 2px;
    background: #333333;
    margin: 0 10px;
    margin-top: -20px;
}

.step-item.active ~ .step-line,
.step-item.completed ~ .step-line {
    background: #ffd700;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

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

.modal-title {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

/* Step 2: campaign title card */
.step2-header {
    margin-bottom: 32px;
}

.step2-title-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step2-title-card:focus-within {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.15);
}

.step2-title-input {
    width: 100%;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    background: none;
    border: none;
    padding: 0;
    letter-spacing: 0.02em;
    outline: none;
}

.step2-title-input::placeholder {
    color: #555;
}

.step2-title-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.step2-intro {
    color: #888;
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.5;
}

.step2-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.step2-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    display: block;
}

.step2-hint {
    font-size: 14px;
    color: #888;
}

.step2-sublabel {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
    display: block;
}

.step2-reference-preview {
    margin-top: 16px;
}

.step2-reference-preview .preview-image-wrapper {
    max-width: 600px;
}

.step2-textarea {
    width: 100%;
    min-height: 80px;
    padding: 14px 18px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease;
}

.step2-textarea:focus {
    border-color: rgba(255, 215, 0, 0.5);
}

.step2-textarea::placeholder {
    color: #555;
}

.step2-input {
    width: 100%;
    padding: 14px 18px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease;
}

.step2-input:focus {
    border-color: rgba(255, 215, 0, 0.5);
}

.step2-input::placeholder {
    color: #555;
}

.step2-form .example-image-preview {
    display: block;
    margin-top: 20px;
}

.campaign-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.option-label {
    cursor: pointer;
    display: block;
}

.option-radio {
    display: none;
}

.option-custom {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #0a0a0a;
    border: 2px solid #333333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.option-label:hover .option-custom {
    border-color: #ffd700;
    background: #1a1a1a;
}

.option-indicator {
    width: 24px;
    height: 24px;
    border: 2px solid #666666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.option-indicator::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffd700;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-radio:checked + .option-custom {
    border-color: #ffd700;
    background: #1a1a1a;
}

.option-radio:checked + .option-custom .option-indicator {
    border-color: #ffd700;
}

.option-radio:checked + .option-custom .option-indicator::after {
    opacity: 1;
}

.option-text {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    text-transform: capitalize;
}

.modal-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-cancel,
.btn-continue {
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel {
    background: transparent;
    color: #ffffff;
    border: 2px solid #333333;
}

.btn-cancel:hover {
    border-color: #666666;
    background: #0a0a0a;
}

.btn-continue {
    background: #ffd700;
    color: #000000;
    border: 2px solid #ffd700;
}

.btn-continue:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.btn-back {
    background: transparent;
    color: #ffffff;
    border: 2px solid #333333;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-back:hover {
    border-color: #666666;
    background: #0a0a0a;
}

.chat-exchange-btn {
    display: block;
    margin-top: 14px;
    padding: 10px 24px;
    background: #ffd700;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-exchange-btn:hover {
    background: #ffed4e;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.35);
}

/* Form Groups */
.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.5;
}

.example-text {
    color: #888888;
    font-weight: 400;
    font-size: 14px;
    font-style: italic;
}

.form-textarea {
    width: 100%;
    padding: 16px;
    background: #0a0a0a;
    border: 2px solid #333333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #ffd700;
    background: #1a1a1a;
}

.form-textarea::placeholder {
    color: #666666;
}

.answer-display {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.answer-label {
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
    margin-top: 16px;
    flex-shrink: 0;
}

/* Step 2: Chat-style conversation */
.chat-intro {
    color: #888888;
    font-size: 15px;
    margin: -8px 0 24px 0;
    line-height: 1.5;
}

.campaign-chat-form .chat-exchange {
    margin-bottom: 28px;
    overflow: hidden;
    transition: opacity 0.35s ease, max-height 0.4s ease, margin-bottom 0.35s ease;
}

.campaign-chat-form .chat-exchange-locked {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    pointer-events: none;
}

.campaign-chat-form .chat-exchange-visible {
    max-height: 900px;
    opacity: 1;
}

.chat-bubble {
    max-width: 92%;
    padding: 14px 18px;
    border-radius: 16px;
    line-height: 1.5;
}

.chat-bubble-bot {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    margin-right: auto;
    margin-bottom: 10px;
    border-bottom-left-radius: 4px;
}

.chat-sender {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #ffd700;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.chat-message-text {
    font-size: 16px;
    color: #ffffff;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.chat-hint {
    font-size: 13px;
    color: #888888;
    font-style: italic;
}

.chat-bubble-user {
    margin-left: auto;
    background: #0d1117;
    border: 1px solid #333333;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.chat-bubble-user:focus-within {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.15);
}

.chat-bubble-user .chat-input {
    width: 100%;
    min-height: 80px;
    padding: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    outline: none;
}

.chat-bubble-user .chat-input::placeholder {
    color: #666666;
}

.chat-bubble-upload .upload-area {
    padding: 24px;
    margin: 0;
    border-radius: 10px;
}

.chat-bubble-upload .uploaded-files {
    margin-top: 12px;
}

.example-image-preview {
    margin-top: 20px;
    display: none;
}

.example-image-preview.show,
.step2-form .example-image-preview {
    display: block;
}

.preview-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #333333;
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-dimensions {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ffd700;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #333333;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #0a0a0a;
}

.upload-area:hover {
    border-color: #ffd700;
    background: #1a1a1a;
}

.upload-area.dragover {
    border-color: #ffd700;
    background: #1a1a1a;
    transform: scale(1.02);
}

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

.upload-icon {
    width: 48px;
    height: 48px;
    color: #666666;
    transition: color 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: #ffd700;
}

.upload-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.upload-hint {
    font-size: 14px;
    color: #888888;
    margin: 0;
}

.uploaded-files {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #0a0a0a;
    border: 1px solid #333333;
    border-radius: 6px;
    font-size: 14px;
    color: #ffffff;
}

.uploaded-file-remove {
    background: transparent;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Design Container */
.design-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.design-viewer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.design-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0a;
    border: 2px solid #333333;
}

.design-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-overlay-info {
    position: absolute;
    top: 16px;
    left: 16px;
}

.dimension-badge {
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ffd700;
}

.design-controls {
    display: flex;
    gap: 12px;
}

.control-btn {
    flex: 1;
    padding: 12px;
    background: #0a0a0a;
    border: 2px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.control-btn:hover {
    border-color: #ffd700;
    background: #1a1a1a;
}

.control-btn.active {
    background: #ffd700;
    color: #000000;
    border-color: #ffd700;
}

.design-specs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-card {
    background: #0a0a0a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.spec-card:hover {
    border-color: #ffd700;
}

.spec-card.highlight {
    border-color: #ffd700;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.spec-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.spec-list li {
    padding: 10px 0;
    color: #ffffff;
    font-size: 14px;
    border-bottom: 1px solid #333333;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list li::before {
    content: '•';
    color: #ffd700;
    margin-right: 12px;
    font-weight: bold;
}

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

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333333;
}

.spec-label {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.spec-value {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #333333;
    color: #ffffff;
    font-size: 14px;
}

.cost-item:last-of-type {
    border-bottom: none;
}

.cost-amount {
    font-weight: 600;
    color: #ffd700;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 12px;
    border-top: 2px solid #ffd700;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.total-amount {
    font-size: 24px;
    color: #ffd700;
}

/* Annotated Design Viewer */
.design-header {
    margin-bottom: 30px;
}

.design-subtitle {
    color: #888888;
    font-size: 14px;
    margin-top: -30px;
    margin-bottom: 20px;
}

.design-container-full {
    margin-bottom: 30px;
}

.design-viewer-annotated {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.design-image-wrapper-large {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0a;
    border: 2px solid #ffd700;
    cursor: crosshair;
}

.design-image-annotated {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drawing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    pointer-events: none;
}

.design-image-wrapper-large.drawing-mode .drawing-canvas {
    pointer-events: auto;
}

.design-image-wrapper-large.drawing-mode {
    cursor: crosshair;
}

.design-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.tool-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0a0a0a;
    border: 2px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.tool-btn:hover {
    border-color: #ffd700;
    background: #1a1a1a;
}

.tool-btn.active {
    background: #ffd700;
    color: #000000;
    border-color: #ffd700;
}

.tool-icon {
    font-size: 18px;
    font-weight: 300;
}

.rectangles-list {
    margin-top: 24px;
    padding: 20px;
    background: #0a0a0a;
    border: 2px solid #333333;
    border-radius: 12px;
}

.rectangles-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rectangles-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.no-rectangles {
    color: #888888;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.rectangle-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rectangle-item:hover {
    border-color: #ffd700;
}

.rectangle-preview {
    width: 60px;
    height: 40px;
    border: 2px solid #ffd700;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #ffd700;
    font-weight: 600;
}

.rectangle-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rectangle-prompt-input {
    width: 100%;
    padding: 8px 12px;
    background: #0a0a0a;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 40px;
}

.rectangle-prompt-input:focus {
    outline: none;
    border-color: #ffd700;
}

.rectangle-remove {
    background: transparent;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 20px;
    padding: 4px 8px;
    transition: color 0.3s ease;
}

.rectangle-remove:hover {
    color: #ff6666;
}

.annotations-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.annotation {
    position: absolute;
    pointer-events: auto;
}

.annotation-label {
    background: rgba(255, 215, 0, 0.95);
    color: #000000;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.annotation-sub {
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    white-space: nowrap;
}

.annotation-line {
    width: 60px;
    height: 2px;
    background: #ffd700;
    margin-bottom: 4px;
}

.annotation-line-vertical {
    width: 2px;
    height: 40px;
    background: #ffd700;
    margin-bottom: 4px;
}

.design-instructions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #0a0a0a;
    border: 2px solid #333333;
    border-radius: 8px;
}

.instruction-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

/* Before/After Comparison */
.comparison-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.comparison-caption {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin: -8px 0 0 0;
}

.comparison-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #333333;
    transition: all 0.3s ease;
}

.comparison-image-wrapper:hover {
    border-color: #ffd700;
    transform: scale(1.02);
}

.comparison-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-arrow {
    font-size: 48px;
    color: #ffd700;
    font-weight: 300;
}

/* Full Specs Grid */
.specs-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.spec-card-full {
    background: #0a0a0a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.spec-card-full:hover {
    border-color: #ffd700;
}

.spec-card-full.highlight {
    border-color: #ffd700;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

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

.spec-list-detailed li {
    padding: 12px 0;
    color: #ffffff;
    font-size: 14px;
    border-bottom: 1px solid #333333;
    line-height: 1.6;
}

.spec-list-detailed li:last-child {
    border-bottom: none;
}

.spec-list-detailed li strong {
    color: #ffd700;
}

.timeline-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333333;
}

.timeline-label {
    font-size: 14px;
    color: #888888;
    font-weight: 500;
}

.timeline-value {
    font-size: 18px;
    font-weight: 600;
    color: #ffd700;
}

.cost-breakdown-detailed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cost-item-detailed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #333333;
    color: #ffffff;
    font-size: 15px;
}

.cost-item-detailed:last-of-type {
    border-bottom: none;
}

.cost-total-detailed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-top: 16px;
    border-top: 2px solid #ffd700;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .step2-title-card {
        padding: 16px 20px;
    }

    .step2-title-input {
        font-size: 18px;
    }

    .option-custom {
        padding: 16px;
    }

    .option-text {
        font-size: 16px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-continue,
    .btn-back {
        width: 100%;
    }

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

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .comparison-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        font-size: 32px;
    }

    .specs-grid-full {
        grid-template-columns: 1fr;
    }

    .design-instructions {
        flex-direction: column;
        gap: 16px;
    }

    .annotation-label {
        font-size: 10px;
        padding: 4px 8px;
    }

    .annotation-sub {
        font-size: 9px;
    }

    .design-toolbar {
        flex-direction: column;
    }

    .tool-btn {
        width: 100%;
        justify-content: center;
    }

    .step-indicator {
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-line {
        width: 40px;
        margin: 0 5px;
    }

    .step-label {
        font-size: 10px;
    }
}
