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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1e293b;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, rgba(252, 228, 236, 0.15) 100%);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2.1em;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    padding-bottom: 0.3em;
    border-bottom: 3px solid rgba(102, 126, 234, 0.2);
}

h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #334155;
    margin-top: 2em;
    border-left: 4px solid rgba(102, 126, 234, 0.3);
    padding-left: 0.5em;
}

h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #475569;
}

p {
    color: #475569;
}

ul, ol {
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
    color: #475569;
}

footer {
    margin-top: 3em;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 1em;
    color: #94a3b8;
    font-size: 0.9em;
}

.last-updated {
    color: #94a3b8;
    font-size: 0.85em;
    margin-top: 2em;
}

nav {
    display: flex;
    align-items: flex-end;
    gap: 0;
    margin: 1em 0;
    padding: 1em 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
nav .logo {
    height: 32px;
    width: auto;
    margin-right: 1.5em;
}

nav a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
}

nav a:not(:last-child)::after {
    content: '|';
    color: #94a3b8;
    font-weight: 300;
    margin: 0 1em;
}

nav a:hover {
    text-decoration: underline;
}

.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-decoration::before {
    content: '';
    position: absolute;
    top: 80px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.bg-decoration::after {
    content: '';
    position: absolute;
    bottom: 120px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

.accent-bar {
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #ec4899);
    margin-top: 2em;
    border-radius: 2px;
}

/* index.html specific */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: 1.5em 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

th {
    background: rgba(248, 187, 208, 0.5);
    color: #1e293b;
    font-weight: 600;
}

tr:nth-child(even) {
    background: rgba(252, 228, 236, 0.3);
}

tr:last-child td {
    border-bottom: none;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1em;
    font-weight: 600;
    margin: 1em 0;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1em;
    margin: 2em 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(10px);
    padding: 1.5em;
    border-radius: 1.2rem;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 4px 4px 12px rgba(102, 126, 234, 0.15), -2px -2px 8px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 2em;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9em;
    color: #64748b;
    font-weight: 500;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin: 2em 0;
}

.screen-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.2rem;
    padding: 0.5em;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 4px 4px 12px rgba(102, 126, 234, 0.15), -2px -2px 8px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.screen-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

@media (max-width: 600px) {
    .screen-grid {
        grid-template-columns: 1fr;
    }
}

/* faq.html specific */
.faq-item {
    margin: 1em 0;
}

.faq-item h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #475569;
    margin: 0 0 0.5em 0;
}

.faq-item p {
    margin: 0 0 0.5em 0;
    color: #475569;
}

/* privacy.html specific */
.effective-date {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 1em;
    border-radius: 1rem;
    border-left: 4px solid rgba(102, 126, 234, 0.5);
    margin: 1.5em 0;
}

.highlight-box {
    background: rgba(255, 243, 224, 0.7);
    backdrop-filter: blur(10px);
    padding: 1em;
    border-radius: 1rem;
    border-left: 4px solid #ff9800;
    margin: 1.5em 0;
}

strong {
    color: #334155;
}

.toc {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5em;
    border-radius: 1rem;
    margin: 1.5em 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.toc h2 {
    margin-top: 0;
    border-left: none;
    padding-left: 0;
}

.toc a {
    color: #667eea;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

.toc li {
    margin-bottom: 0.3em;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.2rem;
    padding: 0.75em;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 4px 4px 12px rgba(102, 126, 234, 0.15), -2px -2px 8px rgba(255, 255, 255, 0.5);
}

.lightbox-content img {
    max-width: 85vw;
    max-height: 80vh;
    display: block;
    border-radius: 0.5rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2.5em;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
    opacity: 0.8;
}

.lightbox-close:hover {
    opacity: 1;
}
