:root {
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #6366f1;
    --accent-secondary: #a855f7;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        --card-bg: rgba(255, 255, 255, 0.85);
        --card-border: rgba(0, 0, 0, 0.06);
        --text-primary: #0f172a;
        --text-secondary: #475569;
        --accent-primary: #4f46e5;
        --accent-secondary: #9333ea;
        --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
        --shadow-color: rgba(0, 0, 0, 0.05);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1rem;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    animation: float 4s ease-in-out infinite;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out;
}

section p a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(99, 102, 241, 0.4);
    word-break: break-word;
}

section p a:hover {
    border-bottom-color: var(--accent-primary);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px var(--shadow-color);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
}

section {
    margin-bottom: 2rem;
}

section:last-of-type {
    margin-bottom: 0;
}

h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.5rem;
    background: var(--accent-gradient);
    border-radius: 2px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

ul {
    list-style-type: none;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

li {
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

/* FAQ Styling */
details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    margin-bottom: 1rem;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
    details {
        background: rgba(0, 0, 0, 0.02);
    }
}

details[open] {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

@media (prefers-color-scheme: light) {
    details[open] {
        background: rgba(0, 0, 0, 0.01);
        border-color: var(--accent-primary);
    }
}

summary {
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    user-select: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--accent-primary);
    font-weight: bold;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

details p {
    margin-top: 0.75rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    max-width: 100%;
    overflow-wrap: anywhere;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.45);
}

.contact-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

footer.page-footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 640px) {
    body {
        padding: 1.5rem 0.5rem;
    }
    .card {
        padding: 1.5rem;
        border-radius: 18px;
    }
    h1 {
        font-size: 2rem;
    }
    .nav-links {
        gap: 0.75rem;
    }
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}
