* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #3498db;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #3498db;
}

/* Hero Section */
.hero {
    background-color: #3498db;
    color: #fff;
    padding: 4rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Feature Item Image */
.feature-image {
    margin-bottom: 1rem;
    text-align: center;
}

.feature-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.testimonials h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    margin-bottom: 1.5rem;
}

.testimonial-text p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.author-role {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Latest News Preview */
.news-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.latest-news .news-item {
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.latest-news .news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    margin: 0;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.news-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    flex: 1;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary, .btn-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2ecc71;
    color: #fff;
}

.btn-primary:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #3498db;
    transform: translateY(-2px);
}

.btn-link {
    color: #3498db;
    padding: 0;
    text-decoration: underline;
}

.btn-link:hover {
    color: #2980b9;
    text-decoration: none;
}

/* Features Section */
.features {
    padding: 3rem 0;
    background-color: #fff;
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Section Styles */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #34495e;
}

/* Download Page */
.download-section {
    background-color: #fff;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.download-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.download-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.download-icon img {
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 10px;
}

.download-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.download-item p {
    margin-bottom: 1.5rem;
    color: #7f8c8d;
    line-height: 1.6;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #95a5a6;
}

.download-info span {
    display: block;
}

/* Screenshots Section */
.screenshots {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.screenshots h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.screenshot-item {
    text-align: center;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.screenshot-item img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.screenshot-item p {
    color: #555;
    font-weight: 500;
    margin: 0;
}

/* Tutorial Page */
.tutorial-section {
    background-color: #fff;
    padding: 3rem 0;
}

.tutorial-section:nth-child(odd) {
    background-color: #f9f9f9;
}

.tutorial-category {
    margin-bottom: 3rem;
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tutorial-category h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.tutorial-content {
    max-width: 1000px;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.step-number {
    background-color: #3498db;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.step-content {
    flex: 1;
    min-width: 300px;
}

.step-content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.step-content p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.step-image {
    margin-top: 1rem;
    text-align: center;
}

.step-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    border: 2px solid #e0e0e0;
}

/* FAQ Preview */
.faq-preview {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-preview .faq-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-preview .faq-question {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-preview .faq-answer {
    color: #555;
    line-height: 1.7;
}

.faq-preview .faq-answer ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.faq-preview .faq-answer li {
    margin-bottom: 0.5rem;
}

.tutorial-more {
    text-align: center;
    margin-top: 2rem;
}

/* News Page */
.news-section {
    background-color: #fff;
    padding: 3rem 0;
}

.news-list {
    max-width: 1000px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-header {
    padding: 2rem;
    padding-bottom: 0;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
    background-color: #ecf0f1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.news-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #2c3e50;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item:hover h3 {
    color: #3498db;
}

.news-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.02);
}

.news-content {
    padding: 2rem;
    padding-top: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.news-content h4 {
    margin: 1.5rem 0 1rem;
    color: #2c3e50;
    font-size: 1.2rem;
}

.news-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.news-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

.news-content strong {
    color: #2c3e50;
}

.news-footer {
    padding: 0 2rem 2rem;
    text-align: right;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a {
    background-color: #f9f9f9;
    color: #3498db;
    border: 1px solid #e0e0e0;
}

.pagination a:hover {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.pagination .current-page {
    background-color: #3498db;
    color: #fff;
    border: 1px solid #3498db;
}

.pagination .prev-page:hover, .pagination .next-page:hover {
    transform: translateY(-2px);
}

/* FAQ Page */
.faq-section {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-category {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.category-icon {
    flex-shrink: 0;
    background-color: #ecf0f1;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-icon img {
    border-radius: 50%;
}

.category-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: #2c3e50;
}

.faq-list {
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.faq-question {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.faq-answer {
    color: #555;
    line-height: 1.8;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.faq-answer li strong {
    color: #2c3e50;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links ul {
    display: flex;
    list-style: none;
    margin-bottom: 1rem;
}

.footer-links ul li {
    margin: 0 1rem;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #3498db;
}

.copyright {
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .container {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 80%;
        text-align: center;
    }

    .footer-links ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul li {
        margin: 0.5rem 0;
    }
}