* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
     /* Dark Theme Colors */
     --dark-primary: #1e3a8a;
    --dark-primary-dark: #152a60;
    --dark-primary-light: #3b82f6;
    --dark-secondary: #0ea5e9;
    --dark-dark: #0a0a14;
    --dark-darker: #05050a;
    --dark-darkest: #000000;
    --dark-light: #f0f0f0;
    --dark-gray: #a0a0a0;
    --dark-card-bg: rgba(15, 23, 42, 0.8);
    --dark-card-border: rgba(30, 58, 138, 0.5);
    --dark-section-bg: rgba(10, 15, 30, 0.6);

    /* Light Theme Colors */
    --light-primary: #1e3a8a;
    --light-primary-dark: #152a60;
    --light-primary-light: #3b82f6;
    --light-secondary: #0ea5e9;
    --light-dark: #0a0a14;
    --light-darker: #05050a;
    --light-darkest: #000000;
    --light-light: #f8f9fa;
    --light-gray: #6c757d;
    --light-card-bg: rgba(255, 255, 255, 0.9);
    --light-card-border: rgba(30, 58, 138, 0.3);
    --light-section-bg: rgba(248, 249, 250, 0.8);

    /* Current Theme */
    --primary: var(--dark-primary);
    --primary-dark: var(--dark-primary-dark);
    --primary-light: var(--dark-primary-light);
    --secondary: var(--dark-secondary);
    --dark: var(--dark-dark);
    --darker: var(--dark-darker);
    --darkest: var(--dark-darkest);
    --light: var(--dark-light);
    --gray: var(--dark-gray);
    --card-bg: var(--dark-card-bg);
    --card-border: var(--dark-card-border);
    --section-bg: var(--dark-section-bg);
}

body {
    background: linear-gradient(135deg, var(--darker), var(--darkest));
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
}

body.light-theme {
    --primary: var(--light-primary);
    --primary-dark: var(--light-primary-dark);
    --primary-light: var(--light-primary-light);
    --secondary: var(--light-secondary);
    --dark: var(--light-dark);
    --darker: var(--light-darker);
    --darkest: var(--light-darkest);
    --light: var(--light-light);
    --gray: var(--light-gray);
    --card-bg: var(--light-card-bg);
    --card-border: var(--light-card-border);
    --section-bg: var(--light-section-bg);
    background: linear-gradient(135deg, #f0f2f5, #e2e8f0);
    color: var(--dark);
}

body.light-theme .feature-card h3,
body.light-theme .screenshot-item .caption h4,
body.light-theme .section-title,
body.light-theme .footer-section h3 {
    color: var(--dark);
}

body.light-theme .feature-card p,
body.light-theme .screenshot-item .caption p,
body.light-theme .hero p,
body.light-theme .download p {
    color: #4a5568;
}

body.light-theme .footer-section a,
body.light-theme .version-info,
body.light-theme .copyright {
    color: #718096;
}

header {
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

body.light-theme header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--card-border);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.logo-dark {
    display: block;
}

.logo-light {
    display: none;
}

body.light-theme .logo-dark {
    display: none;
}

body.light-theme .logo-light {
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

body.light-theme nav a {
    color: var(--dark);
}

nav a:hover {
    color: var(--primary-light);
}

nav a.active {
    color: var(--primary-light);
}

nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
}

.theme-language-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    width: 50px;
    height: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-slider {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 21px;
    height: 21px;
    background: var(--primary-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

body.light-theme .theme-toggle-slider {
    transform: translateX(25px);
}

.language-selector {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    color: var(--light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-theme .language-selector {
    color: var(--dark);
}

.hero {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.1) 0%, transparent 70%);
}

body.light-theme .hero {
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    margin: 0 auto;
}

.hero-main-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-text-content {
    flex: 1;
    text-align: left;
    padding-right: 2rem;
}

.hero-image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-text-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

body.light-theme .hero-text-content h1 {
    background: linear-gradient(45deg, var(--dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-text-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 100%;
}

body.light-theme .hero-text-content p {
    color: #4a5568;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 2rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    min-width: 220px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
}

.btn-primary:before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

body.light-theme .btn-secondary {
    color: var(--dark);
}

.btn-secondary:hover {
    background: rgba(30, 58, 138, 0.2);
    transform: translateY(-5px);
}

.hero-screenshot-container {
    margin: 0;
    width: 100%;
}

.hero-screenshot-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    position: relative;
}

.hero-screenshot-wrapper:hover {
    box-shadow: 0 40px 80px rgba(30, 58, 138, 0.5);
    transform: translateY(-10px);
}

.hero-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: all 0.5s ease;
}

.hero-screenshot-wrapper:hover .hero-screenshot {
    transform: scale(1.03);
}

@media (max-width: 1200px) {
    .hero-main-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    .hero-text-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-text-content h1 {
        font-size: 2.8rem;
    }
    .hero-text-content p {
        font-size: 1.2rem;
    }
    .cta-buttons {
        justify-content: center;
    }
    .hero-image-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    .hero-text-content h1 {
        font-size: 2.2rem;
    }
    .hero-text-content p {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .btn {
        min-width: 100%;
        padding: 1rem 2rem;
    }
}

section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
}

body.light-theme .section-title {
    color: var(--dark);
}

.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 1rem auto;
    border-radius: 3px;
}

.features {
    background: var(--section-bg);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-light);
}

body.light-theme .feature-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover:before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--secondary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

body.light-theme .screenshot-item {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.screenshot-item:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.4);
}

body.light-theme .screenshot-item:hover {
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.2);
}

.screenshot-image {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-image img {
    transform: scale(1.05);
}

.screenshot-item .caption {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.screenshot-item .caption h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.screenshot-item .caption p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

body.light-theme .screenshot-item .caption h4 {
    color: var(--dark);
}

body.light-theme .screenshot-item .caption p {
    color: #4a5568;
}

.history {
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
}

#history-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.history-content-wrapper {
    position: relative;
    z-index: 1;
}

.history-timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.history-timeline {
    position: relative;
    padding: 2rem 0;
}

.history-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--primary));
    z-index: 1;
}

.history-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 15rem;
    z-index: 2;
}

.history-item:nth-child(even) {
    flex-direction: row-reverse;
}

.history-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
    min-width: 120px;
    text-align: center;
}

.history-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem;
}

.image-placeholder {
    width: 100%;
    height: 210px;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    filter: brightness(0.7);
}

.image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.image-placeholder span {
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: bold;
}

.image-placeholder:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.history-content {
    flex: 1.2;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 1rem;
}

.history-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-light);
}

.history-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.history-content p {
    color: #cbd5e1;
    line-height: 1.6;
}

body.light-theme .history {
    background: var(--light-section-bg, #f8fafc);
}

body.light-theme .history-date {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

body.light-theme .history-timeline:before {
    background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--primary));
}

body.light-theme .history-content {
    background: var(--light-card-bg, rgba(255, 255, 255, 0.8));
    border: 1px solid var(--light-card-border, rgba(0, 0, 0, 0.1));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.light-theme .history-content:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

body.light-theme .history-content h3 {
    color: var(--dark, #1e293b);
}

body.light-theme .history-content p {
    color: var(--light-text, #4a5568);
}

body.light-theme .image-placeholder {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    border: 1px solid var(--light-card-border, rgba(0, 0, 0, 0.1));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.light-theme .image-placeholder:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.download {
    text-align: center;
    background: linear-gradient(135deg, var(--darker), var(--darkest));
    position: relative;
    overflow: hidden;
}

body.light-theme .download {
    background: linear-gradient(135deg, #f0f2f5, #e2e8f0);
}

.download:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.1) 0%, transparent 70%);
}

body.light-theme .download:before {
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
}

.download-content {
    position: relative;
    z-index: 2;
}

.download p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

body.light-theme .download p {
    color: #4a5568;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.version-info {
    margin-top: 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

body.light-theme .version-info {
    color: #718096;
}

.version-info a {
    color: var(--primary-light);
    text-decoration: none;
}

.version-info a:hover {
    text-decoration: underline;
}

footer {
    background: var(--darkest);
    padding: 3rem 2rem;
    border-top: 1px solid var(--card-border);
}

body.light-theme footer {
    background: #f8fafc;
    border-top: 1px solid var(--card-border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

body.light-theme .footer-section a {
    color: #718096;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

body.light-theme .social-links a {
    background: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary-light);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: #64748b;
}

body.light-theme .copyright {
    color: #94a3b8;
    border-top: 1px solid var(--card-border);
}

@keyframes portal-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes portal-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes particle-orbit {
    0% { transform: rotate(0deg) translateX(15px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(15px) rotate(-360deg); }
}
@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .features-grid, .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .features-grid, .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav a {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }
    .theme-language-controls {
        gap: 0.5rem;
    }
    .theme-toggle {
        width: 40px;
        height: 20px;
    }
    .theme-toggle-slider {
        width: 16px;
        height: 16px;
        top: 2px;
        left: 2px;
    }
    body.light-theme .theme-toggle-slider {
        transform: translateX(20px);
    }
    .language-selector {
        padding: 0.2rem 0.5rem;
        font-size: 0.8rem;
    }
    .hero {
        padding: 8rem 1rem 3rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 150px;
    }
    section {
        padding: 4rem 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .features-grid, .screenshots-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        padding: 1.5rem;
    }
    .feature-card h3 {
        font-size: 1.3rem;
    }
    .feature-icon {
        font-size: 2.5rem;
    }
    .history-timeline:before {
        left: 30px;
    }
    .history-item {
        flex-direction: row !important;
        margin-left: 60px;
        margin-bottom: 3rem;
    }
    .history-date {
        left: 30px;
        transform: translateX(0);
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
        min-width: 80px;
    }
    .history-image {
        display: none;
    }
    .history-content {
        width: calc(100% - 60px);
    }
    .image-placeholder {
        height: 150px;
        font-size: 2rem;
    }
    .image-placeholder span {
        font-size: 0.9rem;
    }
    .screenshot-image {
        height: 250px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-section h3 {
        font-size: 1.2rem;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 1rem 2rem;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: 130px;
    }
    section {
        padding: 3rem 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .feature-card {
        padding: 1.2rem;
    }
    .feature-card h3 {
        font-size: 1.2rem;
    }
    .feature-icon {
        font-size: 2rem;
    }
    .feature-card p {
        font-size: 0.9rem;
    }
    .history-timeline:before {
        left: 20px;
    }
    .history-item {
        margin-left: 50px;
    }
    .history-date {
        left: 20px;
        min-width: 70px;
        font-size: 0.7rem;
    }
    .history-content {
        padding: 1.5rem;
        width: calc(100% - 50px);
    }
    .history-content h3 {
        font-size: 1.3rem;
    }
    .history-content p {
        font-size: 0.9rem;
    }
    .image-placeholder {
        height: 120px;
        font-size: 1.5rem;
    }
    .screenshot-image {
        height: 200px;
    }
    .screenshot-item .caption h4 {
        font-size: 1.1rem;
    }
    .screenshot-item .caption p {
        font-size: 0.8rem;
    }
    .download p {
        font-size: 1rem;
    }
    .version-info {
        font-size: 0.8rem;
    }
}

.scroll-indicator {
    position: relative;
    bottom: -10rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-light);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.scroll-indicator i {
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pulse {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 1024px) {
    .hero-main-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-text-content p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .cta-buttons {
        justify-content: center;
    }
    .hero-image-content {
        width: 100%;
    }
    .hero-screenshot-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-text-content h1 {
        font-size: 2.2rem;
    }
    .hero-text-content p {
        font-size: 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}