/* Premium Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #0a0a0a;
}

/* Premium Background */
.premium-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0a0a0a 100%);
}

.premium-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(231, 76, 60, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

.premium-bg::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 50%, rgba(192, 57, 43, 0.1) 0%, transparent 50%);
    animation: rotate 25s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Floating Premium Icons */
.floating-icons {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.premium-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.05;
    animation: float-icon 20s linear infinite;
    color: #e74c3c;
}

@keyframes float-icon {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Premium Badge */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2rem;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3); }
    50% { box-shadow: 0 5px 30px rgba(231, 76, 60, 0.6); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(45deg, #e74c3c, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
    text-decoration: none;
    display: inline-block;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.6);
}

/* Phone Mockup in Hero */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #222;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
    border: 3px solid #333;
    transform: rotate(-5deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-20px); }
}

.phone-notch {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.premium-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.screen-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 30px;
}

.screen-header h3 {
    color: #e74c3c;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.screen-header p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.premium-features-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.premium-feature-item {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.premium-feature-item:nth-child(1) { animation-delay: 0.1s; }
.premium-feature-item:nth-child(2) { animation-delay: 0.2s; }
.premium-feature-item:nth-child(3) { animation-delay: 0.3s; }
.premium-feature-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.premium-feature-item .icon {
    font-size: 1.5rem;
}

.premium-feature-item .text {
    flex: 1;
}

.premium-feature-item .text h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.premium-feature-item .text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

/* Plans Section */
.plans-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
    position: relative;
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.section-header p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.plan-card.featured {
    border-color: #e74c3c;
    transform: scale(1.05);
    background: rgba(231, 76, 60, 0.05);
}

.plan-card.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.5rem 3rem;
    font-weight: 700;
    font-size: 0.9rem;
    transform: rotate(45deg);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 5px 10px rgba(231, 76, 60, 0.3));
}

.plan-name {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.plan-price {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

.plan-price-detail {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

.plan-features li.locked {
    color: rgba(255,255,255,0.4);
}

.plan-features li.locked::before {
    content: '🔒';
    font-size: 1rem;
}

.plan-cta {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
    text-decoration: none;
    display: block;
    text-align: center;
}

.plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.4);
    text-decoration: none;
    color: white;
}

/* Features Demo Section */
.features-demo-section {
    padding: 100px 5%;
    position: relative;
}

.demo-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.demo-card {
    text-align: center;
}

.demo-phone {
    width: 280px;
    height: 580px;
    background: #222;
    border-radius: 35px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
    border: 2px solid #444;
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

/* Feature Screens */
.screen-swipe {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swipe-card {
    width: 85%;
    height: 70%;
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    transition: all 0.5s ease;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.swipe-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.swipe-card-info {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    width: 100%;
    padding: 20px;
    color: white;
}

.swipe-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.swipe-card-details {
    font-size: 0.9rem;
    opacity: 0.9;
}

.swipe-card:nth-child(1) {
    z-index: 3;
    transform: translate(-50%, -50%) scale(1);
}

.swipe-card:nth-child(2) {
    z-index: 2;
    transform: translate(-50%, -50%) scale(0.95) translateY(20px);
    opacity: 0.8;
}

.swipe-card:nth-child(3) {
    z-index: 1;
    transform: translate(-50%, -50%) scale(0.9) translateY(40px);
    opacity: 0.6;
}

.screen-match {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.match-profiles {
    display: flex;
    gap: -30px;
    margin-bottom: 2rem;
    position: relative;
}

.match-profile {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.match-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-profile:nth-child(2) {
    margin-left: -30px;
}

.match-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.match-animation {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.match-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

.screen-chat {
    background: #000;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: rgba(231, 76, 60, 0.1);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e74c3c;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-name {
    color: white;
    font-weight: 600;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.message.sent {
    background: #e74c3c;
    color: white;
    align-self: flex-end;
}

.message.received {
    background: rgba(255,255,255,0.1);
    color: white;
    align-self: flex-start;
}

.demo-card h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.demo-card h3 span {
    color: #e74c3c;
}

.demo-card p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section .section-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(231, 76, 60, 0.3);
    background: rgba(231, 76, 60, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #e74c3c;
    transition: transform 0.3s ease;
    font-weight: 300;
    width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 120px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.cta-section h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1.5rem 4rem;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 280px;
        height: 570px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }
}


/* Footer */
footer {
    background: #000;
    color: white;
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #e74c3c;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e74c3c;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #e74c3c;
    transform: translateY(-5px) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* Responsive - UNE SEULE SECTION */
@media (max-width: 768px) {
    /* Fix pour éviter le chevauchement avec le header sur mobile */
    .hero {
        padding-top: 120px; /* Compense la hauteur du header fixe */
    }
    
    .hero-content {
        padding-top: 2rem; /* Espace supplémentaire si nécessaire */
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
    }

    .features h2, 
    .testimonials h2, 
    .cta-section h2 {
        font-size: 2.5rem;
    }

    .floating-profile {
        width: 60px;
        height: 60px;
    }

    /* Boutons CTA Hero sur mobile */
    .hero-cta-buttons {
        gap: 1.5rem;
    }
    
    .cta-primary,
    .cta-secondary-hero {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-width: 200px;
        white-space: nowrap;
    }
}