/* p.custom.css */

/* Solution Examples - First Section with darker background */
.custom-solution-examples {
    padding: 6rem 0;
    position: relative;
    margin-top: 0;
    background: var(--bg-primary);
}

.custom-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
} 

.custom-example-card {
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.custom-example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    border-color: var(--accent-primary);
}

.custom-example-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.custom-example-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.custom-example-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.custom-example-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.custom-feature-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.3rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.custom-example-mockup {
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

body.dark-mode .custom-example-mockup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

body.light-mode .custom-example-mockup {
    background: rgba(243, 244, 246, 1);
    border: 1px solid rgba(229, 231, 235, 1);
}

.custom-mockup-screen {
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    position: relative;
    pointer-events: none;
}

body.dark-mode .custom-mockup-screen {
    background: #1a1a2e;
}

body.light-mode .custom-mockup-screen {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}


.custom-time-display {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

body.dark-mode .custom-time-display {
    color: #4A89DC;  /* Helles Türkis wie im Screenshot */
}

body.light-mode .custom-time-display {
    color: #4A89DC;  /* Dunkleres Türkis für Light Mode */
}

.custom-status-display {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

body.dark-mode .custom-status-display {
    color: #94a3b8;
}

body.light-mode .custom-status-display {
    color: #6b7280;
}

.custom-checkout-btn-mockup {
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: default;
    display: inline-block;
    position: relative;
}

body.dark-mode .custom-checkout-btn-mockup {
    background: #6366f1;
    color: white;
}

body.light-mode .custom-checkout-btn-mockup {
    background: #4f46e5;
    color: white;
}

.custom-checkout-btn-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.1) 2px,
        rgba(255, 255, 255, 0.1) 4px
    );
    border-radius: 8px;
}

.custom-portal-header {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 600;
}

body.dark-mode .custom-portal-header {
    background: rgba(99, 102, 241, 0.15);
    color: #e2e8f0;
}

body.light-mode .custom-portal-header {
    background: #e5e7eb;
    color: #111827;
}

.custom-portal-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-menu-item-mockup {
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: default;
    position: relative;
}

body.dark-mode .custom-menu-item-mockup {
    background: rgba(99, 102, 241, 0.1);
    color: #94a3b8;
}

body.light-mode .custom-menu-item-mockup {
    background: #f3f4f6;
    color: #4b5563;
}

.custom-menu-item-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.05) 3px,
        rgba(255, 255, 255, 0.05) 6px
    );
    border-radius: 4px;
}

.custom-admin-header {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 600;
}

body.dark-mode .custom-admin-header {
    background: rgba(99, 102, 241, 0.15);
    color: #e2e8f0;
}

body.light-mode .custom-admin-header {
    background: #e5e7eb;
    color: #111827;
}

.custom-admin-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-table-row-mockup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: default;
    position: relative;
}

body.dark-mode .custom-table-row-mockup {
    background: rgba(99, 102, 241, 0.1);
    color: #94a3b8;
}

body.light-mode .custom-table-row-mockup {
    background: #f3f4f6;
    color: #4b5563;
}

.custom-table-row-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.05) 3px,
        rgba(255, 255, 255, 0.05) 6px
    );
    border-radius: 4px;
}

/* Development Approach - Third Section with darker background */
.custom-development-approach {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-primary);
}

.custom-approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.custom-approach-principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.custom-principle-card {
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none;
}

.custom-principle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
}

.custom-principle-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.custom-principle-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.custom-principle-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.custom-complexity-comparison {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.custom-comparison-item {
    flex: 1;
    text-align: center;
}

.custom-comparison-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.custom-complexity-bar {
    height: 40px;
    border-radius: 20px;
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
}

.custom-complexity-bar.custom-complex {
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
}

.custom-complexity-bar.custom-simple {
    background: #10b981;
}

.custom-bar-fill {
    height: 100%;
    width: 100%;
    position: relative;
}

.custom-bar-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.custom-comparison-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-feature {
    font-size: 0.85rem;
    padding: 0.25rem 0;
}

.custom-feature.custom-positive {
    color: #10b981;
}

.custom-feature.custom-negative {
    color: #ef4444;
}

.custom-comparison-arrow {
    font-size: 2rem;
    color: var(--accent-primary);
    font-weight: bold;
}

/* Simple Process - Fourth Section with lighter background */
.custom-simple-process {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-secondary);
}

.custom-process-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.custom-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 250px;
}

.custom-step-number {
    width: 60px;
    height: 60px;
    background: #4A90E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.custom-step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.custom-step-description {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.custom-step-duration {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

body.dark-mode .custom-step-duration {
    background: var(--bg-primary);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

body.light-mode .custom-step-duration {
    background: rgba(243, 244, 246, 1);
    color: #6b7280;
    border: 1px solid rgba(229, 231, 235, 1);
}

.custom-process-connector {
    width: 60px;
    height: 2px;
    background: var(--gradient-accent);
    margin: 0 1rem;
    display: none;
}

.custom-process-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.custom-summary-card {
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none;
}

.custom-summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
}

.custom-summary-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.custom-summary-content h4 {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.custom-summary-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Optimization - Fifth Section with darker background */
.custom-mobile-optimization {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-primary);
}

.custom-mobile-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.custom-mobile-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.custom-mobile-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.custom-benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.custom-benefit-content h4 {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.custom-benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.custom-mobile-devices {
    display: flex;
    justify-content: center;
}

.custom-device-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Device Frames */
.custom-device {
    position: relative;
}

body.dark-mode .custom-device {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

body.light-mode .custom-device {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.custom-device.custom-phone {
    width: 140px;
    height: 280px;
}

.custom-device.custom-tablet {
    width: 200px;
    height: 140px;
}

.custom-device-frame {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 3px;
    position: relative;
}

body.dark-mode .custom-device-frame {
    background: linear-gradient(135deg, #8f9091 0%, #f3f4f6 100%);
    border: 1px solid #6a6a6b;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8),
        0 5px 20px rgba(255, 255, 255, 0.1),
        inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.light-mode .custom-device-frame {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #000000;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

/* Phone Notch */
.custom-device-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 2px;
    z-index: 10;
}

body.dark-mode .custom-device-notch {
    background: #9ca3af;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.light-mode .custom-device-notch {
    background: #000000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.custom-device-screen {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

body.dark-mode .custom-device-screen {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-mode .custom-device-screen {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Phone App Styles */
.custom-phone-app {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-phone-statusbar {
    display: flex;
    justify-content: space-between;
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 600;
}

body.dark-mode .custom-phone-statusbar {
    color: #9ca3af;
}

body.light-mode .custom-phone-statusbar {
    color: #374151;
}

.custom-phone-time {
    font-weight: 600;
}

.custom-phone-icons {
    display: flex;
    gap: 3px;
    font-size: 8px;
}

.custom-phone-header {
    padding: 8px;
    text-align: center;
}

body.dark-mode .custom-phone-header {
    background: #1f2937;
    border-bottom: 1px solid #374151;
}

body.light-mode .custom-phone-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.custom-phone-header h4 {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
}

body.dark-mode .custom-phone-header h4 {
    color: #f3f4f6;
}

body.light-mode .custom-phone-header h4 {
    color: #111827;
}

.custom-phone-content {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.custom-phone-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

body.dark-mode .custom-phone-card {
    background: #1f2937;
    border: 1px solid #374151;
}

body.light-mode .custom-phone-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.custom-phone-card:hover {
    transform: translateX(2px);
}

.custom-card-icon {
    font-size: 16px;
}

.custom-card-text {
    flex: 1;
}

.custom-card-text strong {
    display: block;
    font-size: 10px;
    font-weight: 600;
}

body.dark-mode .custom-card-text strong {
    color: #f3f4f6;
}

body.light-mode .custom-card-text strong {
    color: #111827;
}

.custom-card-text small {
    display: block;
    font-size: 8px;
    margin-top: 2px;
}

body.dark-mode .custom-card-text small {
    color: #9ca3af;
}

body.light-mode .custom-card-text small {
    color: #6b7280;
}

.custom-phone-navbar {
    display: flex;
    justify-content: space-around;
    padding: 8px;
}

body.dark-mode .custom-phone-navbar {
    background: #1f2937;
    border-top: 1px solid #374151;
}

body.light-mode .custom-phone-navbar {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.nav-icon {
    font-size: 14px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.nav-icon.active {
    opacity: 1;
}

body.dark-mode .nav-icon.active {
    filter: brightness(1.5);
}

/* Tablet App Styles */
.custom-tablet-app {
    height: 100%;
    display: flex;
}

.custom-tablet-sidebar {
    width: 60px;
    display: flex;
    flex-direction: column;
    padding: 8px 4px;
    gap: 4px;
}

body.dark-mode .custom-tablet-sidebar {
    background: #1f2937;
    border-right: 1px solid #374151;
}

body.light-mode .custom-tablet-sidebar {
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
}

.custom-sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

body.dark-mode .custom-sidebar-item {
    color: #9ca3af;
}

body.light-mode .custom-sidebar-item {
    color: #6b7280;
}

body.dark-mode .custom-sidebar-item.active,
body.dark-mode .custom-sidebar-item:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

body.light-mode .custom-sidebar-item.active,
body.light-mode .custom-sidebar-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
}

.custom-sidebar-item span {
    font-size: 14px;
}

.custom-sidebar-item small {
    font-size: 7px;
    margin-top: 2px;
    font-weight: 500;
}

.custom-tablet-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.custom-tablet-header {
    padding: 10px;
}

body.dark-mode .custom-tablet-header {
    background: #111827;
    border-bottom: 1px solid #374151;
}

body.light-mode .custom-tablet-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.custom-tablet-header h4 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

body.dark-mode .custom-tablet-header h4 {
    color: #f3f4f6;
}

body.light-mode .custom-tablet-header h4 {
    color: #111827;
}

.custom-tablet-grid-content {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.custom-tablet-widget {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

body.dark-mode .custom-tablet-widget {
    background: #1f2937;
    border: 1px solid #374151;
}

body.light-mode .custom-tablet-widget {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.widget-value {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

body.dark-mode .widget-value {
    color: #60a5fa;
}

body.light-mode .widget-value {
    color: #3b82f6;
}

.widget-label {
    font-size: 9px;
}

body.dark-mode .widget-label {
    color: #9ca3af;
}

body.light-mode .widget-label {
    color: #6b7280;
}

/* Responsive Design */
@media (min-width: 769px) {
    .custom-process-connector {
        display: block;
    }
}/* Product Badges Styles */
/* Badge styles moved to prov.badges.css */

/* Wish Demo Styles - Second Section with lighter background */
.custom-wish-demo {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-secondary);
}

.custom-demo-header {
    text-align: center;
    margin-bottom: 4rem;
}

.custom-demo-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

.custom-demo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-canvas-section {
    border-radius: 20px;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.custom-canvas-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.custom-canvas-header h3 {
    color: var(--accent-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.custom-canvas-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.custom-canvas-wrapper {
    position: relative;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

body.dark-mode .custom-canvas-wrapper,
body.dark-mode .custom-canvas-wrapper {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
}

body.light-mode .custom-canvas-wrapper {
    background: white !important;
    border: 2px dashed rgba(99, 102, 241, 0.3);
}

.custom-canvas-wrapper:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

#wishCanvas {
    display: block;
    width: 100%;
    height: 400px;
    cursor: crosshair;
    background: transparent;
}

/* Canvas Background für Light Mode - AGGRESSIVER FIX */
body.light-mode #wishCanvas {
    background: white !important;
    background-color: white !important;
}

body.light-mode .custom-canvas-wrapper {
    background: white !important;
    background-color: white !important;
}

body.light-mode .custom-canvas-area {
    background: white !important;
}

body.light-mode .custom-canvas-section {
    background: white !important;
}

/* Canvas im Dark Mode transparent lassen */
body.dark-mode #wishCanvas,
body.dark-mode #wishCanvas {
    background: transparent;
}

.custom-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.custom-canvas-wrapper:hover .custom-canvas-overlay {
    opacity: 0.3;
}

.custom-drawing-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.custom-hint-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.custom-hint-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.custom-canvas-workspace {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.custom-canvas-tools {
    flex-shrink: 0;
    width: 120px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.custom-canvas-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.custom-canvas-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#wishCanvas {
    flex: 1;
    min-height: 400px;
}

.custom-tool-section {
    margin-bottom: 1.5rem;
}

.custom-tool-section:last-child {
    margin-bottom: 0;
}

.custom-tool-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-brush-tools,
.custom-color-tools,
.custom-emoji-tools {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.custom-color-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.custom-emoji-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.custom-tool-btn {
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
}

.custom-tool-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.custom-tool-btn.custom-active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
    border-color: rgba(99, 102, 241, 0.4);
}

.custom-brush-btn {
    width: 100%;
    font-size: 1rem;
}

.custom-color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.custom-color-btn.custom-active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
}

.custom-emoji-btn {
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.custom-emoji-btn:hover {
    transform: translateY(-1px) scale(1.05);
}

.custom-emoji-btn.custom-active {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

.custom-canvas-controls {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.custom-demo-message {
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-demo-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.custom-info-card {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none;
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.custom-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
}

.custom-info-card.custom-highlight {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #8b5cf6 100%);
    color: white;
    border: none;
}

.custom-info-card.custom-highlight .custom-info-icon {
    filter: brightness(0) invert(1);
}

.custom-info-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.custom-info-card h4 {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.custom-info-card.custom-highlight h4 {
    color: white;
}

.custom-demo-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.custom-demo-steps li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.custom-demo-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0.5rem;
    background: var(--accent-primary);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.custom-demo-suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-demo-suggestions li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-demo-suggestions li::before {
    content: '✨';
    color: var(--accent-primary);
}

.custom-demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.custom-feature-highlight {
    background: var(--bg-primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.custom-feature-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
}

.custom-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.custom-feature-text {
    font-weight: 500;
    color: var(--text-primary);
}

/* Responsive Design für Demo *//* Hero Section Gradient - MOVED TO hero-pages.css */

/* Zusätzliche Responsive-Anpassungen für sehr kleine Bildschirme *//* Ensure content is above gradient */
.container {
    position: relative;
    z-index: 2;
}

/* Smooth transitions between all sections - no hard cuts */
section {
    position: relative;
}

/* Remove any hard borders and gaps between sections */
.custom-solution-examples,
.custom-development-approach,
.custom-simple-process,
.custom-mobile-optimization,
.custom-wish-demo {
    border: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
}

/* Mobile responsive *//* Additional Mobile Improvements for very small screens *//* Animation für Canvas */
@keyframes canvasGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.2); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.4); }
}

.custom-canvas-wrapper.custom-active {
    animation: canvasGlow 2s ease-in-out infinite;
}