/* LinkedIn Banner Designer Tool - Styles */

/* ============================================
   DESKTOP-ONLY NOTICE
   ============================================ */

.desktop-notice {
    display: none; /* Hidden by default on desktop */
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 0 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.desktop-notice-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.desktop-notice-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.desktop-notice-content .notice-small {
    font-size: 0.85rem;
    color: #666;
    margin: 10px 0 0 0;
}

/* ============================================
   MAIN LAYOUT - SIDEBAR + PREVIEW AREA
   ============================================ */

.banner-tool-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    align-items: start;
    overflow: hidden; /* Prevent child elements from escaping grid */
}

/* ============================================
   CUSTOMIZATION SIDEBAR
   ============================================ */

.customization-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal overflow from carousel */
    isolation: isolate; /* Create new stacking context to contain z-index */
    transition: all 0.3s ease;
}

.customization-sidebar.collapsed {
    width: 60px;
    overflow: hidden;
}

.customization-sidebar.collapsed .sidebar-content {
    display: none;
}

.customization-sidebar.collapsed .sidebar-header h2 {
    display: none;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.sidebar-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.sidebar-toggle {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    color: #666;
    transition: color 0.2s;
}

.sidebar-toggle:hover {
    color: #333;
}

/* Sidebar Content */
.sidebar-content {
    padding: 20px;
}

/* Customization Sections */
.customization-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.customization-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    cursor: help;
    font-weight: bold;
}

/* Text Input Fields */
.fields-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.text-field-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

.text-field-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.2s;
}

.text-field-input:focus {
    outline: none;
    border-color: #0066cc;
}

/* Color Pickers */
.color-pickers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.color-picker-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.color-picker-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

.color-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.color-input {
    width: 50px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.color-hex-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.color-hex-input:focus {
    outline: none;
    border-color: #0066cc;
}

.color-hex-input.invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.reset-colors-btn {
    margin-top: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.reset-colors-btn:hover {
    background: #e9ecef;
}

/* File Uploads */
.file-input {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: #0066cc;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.file-upload-label:hover {
    background: #0052a3;
}

.upload-icon {
    font-size: 1.2rem;
}

.upload-text {
    font-size: 0.9rem;
}

/* Photo Upload */
.photo-upload-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photo-preview-container {
    margin-top: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.photo-preview {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ddd;
}

.photo-preview canvas {
    display: block;
}

.remove-photo-btn,
.remove-doc-btn {
    padding: 8px 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.remove-photo-btn:hover,
.remove-doc-btn:hover {
    background: #c82333;
}

.photo-toggle-btn {
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-toggle-btn:hover {
    background: #e9ecef;
}

/* Reference Document Upload */
.reference-doc-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reference-doc-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    gap: 10px;
}

.doc-name {
    font-size: 0.85rem;
    color: #555;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-help-text {
    font-size: 0.8rem;
    color: #777;
    margin: 5px 0 0 0;
    font-style: italic;
}

/* ============================================
   PREVIEW SECTION
   ============================================ */

.preview-section {
    margin-top: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    isolation: isolate; /* Create new stacking context */
    overflow: hidden; /* Prevent content from escaping */
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.preview-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.zoom-controls {
    display: flex;
    gap: 10px;
}

.zoom-btn {
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.zoom-btn:hover {
    background: #e9ecef;
}

.zoom-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.preview-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1584 / 396;
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform-origin: top left;
    transition: transform 0.3s ease;
}

.live-preview {
    width: 100%;
    height: 100%;
}

.live-preview .banner-container {
    width: 100%;
    height: 100%;
}

/* Ensure preview banner maintains exact dimensions */
.live-preview .banner {
    width: 100%;
    height: 100%;
}

/* Export Button */
.export-button-container {
    margin-top: 30px;
    text-align: center;
}

.export-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

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

.export-icon {
    font-size: 1.3rem;
}

.export-help-text {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* ============================================
   LEAD CAPTURE MODAL
   ============================================ */

.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-intro {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.required {
    color: #dc3545;
}

.optional {
    color: #999;
    font-weight: 400;
}

.form-group input[type="email"],
.form-group input[type="url"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group select {
    cursor: pointer;
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-label span {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.form-error {
    display: none;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Submit Button */
.form-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.form-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Form Messages */
.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message p {
    margin: 0;
}

/* ============================================
   CAROUSEL & LAYOUT STYLES
   ============================================ */

.carousel-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.carousel-counter {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--text);
    font-weight: 600;
}

.carousel-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--dark);
    margin-top: 10px;
}

.carousel-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: #1557b0;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}

.keyboard-hint {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

.template-slide {
    background: white;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden; /* Changed from visible to hidden to prevent overflow */
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.template-slide.active {
    display: block;
}

/* Hide profile photo overlay, center badge, and LinkedIn gray area in carousel slides */
.template-slide .profile-photo-overlay {
    display: none;
}

.template-slide .center-badge {
    display: none; /* Hide center badge in carousel - will be visible in live preview */
}

.template-slide .banner-container {
    padding-bottom: 0; /* Remove padding in carousel */
    overflow: hidden; /* Clip any overflow content */
}

.template-slide .banner-container::after {
    display: none; /* Hide gray LinkedIn area in carousel */
}

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

.banner-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1584 / 396;
    overflow: visible;
    padding-bottom: 84px;
    margin-bottom: 20px;
}

.banner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* LinkedIn gray background area below banner */
.banner-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 84px;
    background: #f3f2ef;
    z-index: 1;
}

/* Profile photo overlay - 168px circle, 24px from left edge */
.profile-photo-overlay {
    position: absolute;
    bottom: -84px;
    left: 24px;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    border: 5px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 48px;
    text-align: center;
    overflow: hidden;
}

.profile-photo-overlay::before {
    content: 'AW';
    position: absolute;
    font-size: 72px;
    opacity: 0.3;
    font-weight: 800;
}

/* ============================================
   TEMPLATE #1 - DUAL VALUE PROPOSITION SPLIT
   ============================================ */

.design1 {
    background: linear-gradient(90deg, var(--dark) 0%, var(--dark) 48%, var(--primary) 48%, var(--primary) 100%);
    position: relative;
}

.design1 .left-content {
    position: absolute;
    top: 50%;
    left: 18%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
}

.design1 .left-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8vw;
    margin-bottom: 10px;
    line-height: 1.3;
}

.design1 .left-subtext {
    font-family: 'Open Sans', sans-serif;
    font-size: 1vw;
    opacity: 0.9;
}

.design1 .right-content {
    position: absolute;
    top: 50%;
    right: 18%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
}

.design1 .right-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8vw;
    margin-bottom: 10px;
    line-height: 1.3;
}

.design1 .right-subtext {
    font-family: 'Open Sans', sans-serif;
    font-size: 1vw;
    opacity: 0.9;
}

.design1 .center-badge {
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    text-align: center;
    z-index: 10;
}

.design1 .gridline {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 100%;
    border-left: 2px dotted rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.design1 .gridline-left {
    left: 24px;
}

.design1 .gridline-right {
    left: 192px;
}

.design1 .name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5vw;
    color: var(--dark);
    margin-bottom: 5px;
}

.design1 .title {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8vw;
    color: var(--text);
}

/* ============================================
   TEMPLATE #2 - RESULTS-FOCUSED METRICS
   ============================================ */

.design2 {
    background: var(--dark);
    position: relative;
}

.design2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1d 100%);
}

.design2 .metrics-row {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    align-items: center;
}

.design2 .metric-box {
    text-align: center;
}

.design2 .metric-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3vw;
    color: var(--accent);
    text-shadow: 0 2px 8px rgba(251, 188, 4, 0.3);
}

.design2 .metric-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9vw;
    color: white;
    margin-top: 5px;
}

.design2 .tagline {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
}

.design2 .tagline-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8vw;
    color: white;
    margin-bottom: 10px;
}

.design2 .name-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1vw;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   TEMPLATE #3 - JOURNEY VISUALIZATION
   ============================================ */

.design3 {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    position: relative;
}

.design3 .timeline {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.design3 .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.design3 .step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: white;
    text-align: center;
    line-height: 1.2;
    padding: 10px;
}

.design3 .step-arrow {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.design3 .step-arrow::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 6px solid rgba(255, 255, 255, 0.5);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.design3 .main-message {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
}

.design3 .headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2vw;
    color: white;
    margin-bottom: 10px;
}

.design3 .subtext {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1vw;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   TEMPLATE #4 - PROBLEM-SOLUTION FORMAT
   ============================================ */

.design4 {
    background: var(--dark);
    position: relative;
}

.design4 .problems-row {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5%;
    width: 85%;
}

.design4 .problem-box {
    flex: 1;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.design4 .problem-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: white;
    line-height: 1.4;
}

.design4 .arrows-row {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5%;
    width: 85%;
    justify-content: space-around;
}

.design4 .arrow-down {
    width: 3px;
    height: 30px;
    background: var(--primary);
    position: relative;
}

.design4 .arrow-down::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -5px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary);
}

.design4 .solutions-row {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5%;
    width: 85%;
}

.design4 .solution-box {
    flex: 1;
    background: rgba(26, 115, 232, 0.3);
    border: 1px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.design4 .solution-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: white;
    line-height: 1.4;
}

.design4 .tagline {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6vw;
    color: white;
    text-align: center;
}

/* ============================================
   TEMPLATE #5 - TARGET AUDIENCE DIRECT
   ============================================ */

.design5 {
    background: var(--primary);
    position: relative;
}

.design5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1557b0 100%);
}

.design5 .questions {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
}

.design5 .question-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2vw;
    color: white;
    line-height: 1.4;
    margin-bottom: 20px;
}

.design5 .divider {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 auto 20px;
}

.design5 .answer {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
}

.design5 .answer-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5vw;
    color: white;
    line-height: 1.5;
}

.design5 .name-badge {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2vw;
    color: white;
}

/* ============================================
   TEMPLATE #6 - FRAMEWORK SHOWCASE
   ============================================ */

.design6 {
    background: var(--dark);
    position: relative;
}

.design6::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(26, 115, 232, 0.05) 2px, transparent 2px),
        linear-gradient(90deg, rgba(26, 115, 232, 0.05) 2px, transparent 2px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.design6 .top-text {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.design6 .headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.8vw;
    color: white;
}

.design6 .frameworks-row {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 150px;
    align-items: center;
}

.design6 .framework-badge {
    text-align: center;
}

.design6 .badge-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(26, 115, 232, 0.1);
    border: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 0 20px rgba(26, 115, 232, 0.3);
}

.design6 .badge-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    text-align: center;
    line-height: 1.2;
}

.design6 .framework-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.design6 .bottom-section {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.design6 .name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6vw;
    color: white;
    margin-bottom: 5px;
}

.design6 .subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1vw;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   TEMPLATE #7 - COACHING + EXECUTIVE HYBRID
   ============================================ */

.design8 {
    background: var(--dark);
    position: relative;
}

.design8 .top-message {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
}

.design8 .main-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2vw;
    color: white;
    margin-bottom: 10px;
}

.design8 .subheadline {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1vw;
    color: rgba(255, 255, 255, 0.8);
}

.design8 .services-grid {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 40px;
    justify-content: center;
}

.design8 .service-card {
    background: rgba(26, 115, 232, 0.15);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    min-width: 200px;
}

.design8 .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.design8 .service-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: white;
}

.design8 .name-badge {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3vw;
    color: white;
}

/* ============================================
   TEMPLATE #8 - BOTTLENECK FOCUS (RECOMMENDED)
   ============================================ */

.design9 {
    background: var(--dark);
    position: relative;
    overflow: visible;
}

.design9::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.02) 35px, rgba(255,255,255,0.02) 70px);
    pointer-events: none;
}

.design9 .funnel {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 140px;
}

.design9 .funnel-shape {
    width: 100%;
    height: 100%;
    position: relative;
}

.design9 .funnel-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: transparent;
    border: 4px solid rgba(26, 115, 232, 0.6);
    border-bottom: none;
}

.design9 .funnel-middle {
    position: absolute;
    top: 40%;
    left: 25%;
    width: 50%;
    height: 40%;
    background: transparent;
    border-left: 4px solid rgba(26, 115, 232, 0.6);
    border-right: 4px solid rgba(26, 115, 232, 0.6);
}

.design9 .funnel-bottom {
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 20%;
    height: 20%;
    background: transparent;
    border-left: 4px solid rgba(26, 115, 232, 0.6);
    border-right: 4px solid rgba(26, 115, 232, 0.6);
    border-bottom: 4px solid rgba(26, 115, 232, 0.6);
}

.design9 .input-arrows {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.design9 .arrow {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
}

.design9 .arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 8px solid rgba(255, 255, 255, 0.6);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.design9 .output-arrow {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.design9 .output-arrow::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 10px solid var(--primary);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.design9 .main-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
}

.design9 .tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.6vw;
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.design9 .subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2vw;
    color: rgba(255, 255, 255, 0.9);
}

.design9 .divider {
    position: absolute;
    top: 74%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(26, 115, 232, 0.4);
}

.design9 .name-badge {
    position: absolute;
    top: 8%;
    right: 40px;
    background: rgba(26, 115, 232, 0.2);
    padding: 15px 25px;
    border-radius: 8px;
    border: 2px solid var(--primary);
}

.design9 .name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4vw;
    color: white;
}

.design9 .title {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8vw;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   TEMPLATE #9 - SOCIAL PROOF POWERED
   ============================================ */

.design10 {
    background: linear-gradient(135deg, var(--primary) 0%, #1557b0 100%);
    position: relative;
}

.design10 .top-section {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
}

.design10 .clients {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2vw;
    color: white;
    margin-bottom: 15px;
}

.design10 .client-names {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8vw;
    color: white;
}

.design10 .divider {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 25px auto;
}

.design10 .testimonial {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 80%;
}

.design10 .quote {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4vw;
    font-style: italic;
    color: white;
    line-height: 1.6;
    margin-bottom: 15px;
}

.design10 .attribution {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1vw;
    color: rgba(255, 255, 255, 0.9);
}

.design10 .name-badge {
    position: absolute;
    bottom: 15px;
    right: 40px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 8px;
    border: 2px solid white;
}

.design10 .name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3vw;
    color: white;
}

.design10 .title {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8vw;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP-ONLY EXPERIENCE
   ============================================ */

/* Tablet and larger screens (768px+) - Full functionality */
@media (min-width: 768px) {
    .desktop-notice {
        display: none; /* Hide notice on tablets and desktop */
    }
}

/* Small screens (< 768px) - Show desktop notice and limit functionality */
@media (max-width: 767px) {
    /* Show desktop recommended notice */
    .desktop-notice {
        display: block;
    }

    /* Change grid to single column */
    .banner-tool-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Hide customization sidebar on mobile */
    .customization-sidebar {
        display: none;
    }

    /* Preview section adjustments for mobile */
    .preview-section {
        margin-top: 20px;
    }

    /* Carousel adjustments for mobile */
    .carousel-header {
        margin-bottom: 20px;
    }

    .carousel-title {
        font-size: 18px;
    }

    .carousel-controls {
        gap: 15px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* Make zoom controls stack on mobile */
    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .zoom-controls {
        width: 100%;
        justify-content: center;
    }

    /* Export button adjustments */
    .export-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    /* Modal adjustments for mobile */
    .modal-content {
        max-width: 95%;
        margin: 10px;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }
}

/* Very small screens (< 480px) - Additional mobile adjustments */
@media (max-width: 479px) {
    .banner-tool-container {
        padding: 0 10px;
    }

    .preview-header h3 {
        font-size: 1.1rem;
    }

    .zoom-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

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

    .carousel-counter {
        font-size: 16px;
    }

    .carousel-title {
        font-size: 16px;
    }
}
