/* ============================================
   ScrapNode - Contact Page Styles (Redesign)
   Matches index.html premium design language
   ============================================ */

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 10px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   Page Header — Hero-like treatment
   -------------------------------------------------------------------------- */

.page-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-header::before,
.page-header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    animation: floatOrb 8s ease-in-out infinite;
}

.page-header::before {
    width: 350px;
    height: 350px;
    background: rgba(230, 126, 34, 0.12);
    top: -80px;
    left: -60px;
}

.page-header::after {
    width: 300px;
    height: 300px;
    background: rgba(88, 101, 242, 0.08);
    bottom: -40px;
    right: -60px;
    animation-delay: -4s;
}

.page-header h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -3px;
    line-height: 1.05;
}

.page-header h1 .gradient-text {
    background: linear-gradient(135deg, #E67E22 0%, #F39C12 50%, #E67E22 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.page-header p {
    font-size: 1.35rem;
    color: #95A5A6;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */

.contact-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

/* --------------------------------------------------------------------------
   Contact Cards — Premium glassmorphism
   -------------------------------------------------------------------------- */

.contact-card {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.6), rgba(52, 73, 94, 0.4));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 73, 94, 0.4);
    border-radius: 24px;
    padding: 42px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Top gradient bar — animated */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E67E22, #F39C12);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 126, 34, 0.4);
    box-shadow: 0 20px 60px rgba(230, 126, 34, 0.12);
}

/* Discord Contact Card */
.contact-card.discord {
    border-color: rgba(88, 101, 242, 0.3);
}

.contact-card.discord::before {
    background: linear-gradient(90deg, #5865F2, #7289DA);
}

.contact-card.discord:hover {
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 20px 60px rgba(88, 101, 242, 0.12);
}

/* Support Contact Card */
.contact-card.support {
    border-color: rgba(46, 204, 113, 0.3);
}

.contact-card.support::before {
    background: linear-gradient(90deg, #2ECC71, #27AE60);
}

.contact-card.support:hover {
    border-color: rgba(46, 204, 113, 0.5);
    box-shadow: 0 20px 60px rgba(46, 204, 113, 0.12);
}

/* Pro Contact Card */
.contact-card.pro {
    border-color: rgba(155, 89, 182, 0.3);
}

.contact-card.pro::before {
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
}

.contact-card.pro:hover {
    border-color: rgba(155, 89, 182, 0.5);
    box-shadow: 0 20px 60px rgba(155, 89, 182, 0.12);
}

/* Scroll reveal + stagger */
.contact-card.scroll-hidden { opacity: 0; transform: translateY(25px); }
.contact-card.scroll-hidden.revealed { opacity: 1; transform: translateY(0); }
.contact-grid .contact-card:nth-child(1) { transition-delay: 0s; }
.contact-grid .contact-card:nth-child(2) { transition-delay: 0.1s; }
.contact-grid .contact-card:nth-child(3) { transition-delay: 0.2s; }

/* --------------------------------------------------------------------------
   Contact Icon
   -------------------------------------------------------------------------- */

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.08);
}

.contact-card.discord .contact-icon {
    background: linear-gradient(135deg, #5865F2, #7289DA);
}

.contact-card.support .contact-icon {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
}

.contact-card.pro .contact-icon {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

/* --------------------------------------------------------------------------
   Contact Card Text
   -------------------------------------------------------------------------- */

.contact-card h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ECF0F1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.contact-card .contact-type {
    font-size: 0.85rem;
    color: #7F8C8D;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-card p {
    color: #BDC3C7;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Contact Links
   -------------------------------------------------------------------------- */

.contact-link {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-card.discord .contact-link {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.contact-card.discord .contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.5);
}

.contact-card.support .contact-link,
.contact-card.pro .contact-link {
    background: transparent;
    border: 2px solid #34495E;
    color: #ECF0F1;
}

.contact-card.support .contact-link:hover {
    border-color: #2ECC71;
    color: #2ECC71;
    transform: translateY(-3px);
}

.contact-card.pro .contact-link:hover {
    border-color: #9B59B6;
    color: #9B59B6;
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Email Display
   -------------------------------------------------------------------------- */

.email-display {
    background: rgba(15, 20, 25, 0.5);
    padding: 14px 22px;
    border-radius: 12px;
    margin-bottom: 22px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    word-break: break-all;
}

.email-display a {
    text-decoration: none;
}

.contact-card.support .email-display,
.contact-card.support .email-display a {
    color: #2ECC71;
}

.contact-card.pro .email-display,
.contact-card.pro .email-display a {
    color: #9B59B6;
}

/* --------------------------------------------------------------------------
   Response Time Info
   -------------------------------------------------------------------------- */

.response-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(52, 73, 94, 0.25);
    color: #5D6D7E;
    font-size: 0.9rem;
}

.response-info svg {
    width: 16px;
    height: 16px;
}

/* --------------------------------------------------------------------------
   Discord Feature Section
   -------------------------------------------------------------------------- */

.discord-section {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(114, 137, 218, 0.06));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 28px;
    padding: 55px;
    margin: 80px 0;
    text-align: center;
    transition: all 0.4s ease;
}

.discord-section:hover {
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 15px 50px rgba(88, 101, 242, 0.08);
}

.discord-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #ECF0F1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.discord-section p {
    color: #BDC3C7;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px;
}

.discord-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.discord-feature {
    text-align: center;
    transition: transform 0.3s ease;
}

.discord-feature:hover {
    transform: translateY(-3px);
}

.discord-feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(88, 101, 242, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.discord-feature:hover .discord-feature-icon {
    transform: scale(1.08);
}

.discord-feature h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ECF0F1;
    margin-bottom: 6px;
}

.discord-feature p {
    color: #7F8C8D;
    font-size: 0.9rem;
    margin: 0;
}

.btn-discord-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    padding: 18px 48px;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.35);
}

.btn-discord-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.55);
}

.btn-discord-large svg {
    width: 26px;
    height: 26px;
}

/* Scroll reveal for discord section */
.discord-section.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.discord-section.scroll-hidden.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   FAQ Section — Enhanced (like tarifs)
   -------------------------------------------------------------------------- */

.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 40px;
}

.faq-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #ECF0F1;
    text-align: center;
    margin-bottom: 45px;
    letter-spacing: -2px;
}

.faq-item {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.5), rgba(52, 73, 94, 0.3));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 73, 94, 0.4);
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 14px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Left accent bar on hover */
.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #E67E22, #D35400);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(230, 126, 34, 0.35);
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #E67E22;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.faq-item p {
    color: #BDC3C7;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item p a {
    color: #E67E22;
    text-decoration: none;
    transition: color 0.2s;
}

.faq-item p a:hover {
    color: #F39C12;
}

/* Scroll reveal + stagger */
.faq-item.scroll-hidden { opacity: 0; transform: translateY(20px); }
.faq-item.scroll-hidden.revealed { opacity: 1; transform: translateY(0); }
.faq-item:nth-child(2).scroll-hidden { transition-delay: 0.05s; }
.faq-item:nth-child(3).scroll-hidden { transition-delay: 0.1s; }
.faq-item:nth-child(4).scroll-hidden { transition-delay: 0.15s; }
.faq-item:nth-child(5).scroll-hidden { transition-delay: 0.2s; }

/* --------------------------------------------------------------------------
   Footer Social
   -------------------------------------------------------------------------- */

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Scroll Reveal — Global classes
   -------------------------------------------------------------------------- */

.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-hidden.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive — 1024px
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .page-header h1 {
        font-size: 4rem;
    }

    .discord-section h2 {
        font-size: 2.5rem;
    }

    .faq-section h2 {
        font-size: 2.5rem;
    }
}

/* --------------------------------------------------------------------------
   Responsive — 768px
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .page-header {
        padding: 70px 24px 60px;
    }

    .page-header::before,
    .page-header::after {
        display: none;
    }

    .page-header h1 {
        font-size: 2.8rem;
        letter-spacing: -2px;
    }

    .page-header p {
        font-size: 1.1rem;
    }

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

    .contact-card {
        padding: 35px 28px;
    }

    .discord-section {
        padding: 35px 24px;
    }

    .discord-section h2 {
        font-size: 2rem;
    }

    .faq-section h2 {
        font-size: 2.2rem;
    }

    .faq-item:hover {
        transform: translateX(2px);
    }
}

/* --------------------------------------------------------------------------
   Responsive — 480px
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .page-header p {
        font-size: 1rem;
    }

    .contact-icon {
        width: 65px;
        height: 65px;
    }

    .contact-link {
        width: 100%;
        text-align: center;
    }

    .btn-discord-large {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
    }

    .discord-section h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }
}
