:root {
    --primary: #00E5FF;
    --primary-variant: #00B8D4;
    --accent-indigo: #6366F1;
    --bg: #07090F;
    --surface: #0D121F;
    --surface-strong: #141C2E;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent-indigo));
    z-index: 9999;
    transition: width 0.05s linear;
    border-radius: 0 2px 2px 0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Decorative Background Elements */
.blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--accent-indigo));
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.blob-1 { top: -200px; left: -200px; }
.blob-2 { bottom: -200px; right: -200px; }

header {
    width: 100%;
    max-width: 1000px;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--accent-indigo));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}

main {
    width: 100%;
    max-width: 900px;
    padding: 40px 20px;
    text-align: center;
    z-index: 5;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 999px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -3px;
    line-height: 1.05;
}

.subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 48px;
    margin-bottom: 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 20px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: linear-gradient(90deg, var(--primary), var(--primary-variant));
    color: var(--bg);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.cta-button.secondary {
    background: var(--surface-strong);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.support-box {
    margin-top: 20px;
    padding: 24px 32px;
    border-radius: 24px;
    background: rgba(0, 229, 255, 0.03);
    border: 1px dashed rgba(0, 229, 255, 0.2);
    display: inline-block;
    text-align: center;
}

.support-box span {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

footer {
    margin-top: auto;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
}

@media (max-width: 768px) {
    h1 { font-size: 48px; letter-spacing: -1px; }
    .glass-card { padding: 32px; }
    .cta-group { justify-content: center; }
}

.changelog-section {
    width: 100%;
    text-align: left;
    margin-bottom: 80px;
    max-height: 500px;
    overflow-y: auto;
    padding: 32px;
    padding-right: 12px;
}

/* Custom Scrollbar for Changelog */
.changelog-section::-webkit-scrollbar {
    width: 6px;
}

.changelog-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.changelog-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.changelog-section::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.changelog-title {
    font-size: 24px;
    font-weight: 700;
}

.version-badge {
    padding: 4px 12px;
    background: var(--accent-indigo);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.changelog-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.changelog-item {
    display: grid;
    grid-template-columns: 20px 180px 20px 1fr; /* Dot, Title, Colon, Description */
    gap: 12px 4px;
    align-items: start;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 8px;
}

.changelog-item::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    grid-column: 1;
}

.item-title {
    grid-column: 2;
    font-weight: 700;
    color: var(--text-primary);
}

.item-colon {
    grid-column: 3;
    text-align: center;
    color: var(--text-secondary);
}

.item-desc {
    grid-column: 4;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Pulse animation for global background blobs */
.blob {
    animation: pulse 15s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(20px, -20px); filter: blur(140px); }
}

/* Water Bubbles Floating Up */
.bubble {
    position: fixed;
    bottom: -30px;
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: floatUp 8s infinite ease-in;
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-110vh) scale(0.3); opacity: 0; }
}

/* Water Click Ripple Effect */
.water-ripple {
    position: fixed;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: rippleEffect 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    z-index: 100;
}

@keyframes rippleEffect {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 150px; height: 150px; opacity: 0; border-width: 1px; }
}

/* Scroll Reveal Classes (For JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Cursor Trail Waves */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    animation: trailAnimate 1s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes trailAnimate {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; border-width: 0.5px; }
}
