/* Base Styles */
:root {
    --primary-color: #ff4d4f;
    --secondary-color: #1c1c1c;
    --accent-color: #ff8a8b;
    --text-color: #f5f5f5;
    --light-text: #fff;
    --dark-text: #1c1c1c;
    --bg-color: #0a0a0a;
    --light-bg: #1c1c1c;
    --dark-bg: #0a0a0a;
    --border-color: #333;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --glow-color: rgba(255, 77, 79, 0.5);
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    padding-top: var(--header-height); /* Use the header height variable */
    position: relative;
}

body::before, body::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(255, 77, 79, 0.1),
        rgba(255, 77, 79, 0.6) 50%,
        rgba(255, 77, 79, 0.1)
    );
    box-shadow: 0 0 15px rgba(255, 77, 79, 0.5);
    z-index: 10; /* Lower z-index to ensure it doesn't overlap with header */
    display: none;
    animation: borderPulse 4s infinite ease-in-out;
}

body::before {
    left: calc((100% - 1200px) / 2);
}

body::after {
    right: calc((100% - 1200px) / 2);
}

@media (min-width: 1200px) {
    body::before, body::after {
        display: block;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Section Spacing */
.welcome, .about, .features, .community, .faq, .download {
    padding: 40px 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--light-text);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 0; /* Remove padding-top from hero since body already has padding */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 77, 79, 0.1) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-logo {
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--light-text);
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.subtitle-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 5px;
}

.typing-wrapper {
    position: relative;
    display: inline-block;
}

/* Animated Subtitle */
.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    max-width: 100%;
    text-align: center;
    padding: 0 20px;
}

@keyframes colorPulse {
    0%, 100% { color: rgba(255, 255, 255, 0.9); }
    50% { color: var(--primary-color); }
}

.version {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 30px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 77, 79, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.hero-buttons .btn {
    padding: 12px 40px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-buttons .btn iconify-icon {
    font-size: 1.3rem;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    z-index: 100;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: #1c1c1c; /* Fully opaque background instead of rgba */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

.logo-text {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-buttons {
    display: flex;
    margin-left: 30px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    border: none;
    box-shadow: 0 4px 10px rgba(255, 77, 79, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 77, 79, 0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: buttonShine 3s infinite linear;
    z-index: -1;
}

@keyframes buttonShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--dark-text);
    transform: translateY(-2px);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: var(--light-text);
    z-index: 1000;
    transition: all 0.3s ease;
}

.mobile-menu-toggle iconify-icon {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover iconify-icon {
    color: var(--accent-color);
}

.mobile-menu-toggle.active iconify-icon {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #121212; /* Fully opaque background instead of rgba */
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4);
        overflow-y: auto;
        padding: 60px 0 30px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s forwards;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: background-color 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1000;
    }

    .nav-buttons {
        margin-top: 20px;
        flex-direction: column;
        padding: 0 20px;
        width: 100%;
    }

    .nav-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 25px;
        margin: 20px 0;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-buttons .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .download-btn {
        padding: 10px 15px;
    }
    
    .download-btn .btn-small-text {
        font-size: 0.7rem;
    }
    
    .download-btn .btn-large-text {
        font-size: 0.9rem;
    }
    
    .download-btn iconify-icon {
        font-size: 1.2rem;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 15px;
        margin: 15px 0;
    }

    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-buttons .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .download-btn {
        padding: 8px 12px;
        min-width: 120px;
    }
    
    .download-btn .btn-small-text {
        font-size: 0.65rem;
    }
    
    .download-btn .btn-large-text {
        font-size: 0.8rem;
    }
    
    .download-btn iconify-icon {
        font-size: 1rem;
        margin-right: 6px;
    }
}

/* About Section */
.about {
    padding: 40px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-text {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 77, 79, 0.3);
}

.feature-item .feature-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 77, 79, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    position: relative;
    box-shadow: 0 5px 15px rgba(255, 77, 79, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: rgba(255, 77, 79, 0.15);
    box-shadow: 0 8px 20px rgba(255, 77, 79, 0.2);
    transform: scale(1.05);
}

.feature-item .feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 77, 79, 0.6), transparent);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-item:hover .feature-icon::after {
    opacity: 1;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.feature-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Features Section */
.features {
    padding: 40px 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.05;
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.features-intro p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.6;
}

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

.feature-card {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 77, 79, 0.1);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 77, 79, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    box-shadow: 0 5px 15px rgba(255, 77, 79, 0.15);
    transition: all 0.3s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 77, 79, 0.6), transparent);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 77, 79, 0.15);
    box-shadow: 0 8px 20px rgba(255, 77, 79, 0.2);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 60px 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.download .container {
    position: relative;
    z-index: 1;
}

.download-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--light-text);
}

.download-intro p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.download-intro p:last-child {
    margin-bottom: 0;
}

.app-info-table-container {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.app-info-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--light-text);
}

.app-info-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.app-info-table tr:last-child {
    border-bottom: none;
}

.app-info-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.app-info-table td {
    padding: 12px 15px;
    font-size: 1rem;
}

.app-info-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 40%;
}

.app-info-table td:last-child {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .app-info-table-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .app-info-table td {
        padding: 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .app-info-table-container {
        padding: 10px;
    }
    
    .app-info-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .app-info-table td:first-child {
        width: 45%;
    }
}

.download-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 250px;
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 77, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light-text);
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--light-text);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 77, 79, 0.3);
}

.download-btn iconify-icon {
    font-size: 1.5rem;
}

.download-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.download-btn .btn-small-text {
    font-size: 0.7rem;
    opacity: 0.8;
}

.download-btn .btn-large-text {
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .download-buttons {
        gap: 15px;
    }
    
    .download-btn {
        padding: 12px 20px;
        gap: 10px;
    }
    
    .download-btn iconify-icon {
        font-size: 1.3rem;
    }
    
    .download-btn .btn-large-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .download-buttons {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 80%;
        justify-content: center;
        padding: 10px 15px;
    }
}

/* FAQ Section */
.faq {
    padding: 40px 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.faq .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.faq-list {
    margin-top: 50px;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 77, 79, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light-text);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 1000px;
}

.faq-more {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background: rgba(30, 30, 30, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-more p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-more a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

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

.faq-more a:hover {
    color: var(--primary-hover);
}

.faq-more a:hover::after {
    width: 100%;
}

/* Community Section */
.community {
    padding: 40px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.community .container {
    position: relative;
    z-index: 1;
}

.community-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.community-text {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.community-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.community-text p:last-child {
    margin-bottom: 0;
}

.community-cta {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 77, 79, 0.2);
    text-align: center;
}

.community-cta h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.community-cta h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.community-cta p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.happy-reading {
    font-size: 1.3rem !important;
    font-weight: 600;
    color: var(--light-text) !important;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .community-content {
        flex-direction: row;
    }
    
    .community-text, .community-cta {
        flex: 1;
    }
}

/* Welcome Section */
.welcome {
    padding: 40px 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.welcome::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.welcome .container {
    position: relative;
    z-index: 1;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.welcome-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.welcome-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 77, 79, 0.05), transparent);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 77, 79, 0.3));
}

.footer-logo h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--light-text);
    font-weight: 600;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--light-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 77, 79, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media screen and (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-logo {
        grid-column: span 2;
    }
}

@media screen and (max-width: 576px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        grid-column: span 1;
        align-items: center;
        text-align: center;
    }
    
    .footer-links h4::after, .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links, .footer-social {
        text-align: center;
    }
    
    .footer-links ul li a:hover {
        transform: translateX(0) scale(1.05);
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Extensions Section */
.extensions {
    padding: 60px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.extensions-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.extensions-header {
    text-align: center;
    margin-bottom: 30px;
}

.extensions-header h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.extensions-guide h4 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.extensions-buttons {
    text-align: center;
    margin: 20px 0 30px;
}

.extensions-buttons .btn {
    padding: 12px 25px;
    font-size: 1.1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.extensions-buttons .btn iconify-icon {
    font-size: 1.3rem;
}

.extensions-buttons .btn:hover {
    background: #ff6668;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 79, 0.3);
}

.extensions-note {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: center;
}

.extensions-link {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.extensions-link:hover {
    color: #ff6668;
    text-decoration: underline;
}

.extensions-steps {
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.extensions-steps ol {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.extensions-steps li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.extensions-steps li:last-child {
    margin-bottom: 0;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.extensions-alternative {
    margin-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .extensions-content {
        padding: 20px;
    }
    
    .extensions-header h3 {
        font-size: 1.4rem;
    }
    
    .extensions-guide h4 {
        font-size: 1.1rem;
    }
    
    .extensions-buttons .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .extensions-content {
        padding: 15px;
    }
    
    .extensions-header h3 {
        font-size: 1.3rem;
    }
    
    .extensions-note {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    .extensions-steps {
        padding: 15px;
    }
    
    .extensions-buttons .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        width: 90%;
    }
    
    .extensions-note br {
        display: none;
    }
}

/* Banner Section */
.banner-section {
    padding: 0;
    margin: 40px 0;
    text-align: center;
    background: transparent;
}

.banner-container {
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 1200px;
    width: 90%;
    position: relative;
}

.banner-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
}

.banner-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.banner-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-container:hover .banner-image {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .banner-section {
        margin: 30px 0;
    }
    
    .banner-container {
        width: 95%;
    }
}

/* Header & Navigation */
main {
    margin-top: 0;
}

/* Legal Pages Styling */
.legal-page, .contact-page {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 60px;
}

.about-page {
    padding: 0;
}

.legal-page .section-header,
.about-page .section-header,
.contact-page .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-content, .contact-content {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    background-color: var(--bg-color);
}

.legal-content h1, .about-content h1, .contact-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--light-text);
}

.legal-content h2, .about-content h2, .contact-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--light-text);
}

.legal-content p, .about-content p, .contact-content p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.legal-content ul, .about-content ul, .contact-content ul {
    padding-left: 30px;
}

.legal-content ul li, .about-content ul li, .contact-content ul li {
    margin-bottom: 10px;
}

.legal-content ul {
    list-style-type: disc;
}

.legal-content ol {
    list-style-type: decimal;
}

.legal-content a, .about-content a, .contact-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover, .about-content a:hover, .contact-content a:hover {
    text-decoration: underline;
}

/* About Page Styling */
.about-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.about-logo {
    width: 120px;
    height: 120px;
}

.about-text {
    flex: 1;
}

.about-mission, .about-team, .about-open-source, .about-future, .about-contact {
    margin-bottom: 40px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-content p, .about-content ul {
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-content ul {
    padding-left: 20px;
}

.about-content ul li {
    margin-bottom: 8px;
}

.about-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Contact Page Styling */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-method h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.contact-faq {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px;
}

.contact-faq h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-form-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
}

.contact-form-container h2 {
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Footer Styling Update */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Responsive Styles for Legal Pages */
@media screen and (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-logo {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .legal-content, .about-content, .contact-content {
        padding: 30px 20px;
    }
    
    .about-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .legal-page, .contact-page {
        padding: 100px 0 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        grid-column: span 1;
        margin-bottom: 20px;
    }
}
