/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e88e5 0%, #1976d2 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(30, 136, 229, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-banner {
    margin-bottom: 0.5rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1) invert(0);
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.2);
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    display: none; /* 隱藏文字標題，使用 logo 圖片 */
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: white;
    padding: 60px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* App Preview */
.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.app-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.app-header {
    background: #f1f3f4;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.app-title {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-title-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.app-content {
    display: flex;
    height: 300px;
}

.sidebar {
    background: #f8f9fa;
    width: 200px;
    padding: 16px;
    border-right: 1px solid #e9ecef;
}

.sidebar-item {
    padding: 8px 12px;
    margin-bottom: 4px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
}

.sidebar-item.active {
    background: #e3f2fd;
    color: #1976d2;
}

.main-area {
    flex: 1;
    padding: 16px;
    position: relative;
}

.diagram-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.table-box {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
}

.connection-line {
    width: 2px;
    height: 20px;
    background: #999;
    position: relative;
}

.connection-line::before,
.connection-line::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.connection-line::before {
    top: -4px;
    border-bottom: 6px solid #999;
}

.connection-line::after {
    bottom: -4px;
    border-top: 6px solid #999;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.features > p {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.15);
    border-color: #1e88e5;
    background: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: #f8fafc;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.screenshots > p {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.screenshot-main {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.main-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.screenshot-main p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: white;
}

.download h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.download > p {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.15);
    border-color: #1e88e5;
    background: white;
}

.os-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 600;
}

.download-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-download {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    width: 100%;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    font-weight: 600;
}

.btn-download:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* 開發中卡片樣式 */
.download-card.coming-soon {
    opacity: 0.7;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.download-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
    background: #f1f5f9;
}

/* 即將推出按鈕樣式 */
.btn-coming-soon {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    width: 100%;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-coming-soon:hover {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    transform: none;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}

/* Buy Me a Coffee Widget 容器樣式 */
.bmc-widget-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.bmc-widget-small {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.bmc-widget-footer {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

/* 調整 Widget 按鈕大小 */
.bmc-widget-container script,
.bmc-widget-small script,
.bmc-widget-footer script {
    display: block;
}

/* 響應式設計 - Widget 容器 */
@media (max-width: 768px) {
    .bmc-widget-container,
    .bmc-widget-small,
    .bmc-widget-footer {
        margin: 1rem 0;
    }
}

.download-info {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.download-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.download-reminder {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 16px;
    border: 2px solid #ffb74d;
}

.download-reminder p {
    font-size: 1.1rem;
    color: #e65100;
    margin-bottom: 1rem;
}

.btn-sponsor-small {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-sponsor-small:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d4501f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Support Development Section */
.support-dev {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 50%, #ffe0b2 100%);
    border-top: 3px solid #ffb74d;
    border-bottom: 3px solid #ffb74d;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.support-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #e65100;
    font-weight: 700;
}

.support-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5d4037;
    margin-bottom: 1rem;
}

.support-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.support-text li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #6d4c41;
    line-height: 1.8;
}

.support-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(230, 81, 0, 0.2);
    border: 3px solid #ffb74d;
}

.support-card h3 {
    font-size: 1.8rem;
    color: #e65100;
    margin-bottom: 0.5rem;
}

.support-subtitle {
    color: #8d6e63;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.support-amounts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount {
    padding: 0.75rem 1.5rem;
    background: #f5f5f5;
    border-radius: 12px;
    font-weight: 600;
    color: #5d4037;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.amount.highlight {
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
    color: white;
    border-color: #ff9800;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-sponsor {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    border: none;
    cursor: pointer;
}

.btn-sponsor:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d4501f 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.support-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #8d6e63;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.contact > p {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h3,
.contact-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #64748b;
    line-height: 1.8;
}

.contact-info a {
    color: #1e88e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.contact-features ul {
    list-style: none;
}

.contact-features li {
    padding: 0.5rem 0;
    color: #64748b;
    line-height: 1.8;
}

/* License Agreement Checkbox */
.license-agreement {
    text-align: center;
    margin: 2rem auto 3rem;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    max-width: 600px;
    transition: all 0.3s ease;
}

.license-agreement.highlight-agreement {
    border-color: #ff9800;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.3);
    animation: pulseHighlight 0.5s ease-in-out 3;
}

@keyframes pulseHighlight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.license-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: #1e293b;
}

.license-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #1e88e5;
}

.license-checkbox a {
    color: #1e88e5;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.license-checkbox a:hover {
    color: #1565c0;
}

/* Download Button States */
.download-btn-disabled {
    background: #cbd5e1 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}

.download-btn-enabled {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%) !important;
    color: white !important;
    cursor: pointer !important;
    opacity: 1;
    transition: all 0.3s ease;
}

.download-btn-enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 136, 229, 0.3);
}

/* License & Disclaimer Section */
.license-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.license-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

/* License Page */
.license-page {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 200px);
}

.license-header {
    text-align: center;
    margin-bottom: 3rem;
}

.license-header h1 {
    font-size: 3rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.license-header p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.license-header .last-updated {
    font-size: 1rem;
    color: #94a3b8;
    font-style: italic;
}

.license-card h3 {
    font-size: 1.2rem;
    color: #475569;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.license-footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.license-footer p {
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 1.1rem;
}

.license-footer a {
    color: #1e88e5;
    text-decoration: none;
    font-weight: 500;
}

.license-footer a:hover {
    text-decoration: underline;
}

.license-footer .btn {
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.nav a.active {
    opacity: 1;
    font-weight: 600;
    text-decoration: underline;
}

.license-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.license-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.license-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.license-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.license-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.license-card ul {
    list-style: none;
    margin-top: 1rem;
}

.license-card li {
    padding: 0.5rem 0;
    color: #64748b;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.license-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1e88e5;
    font-weight: bold;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* 版本資訊樣式 */
.version-info {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5rem;
}

.version-info #gitVersion {
    font-family: 'Courier New', monospace;
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
    color: #333;
}

.footer-support {
    text-align: right;
}

.footer-support p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.support-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.support-button:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d4501f 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    text-decoration: none;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .nav {
        display: none;
    }
    
    /* 在手機版顯示語系切換器 */
    #languageSwitcher {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .features-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .app-screenshot,
    .main-screenshot {
        max-width: 100%;
        height: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }

    .support-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .support-amounts {
        flex-wrap: wrap;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info,
    .footer-support {
        text-align: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.download-card,
.screenshot-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Changelog Page Styles */
.changelog-hero {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.changelog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.changelog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.changelog-content-section {
    padding: 80px 0;
    background: #f8fafc;
}

.changelog-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.version-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.version-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.version-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.version-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.version-date {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-left: auto;
}

.version-type {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-type.major {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.version-type.beta {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #ffc107;
}

.version-type.alpha {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #dc3545;
}

.version-content {
    padding: 2rem;
}

.version-content h3 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version-content h3:first-child {
    margin-top: 0;
}

.version-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.version-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.version-content li:last-child {
    border-bottom: none;
}

.version-content li::before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.back-to-home {
    padding: 60px 0;
    text-align: center;
    background: white;
}

.back-to-home .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Responsive Design for Changelog */
@media (max-width: 768px) {
    .changelog-hero h1 {
        font-size: 2.2rem;
    }
    
    .changelog-hero p {
        font-size: 1rem;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .version-date {
        margin-left: 0;
    }
    
    .version-content {
        padding: 1.5rem;
    }
    
    .version-content h3 {
        font-size: 1.1rem;
    }
}
