/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.header-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 50px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    color: #d1d5db;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.9;
}

/* Domain Section */
.domain-section {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(220, 38, 38, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.domain-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.domain-icon {
    font-size: 24px;
}

.domain-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #3b82f6;
}

.domain-box {
    background: rgba(55, 65, 81, 0.5);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(75, 85, 99, 0.5);
}

.domain-url {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    background: rgba(220, 38, 38, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.domain-note {
    color: #9ca3af;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.domain-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.6);
}

.btn-secondary {
    background: rgba(75, 85, 99, 0.8);
    color: white;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.btn-secondary:hover {
    background: rgba(75, 85, 99, 1);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 18px;
}

/* Community Section */
.community-section {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.community-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.community-icon {
    font-size: 24px;
}

.community-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #3b82f6;
}

.community-text {
    text-align: center;
    color: #d1d5db;
    margin-bottom: 30px;
}

.community-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.community-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.community-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006bb3);
    color: white;
}

.community-btn.telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.community-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.community-btn.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 40px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notice-content h4 {
    color: #f59e0b;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.notice-content p {
    color: #fbbf24;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(17, 24, 39, 0.9) 100%);
}

.features-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(75, 85, 99, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.feature-card p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 15px;
}

.device-list {
    list-style: none;
    margin-top: 15px;
}

.device-list li {
    color: #9ca3af;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.device-list li::before {
    content: '•';
    color: #dc2626;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.domain-info {
    margin-top: 20px;
    padding: 20px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.domain-info p {
    margin-bottom: 10px;
    color: #fca5a5;
}

.domain-note {
    font-style: italic;
    color: #f87171 !important;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(75, 85, 99, 0.3);
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: center;
    text-align: center;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #9ca3af;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    transform: translateY(-2px);
}

.footer-credits {
    color: #6b7280;
    font-size: 14px;
}

/* Copy Toast */
.copy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.copy-toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 18px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .header-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-content {
        padding: 120px 20px 50px;
    }

    .domain-section {
        padding: 25px;
        margin: 30px 0;
    }

    .domain-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .community-links {
        flex-direction: column;
        align-items: center;
    }

    .community-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .important-notice {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .copy-toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        transform: translateY(100px);
    }

    .copy-toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .domain-url {
        font-size: 20px;
        word-break: break-all;
    }

    .features-title {
        font-size: 32px;
    }

    .feature-card h3 {
        font-size: 20px;
    }
}

/* Effets spéciaux */
.hero-title {
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    }
    to {
        text-shadow: 0 4px 30px rgba(220, 38, 38, 0.8);
    }
}

/* Particules flottantes */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(220, 38, 38, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(220, 38, 38, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-100px);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states */
.btn:focus,
.header-link:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.9);
    }

    .domain-section,
    .community-section,
    .feature-card {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
