@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    background-color: #1a0a1a;
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

header {
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 10, 26, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    width: calc(100% - 100px);
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #F75ECC;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 180px 20px 100px;
    min-height: 50vh;
    background: linear-gradient(135deg, #3a1a3a, #1a0a1a);
    position: relative;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out;
}

.cta-button {
    background: linear-gradient(90deg, #F75ECC, #A32E8F);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(247, 94, 204, 0.3);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 100px 50px;
}

.feature {
    background: rgba(58, 26, 58, 0.6);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(247, 94, 204, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature.animated {
    animation: fadeInUp 1s ease-out;
}

.feature h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #F75ECC;
}

footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    border-top: 1px solid #4a2a4a;
}

.footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F75ECC;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 94, 204, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(247, 94, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 94, 204, 0);
    }
}

/* Document pages (terms, privacy) */
main h1 {
    color: #F75ECC;
    font-size: 42px;
    margin-bottom: 10px;
}

main h2 {
    color: #F75ECC;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 15px;
}

main h3 {
    color: #F75ECC;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
}

main p {
    line-height: 1.8;
    margin-bottom: 15px;
}

main strong {
    color: #F75ECC;
    font-weight: 600;
}

main ul {
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 15px;
}

main ul li {
    margin-bottom: 10px;
}

main .date {
    font-style: italic;
    color: #999;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px;
        width: calc(100% - 40px);
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .features {
        padding: 80px 20px;
    }

    /* Mobile optimization for document pages */
    main {
        padding: 120px 20px 40px !important;
        max-width: 100% !important;
    }

    main h1 {
        font-size: 28px !important;
        line-height: 1.3;
        word-wrap: break-word;
    }

    main h2 {
        font-size: 22px !important;
        margin-top: 30px;
        line-height: 1.3;
        word-wrap: break-word;
    }

    main h3 {
        font-size: 18px !important;
        margin-top: 20px;
        line-height: 1.3;
        word-wrap: break-word;
    }

    main p {
        font-size: 16px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    main ul {
        margin-left: 15px;
        padding-left: 10px;
    }

    main ul li {
        font-size: 16px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
