/* Vibe Coding Rescue Page Specific Styles */

.vibe-rescue-page #hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 340px;
    padding: 32px 0 0 0;
    background-color: #23242a;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    position: relative;
    overflow: hidden;
}

.vibe-rescue-page #hero-section .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vibe-rescue-page #hero-section .hero-title,
.vibe-rescue-page #hero-section .hero-description {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.vibe-rescue-page #hero-section .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vibe-rescue-page #hero-section .hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.content-vibe-rescue {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background: #fcfcff; /* Restores light background */
}

/* Create subtle dot pattern background */
.content-vibe-rescue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#d9d1ff 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

/* Decorative elements */
.decorative-element {
    position: absolute;
    z-index: -1;
    opacity: 0.4;
}

.sun-1 {
    top: 15%;
    right: 5%;
    width: 100px;
    height: 100px;
    animation: slow-rotate 30s infinite linear;
}

.star-1 {
    bottom: 30%;
    left: 8%;
    width: 80px;
    height: 80px;
    animation: pulse 8s infinite ease-in-out;
}

.firework-1 {
    top: 60%;
    right: 12%;
    width: 120px;
    height: 120px;
    animation: pulse 12s infinite ease-in-out;
    opacity: 0.2;
}

@keyframes slow-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
}

.vibe-rescue-section {
    margin-bottom: 80px;
    position: relative;
}

.vibe-rescue-intro {
    text-align: center;
    margin-bottom: 60px;
}

.vibe-rescue-intro .section-title {
    font-size: 2.5rem;
    color: #333;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.vibe-rescue-intro .section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.vibe-rescue-section h3 {
    margin-bottom: 1.3em;
    font-size: 2.2rem;
    color: #333;
    font-weight: 600;
}

/* Section headers with icons */
.section-header-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2em;
}

.section-header-icon {
    width: 80px; /* Make the icon much larger */
    height: auto;
    margin-top: 5px;
    opacity: 0.7; /* Slightly fade the icon */
}

/* Numbered List Styling */
.numbered-get-list {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
    margin-top: 30px;
}

.numbered-get-list li {
    position: relative;
    display: block;
    padding-left: 100px;
    margin-bottom: 20px;
    min-height: 48px;
}

.numbered-get-list li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px; /* Smaller number circle */
    height: 40px;
    background-color: #e9d8ff;
    color: #6a11cb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.numbered-get-list .item-content {
    margin-top: 2px;
    line-height: 1.5;
    word-break: break-word;
}

/* Specifically style the document icon in the last item */
.numbered-get-list .with-icon {
    display: flex;
    align-items: flex-start;
}

.numbered-get-list .list-item-icon {
    width: 35px;
    height: 35px;
    margin-right: 12px;
    margin-top: 2px;
    color: #6a11cb; /* Match the number color */
}

/* Other existing styles */
.fleche-list, .process-list {
    list-style: none;
    padding-left: 0;
}

.fleche-list li, .process-list li {
    margin-bottom: 15px;
    padding-left: 55px;
    padding-top: 6px;
    position: relative;
    line-height: 1.6;
}

.fleche-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background: url('../public/flech-list.webp') no-repeat center center;
    background-size: contain;
}

/* Process list specific */
.process-list .process-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #6a11cb;
}

/* Table Styling */
.rescue-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(106, 17, 203, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.rescue-table th, .rescue-table td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: left;
}

.rescue-table th {
    background-color: rgba(106, 17, 203, 0.05);
    font-weight: 600;
    color: #333;
}

.rescue-table tbody tr:nth-child(even) {
    background-color: rgba(106, 17, 203, 0.02);
}

.rescue-table tbody tr:hover {
    background-color: rgba(106, 17, 203, 0.05);
}

.rescue-table .emoji {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* FAQ Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 20px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #6a11cb;
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 20px;
    left: 9px;
    top: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 15px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* CTA Styling */
.vibe-rescue-cta {
    text-align: left;
    padding: 32px 32px 32px 32px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #EDE8FF;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vibe-rescue-cta::before {
    display: none;
}

.vibe-rescue-cta h3 {
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #272833;
    position: static;
    z-index: auto;
}

.vibe-rescue-cta p {
    margin-bottom: 1.2em;
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
    position: static;
    z-index: auto;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .vibe-rescue-page #hero-section .hero-title {
        font-size: 2.2rem;
    }
    
    .vibe-rescue-page #hero-section .hero-description {
        font-size: 1rem;
    }
    
    .vibe-rescue-intro .section-title {
        font-size: 2rem;
    }
    
    .vibe-rescue-section h3 {
        font-size: 1.8rem;
    }
    
    .section-header-icon {
        width: 60px;
    }
    
    .decorative-element {
        display: none; /* Hide decorative elements on mobile */
    }
    
    /* Table responsive styles - Enhanced Card Layout */
    .rescue-table thead {
        display: none;
    }

    .rescue-table, .rescue-table tbody, .rescue-table tr, .rescue-table td {
        display: block;
        width: 100%;
    }

    .rescue-table tr {
        margin-bottom: 20px; /* Increased space between cards */
        border: 1px solid #e0e0e0; /* Slightly darker border */
        border-radius: 8px; /* Rounded corners for card effect */
        background-color: #ffffff; /* White background for each card */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
        padding: 15px; /* Add padding inside the card */
        overflow: hidden; /* Ensure content stays within rounded corners */
    }

    .rescue-table td {
        text-align: left; /* Align content to the left */
        padding: 12px 0; /* Vertical padding, no horizontal */
        position: relative;
        border: none; /* Remove default cell borders */
        border-bottom: 1px dashed #eee; /* Use dashed line as separator */
        /* Remove display: flex and align-items */
        flex-wrap: wrap; /* Allow wrapping if content is long */
        /* Remove padding-left: 50% */
    }

    .rescue-table td::before {
        content: attr(data-label); /* Use the data-label attribute */
        font-weight: 600; /* Slightly bolder label */
        color: #555; /* Grey color for label */
        display: block; /* Make label take full width */
        margin-bottom: 6px; /* Space between label and value */
        width: 100%; /* Ensure label is above the content */
        text-align: left; /* Align label text left */
        /* Reset positioning styles */
        position: static;
        padding-right: 0;
        white-space: normal; /* Allow label text to wrap */
    }

    /* Style the actual content within the td */
    .rescue-table td > *:not(.emoji) { /* Target direct children excluding emoji */
       margin-left: 0; /* Remove potential left margin */
       display: block; /* Ensure content takes available width */
       width: 100%;
       line-height: 1.5; /* Improve readability */
    }
    /* Specifically target the emoji span if present */
    .rescue-table td .emoji {
        display: inline-block; /* Keep emoji inline */
        margin-right: 8px;
        width: auto; /* Reset width */
        margin-bottom: 0; /* Reset margin */
        vertical-align: middle; /* Align emoji better */
    }

    .rescue-table td:last-child {
        border-bottom: 0; /* Remove border from the last cell */
    }
} 