/* Base */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #0e0e10;
    color: #e0e0e0;
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0 60px;
    box-sizing: border-box;
    text-align: center;
}

/* Header */
header {
    margin-bottom: 48px;
}

.logo {
    max-width: 100px;
    height: auto;
    border-radius: 22%;
}

/* Hero */
.hero {
    animation: fadeUp 0.7s ease both;
    margin-bottom: 72px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(149, 106, 250, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    position: relative;
    z-index: 1;
}

/* Animated word cycling card */
.card {
    --bg-color: #111;
    background-color: var(--bg-color);
    padding: 0.5rem 1.5rem;
    border-radius: 1.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    border: 1px solid rgba(149, 106, 250, 0.2);
}

.loader {
    color: rgb(124, 124, 124);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    box-sizing: content-box;
    height: 1.6em;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    border-radius: 8px;
}

.words {
    overflow: hidden;
    position: relative;
    height: 1.6em;
}

.words::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        var(--bg-color) 10%,
        transparent 30%,
        transparent 70%,
        var(--bg-color) 90%
    );
    z-index: 20;
}

.word {
    display: block;
    height: 100%;
    padding-left: 8px;
    color: #956afa;
    animation: spin_4991 4s infinite;
    line-height: 1.6em;
}

@keyframes spin_4991 {
    10%  { transform: translateY(-102%); }
    25%  { transform: translateY(-100%); }
    35%  { transform: translateY(-202%); }
    50%  { transform: translateY(-200%); }
    60%  { transform: translateY(-302%); }
    75%  { transform: translateY(-300%); }
    85%  { transform: translateY(-402%); }
    100% { transform: translateY(-400%); }
}

/* Hero subtitle */
.hero-sub {
    color: #999;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

/* CTA Button */
.app-link {
    display: inline-block;
    background: linear-gradient(135deg, #956afa, #007aff);
    color: white;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 24px rgba(149, 106, 250, 0.3);
    position: relative;
    z-index: 1;
}

.app-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(149, 106, 250, 0.45);
}

/* Feature cards */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    animation: fadeUp 0.7s ease 0.15s both;
    margin-bottom: 72px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: left;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(149, 106, 250, 0.3);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
}

.feature-card p {
    color: #888;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* Footer */
footer {
    color: #555;
    font-size: 0.875rem;
    border-top: 1px solid #1e1e1e;
    padding-top: 28px;
    animation: fadeUp 0.7s ease 0.3s both;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 6px;
}

footer a:hover {
    color: #956afa;
}

/* Entrance animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .features {
        grid-template-columns: 1fr;
    }

    .feature-card {
        text-align: center;
    }
}

/* Policy & support pages */
h1, h2 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

p, li {
    color: #ccc;
    line-height: 1.6;
}

main {
    margin: 20px 0;
}

main.privacy {
    text-align: left;
    padding: 28px;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

form input[type="submit"] {
    background: linear-gradient(135deg, #956afa, #007aff);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    margin: 20px auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

form input[type="text"], form input[type="email"], form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    background-color: #161618;
    color: #e0e0e0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

form {
    margin-top: 20px;
}
