:root {
    --primary: #6366f1;
    --secondary: #10b981;
    --accent: #ec4899;
    --dark: #1e1b4b;
    --light: #f8fafc;
    --text: #334155;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 {
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.main-header {
    background: var(--gradient);
    padding: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo {
    height: 80px;
    margin-bottom: 1rem;
}

.menu-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    cursor: pointer;
    background: rgba(255,255,255,0.9);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    padding: 100px 24px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
    z-index: 9998;
}

.nav-menu.active {
    right: 0;
    z-index: 9997;
}

.nav-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    margin: 8px 0;
    transition: 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    background: var(--primary);
    color: white;
    transform: translateX(8px);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 24px;
    min-height: 100vh;
}

.hero {
    text-align: center;
    padding: 120px 0;
    background: var(--gradient);
    color: white;
    border-radius: 24px;
    margin-bottom: 48px;
    box-shadow: 0 24px 48px -12px rgba(99,102,241,0.2);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-section {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 12px 24px -4px rgba(0,0,0,0.06);
    border: 1px solid rgba(99,102,241,0.1);
}

.changelog-toggle {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    cursor: pointer;
    background: rgba(255,255,255,0.9);
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    color: var(--dark);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
}

.changelog-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    padding: 100px 24px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: 4px 0 24px rgba(0,0,0,0.08);
    overflow-y: auto;
}

.changelog-menu.active {
    left: 0;
}

.changelog-entry {
    background: white;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.changelog-entry h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.changelog-entry p {
    font-size: 0.9em;
    color: var(--text);
    margin-bottom: 4px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonials {
    background: #f8fafc;
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

blockquote {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary);
}

cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    color: var(--secondary);
}

.main-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 6rem;
    border-top: 4px solid var(--primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legal-links {
    text-align: center;
}

.legal-links h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.link-grid a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.link-grid a:hover {
    color: white;
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
}

.copyright-content {
    opacity: 0.7;
    font-size: 0.9rem;
}

.legal-text {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.social-links {
    display: none;
}

.changelog-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(30,27,75,0.75);
    justify-content: center;
    align-items: center;
}

.changelog-modal.active {
    display: flex;
}

.changelog-modal-content {
    background: #fff;
    border-radius: 18px;
    max-width: 600px;
    width: 90%;
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: 0 8px 48px rgba(99,102,241,0.18);
    position: relative;
    animation: changelog-pop 0.25s cubic-bezier(.4,0,.2,1);
}

#changelogVersionScroll {
    max-height: 55vh;     
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(99,102,241,0.06) inset;
}

@keyframes changelog-pop {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.changelog-close {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 2rem;
    color: #6366f1;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
}
.changelog-close:hover { color: #ec4899; }

#changelogVersionSelect {
    width: 100%;
    padding: 0.6rem 1rem;
    margin: 1.2rem 0 1.5rem 0;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 1.1rem;
    background: #f3f4f6;
    color: #1e1b4b;
}

.changelog-version-block {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(99,102,241,0.06);
    padding: 1.2rem 1.5rem;
    transition: box-shadow 0.2s;
}

.changelog-version-block h3 {
    margin: 0 0 0.5rem 0;
    color: #6366f1;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.changelog-version-block .changelog-details {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #334155;
    display: none;
}

.changelog-version-block.active .changelog-details {
    display: block;
}

.changelog-version-block .arrow {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.changelog-version-block.active .arrow {
    transform: rotate(90deg);
}

.changelog-title {
    font-size: 1.1rem;
    color: #6366f1;
    font-weight: 500;
    margin: 0.2rem 0 1rem 2.1rem;
    font-style: italic;
    letter-spacing: 0.01em;
}

.changelog-details ul {
    padding-left: 1.2em;
    margin: 0;
}

.changelog-details li {
    margin-bottom: 0.7em;
    line-height: 1.6;
}

.changelog-devnote {
    margin-top: 1.2rem;
    background: linear-gradient(90deg, #fef08a 0%, #fde68a 100%);
    color: #b45309;
    border-left: 5px solid #f59e42;
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.2rem;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(251,191,36,0.08);
    font-style: italic;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.7em;
}

.changelog-devnote::before {
    content: "📝 DevNote:";
    font-weight: bold;
    color: #d97706;
    margin-right: 0.7em;
    font-style: normal;
}
