:root {
    /* Light Theme Variables */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --card-bg: white;
    --nav-bg: white;
    --border-color: #eee;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-color: #3498db;
    --secondary-color: #5dade2;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.3);
    --card-bg: #2c2c2c;
    --nav-bg: #2c2c2c;
    --border-color: #404040;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1.2em;
    transition: transform 0.3s ease;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--background-color);
}

.theme-toggle i {
    pointer-events: none;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Navigation Styles */
.nav-bar {
    background: var(--nav-bg);
    padding: 15px 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 40px;
    width: 100%;
    left: 0;
    border-radius: 0 0 20px 20px;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand-container {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 0;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a.active:after {
    width: 100%;
}

/* Typography */
h1, h2 {
    color: var(--primary-color);
    margin-top: 2em;
    position: relative;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 1.5em;
}

h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    margin: 20px auto;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
}

/* Common Components */
.card, .support-card, .feature-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.hero {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 40px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* Links and Buttons */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin: 20px 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    text-decoration: none;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
    text-decoration: none;
    color: white;
}

.store-button i {
    font-size: 1.5em;
}

.store-button .button-text {
    text-align: left;
}

.store-button .button-text small {
    display: block;
    font-size: 0.7em;
    opacity: 0.9;
}

.store-button .button-text strong {
    display: block;
    font-size: 1.1em;
}

@media (max-width: 480px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        justify-content: center;
    }
}

/* Lists */
ul {
    background: var(--card-bg);
    padding: 25px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

li {
    margin: 15px 0;
}

/* Footer */
footer {
    margin-top: 60px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .nav-container {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    ul {
        padding: 20px 30px;
    }
} 