/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Ensure all elements use border-box */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Dark Mode Variables */
:root {
    --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-secondary: white;
    --text-primary: #333;
    --text-secondary: #666;
    --text-white: white;
    --card-bg: #f8f9fa;
    --border-color: #e1e5e9;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --header-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --footer-bg: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --bg-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --bg-secondary: #0f0f23;
    --text-primary: #333;
    --text-secondary: #666;
    --text-white: #e1e5e9;
    --card-bg: #1a1a2e;
    --border-color: #2d2d44;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --header-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --footer-bg: rgba(26, 26, 46, 0.8);
}

/* Dark Mode Specific Styling */
[data-theme="dark"] .features-section h2 {
    color: #333;
}

[data-theme="dark"] .core-features .code-title {
    color: #ffffff;
}

[data-theme="dark"] .code-header {
    color: #ffffff;
}

.code-header {
    color: #ffffff;
}

/* Text Selection Styles */
::selection {
    background-color: #667eea;
    color: white;
}

::-moz-selection {
    background-color: #667eea;
    color: white;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    border: 2px solid #f8f9fa;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #4a5bc7 0%, #5a3a7a 100%);
}

::-webkit-scrollbar-corner {
    background: #f8f9fa;
    border-radius: 8px;
}

/* Firefox scrollbar styles */
* {
    scrollbar-width: auto;
    scrollbar-color: #667eea #f8f9fa;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    transition: var(--transition);
}

/* Particle Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(odd) {
    background: rgba(255, 255, 255, 0.15);
    animation-duration: 8s;
}

.particle:nth-child(3n) {
    background: rgba(255, 255, 255, 0.08);
    animation-duration: 10s;
}

.particle:nth-child(4n) {
    background: rgba(255, 255, 255, 0.12);
    animation-duration: 12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) translateX(-15px) rotate(270deg);
        opacity: 0.6;
    }
}

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

/* Header styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.sticky {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 12px 40px var(--shadow-color), 0 6px 20px rgba(102, 126, 234, 0.25);
    opacity: 0.95;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    transition: all 0.3s ease;
    padding-left: 20px;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo i {
    font-size: 32px;
    color: #ffd43b;
}

.nav {
    display: flex;
    gap: 30px;
    padding-right: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffd43b;
    border-radius: 1px;
}

/* Enhanced navigation styles */
.nav-link {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-link.active {
    cursor: pointer;
    position: relative;
}

.nav-link.active:hover {
    opacity: 0.8;
}

/* Page notification styles */
.page-notification {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Main content styles */
.main-content {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px var(--shadow-color);
    margin-bottom: 40px;
    transition: var(--transition);
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    transition: var(--transition);
}

.description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    transition: var(--transition);
}

/* Download section styles */
.download-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    transition: var(--transition);
}

.version-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.version-badge {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.version-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
}

.download-stats {
    display: flex;
    gap: 30px;
}

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

.stat-item i {
    font-size: 20px;
    color: #667eea;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

/* Rating Widget Styles */
.rating-widget {
    margin-top: 8px;
    text-align: center;
}

.rating-widget .stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 4px;
}

.rating-widget .stars i {
    font-size: 16px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 2px;
}

.rating-widget .stars i:hover,
.rating-widget .stars i.active {
    color: #ffd43b;
    transform: scale(1.1);
}

.rating-widget .stars i.filled {
    color: #ffd43b;
}

.rating-widget .rating-text {
    font-size: 10px;
    color: #666;
    font-weight: 400;
}

.rating-widget.rated .rating-text {
    color: #667eea;
    font-weight: 500;
}

/* Rating Count Display */
.rating-count {
    font-size: 10px;
    color: #666;
    font-weight: 400;
    margin-top: 2px;
    text-align: center;
}

.rating-count::before {
    content: "(";
}

.rating-count::after {
    content: " ratings)";
}

/* Download buttons */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-btn.secondary {
    background: var(--bg-secondary);
    color: #667eea;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.download-btn.primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.download-btn.secondary:hover {
    border-color: #667eea;
    background: var(--card-bg);
}

.download-btn i {
    font-size: 20px;
}

.download-btn span {
    flex: 1;
    text-align: left;
}

.download-btn small {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

/* Additional info */
.additional-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.info-item i {
    color: #667eea;
}















/* Features section */
.features-section {
    text-align: center;
}

.features-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
}

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

.feature-card {
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer styles */
.footer {
    background: var(--footer-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    color: var(--text-white);
    transition: var(--transition);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Enhanced Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 50px 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .comparison-table .table-header,
    .comparison-table .table-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    
    /* Large feature cards for tablets */
    .feature-card.large {
        padding: 35px 25px;
        margin-bottom: 25px;
    }
    
    .feature-icon {
        font-size: 44px;
        margin-bottom: 18px;
    }
    
    .feature-details {
        margin: 18px 0;
    }
    
    .feature-details li {
        padding: 7px 0;
        font-size: 14px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px 0;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-content {
        padding: 40px 20px;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .title {
        font-size: 36px;
        line-height: 1.1;
    }
    
    .description {
        font-size: 16px;
    }
    
    /* Download section improvements */
    .download-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 25px 20px;
    }
    
    .download-stats {
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .download-buttons {
        gap: 12px;
    }
    
    .download-btn {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .additional-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        overflow: hidden;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .community-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    /* Comparison table mobile layout */
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table .table-header,
    .comparison-table .table-row {
        min-width: 600px;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    
    /* Large feature cards tablet */
    .feature-card.large {
        padding: 30px 20px;
        margin-bottom: 25px;
    }
    
    .feature-icon {
        font-size: 42px;
        margin-bottom: 18px;
    }
    
    .feature-details {
        margin: 18px 0;
    }
    
    .feature-details li {
        padding: 7px 0;
        font-size: 14px;
    }
    
    /* Code examples mobile */
    .code-example {
        margin-top: 15px;
    }
    
    .code-header {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .code-content {
        padding: 15px;
    }
    
    .code-content pre {
        font-size: 12px;
        line-height: 1.4;
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .code-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    
    .code-example {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Navigation cards */
    .nav-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .nav-card {
        padding: 20px 15px;
    }
    
    /* Command cards */
    .commands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .command-card {
        padding: 20px;
    }
    
    /* Examples grid */
    .examples-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Troubleshooting grid */
    .troubleshooting-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Installation methods */
    .installation-methods {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .method-card {
        padding: 15px;
    }
    
    /* Use cases grid */
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Step guide mobile */
    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* Command items mobile */
    .command-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }
    
    .command-item code {
        font-size: 11px;
        padding: 3px 6px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .main-content {
        padding: 25px 12px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .header {
        padding: 10px 0;
        margin-bottom: 20px;
    }
    
    .logo {
        font-size: 20px;
        padding-left: 10px;
    }
    
    .logo i {
        font-size: 24px;
    }
    
    .nav {
        gap: 15px;
        padding-right: 10px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .description {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    /* Hero buttons mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Download section mobile */
    .download-section {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .version-number {
        font-size: 20px;
    }
    
    .download-stats {
        gap: 15px;
    }
    
    .stat-item {
        gap: 3px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .download-btn {
        padding: 14px 18px;
        font-size: 14px;
        gap: 12px;
    }
    
    .download-btn i {
        font-size: 18px;
    }
    
    .download-btn small {
        font-size: 11px;
    }
    
    .additional-info {
        gap: 15px;
    }
    
    .info-item {
        font-size: 13px;
        gap: 6px;
    }
    
    .info-item i {
        font-size: 14px;
    }
    
    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    /* Feature cards mobile */
    .feature-card {
        padding: 20px 12px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .feature-card.large {
        padding: 18px 12px;
        margin-bottom: 15px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .feature-card i {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Feature details mobile */
    .feature-details {
        margin: 15px 0;
    }
    
    .feature-details ul {
        padding-left: 15px;
    }
    
    .feature-details li {
        padding: 6px 0;
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Feature icon mobile */
    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    /* Stats mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 36px;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    /* Steps mobile */
    .step-card {
        padding: 25px 15px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .step-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .step-card p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .code-block {
        padding: 12px;
        margin: 10px 0;
    }
    
    .code-block code {
        font-size: 12px;
    }
    
    /* Community links mobile */
    .community-links {
        gap: 12px;
    }
    
    .community-link {
        padding: 15px 12px;
        min-width: 100px;
    }
    
    .community-link i {
        font-size: 20px;
    }
    
    .community-link span {
        font-size: 12px;
    }
    
    /* Footer mobile */
    .footer {
        padding: 30px 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-section a {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 13px;
    }
    
    /* Code examples mobile */
    .code-header {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .code-content {
        padding: 12px;
    }
    
    .code-content pre {
        font-size: 11px;
        line-height: 1.3;
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .code-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    
    .code-example {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Navigation cards mobile */
    .nav-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .nav-card {
        padding: 20px 15px;
    }
    
    .nav-card i {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .nav-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .nav-card p {
        font-size: 13px;
    }
    
    /* Command cards mobile */
    .command-card {
        padding: 15px;
    }
    
    .command-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .command-item {
        padding: 10px 0;
        gap: 6px;
    }
    
    .command-item code {
        font-size: 10px;
        padding: 2px 5px;
    }
    
    .command-item span {
        font-size: 12px;
    }
    
    /* Examples mobile */
    .example-card {
        padding: 15px;
    }
    
    .example-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    /* Troubleshooting mobile */
    .trouble-card {
        padding: 15px;
    }
    
    .trouble-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .trouble-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .trouble-item h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .trouble-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Installation methods mobile */
    .method-card {
        padding: 12px;
    }
    
    .method-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .method-card p {
        font-size: 13px;
    }
    
    /* Use cases mobile */
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .use-case-card {
        padding: 20px 15px;
    }
    
    .use-case-card i {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .use-case-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .use-case-card p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* FAQ mobile */
    .faq-item {
        padding: 15px;
    }
    
    .faq-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .faq-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Step guide mobile */
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .step-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .step-content p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    /* Scroll to top and dark mode buttons mobile */
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .dark-mode-toggle {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Very small screens (320px and below) */
@media (max-width: 400px) {
    .container {
        padding: 0 8px;
    }
    
    .main-content {
        padding: 20px 8px;
        border-radius: 15px;
    }
    
    .features-grid {
        gap: 12px;
    }
    
    .feature-card {
        padding: 15px 8px;
    }
    
    .feature-card.large {
        padding: 15px 8px;
        margin-bottom: 12px;
    }
    
    .feature-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .feature-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .feature-details {
        margin: 12px 0;
    }
    
    .feature-details li {
        padding: 4px 0;
        font-size: 12px;
    }
    
    .code-header {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .code-content {
        padding: 10px;
    }
    
    .code-content pre {
        font-size: 10px;
        line-height: 1.2;
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .code-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        padding: 8px;
    }
    
    .code-example {
        max-width: 100%;
        overflow: hidden;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Home Page Styles */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-button.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.features-preview {
    margin-bottom: 80px;
}

.stats-section {
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.getting-started {
    margin-bottom: 80px;
}

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

.step-card {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 16px;
    border-left: 4px solid #667eea;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.code-block {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
}

.code-block code {
    color: #e1e5e9;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
}

.community-section {
    text-align: center;
    margin-bottom: 80px;
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    min-width: 120px;
}

.community-link:hover {
    transform: translateY(-3px);
    background: #667eea;
    color: white;
}

.community-link i {
    font-size: 24px;
}

/* Features Page Styles */
.core-features {
    margin-bottom: 80px;
}

.feature-card.large {
    padding: 40px;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.feature-details {
    margin: 20px 0;
}

.feature-details ul {
    list-style: none;
    padding: 0;
}

.feature-details li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

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

.code-header {
    background: #2d2d2d;
    padding: 15px 20px;
    border-bottom: 1px solid #404040;
}

.code-title {
    color: #e1e5e9;
    font-size: 14px;
    font-weight: 500;
}

.code-content {
    padding: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.code-content pre {
    margin: 0;
    color: #e1e5e9;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.code-content code {
    color: #61dafb;
}

.code-example {
    margin-top: 20px;
    max-width: 100%;
    overflow: hidden;
}

.advanced-features {
    margin-bottom: 80px;
}

.performance-section {
    margin-bottom: 80px;
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #667eea;
    color: white;
    font-weight: 600;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid #eee;
}

.table-row:nth-child(even) {
    background: #f8f9fa;
}

.table-cell {
    padding: 15px;
    display: flex;
    align-items: center;
}

.table-cell.highlight {
    color: #667eea;
    font-weight: 600;
}

.use-cases {
    margin-bottom: 80px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.use-case-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

.use-case-card i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 20px;
}

/* Documentation Page Styles */
.quick-nav {
    margin-bottom: 60px;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-card:hover {
    transform: translateY(-3px);
    background: #667eea;
    color: white;
}

.nav-card i {
    font-size: 32px;
    margin-bottom: 15px;
}

.doc-section {
    margin-bottom: 60px;
}

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

.method-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.verification {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.step-guide {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

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

.command-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.command-list {
    margin-top: 15px;
}

.command-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.command-item:last-child {
    border-bottom: none;
}

.command-item code {
    background: #1e1e1e;
    color: #e1e5e9;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.config-example {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

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

.example-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

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

.trouble-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.trouble-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.trouble-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trouble-item h4 {
    color: #667eea;
    margin-bottom: 10px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.faq-item h3 {
    color: #667eea;
    margin-bottom: 15px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: var(--transition);
    z-index: 1001;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

.dark-mode-toggle .sun-icon {
    display: none;
}

.dark-mode-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .dark-mode-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .dark-mode-toggle .moon-icon {
    display: none;
}

/* Additional responsive utilities */

/* Hide elements on mobile */
@media (max-width: 480px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show elements only on mobile */
@media (min-width: 481px) {
    .show-mobile-only {
        display: none !important;
    }
}

/* Better text wrapping */
@media (max-width: 768px) {
    .title, .description, h1, h2, h3 {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .code-block, .code-content {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

/* Improved touch targets for mobile */
@media (max-width: 768px) {
    .nav-link, .cta-button, .download-btn, .community-link, .nav-card {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .rating-widget .stars i {
        padding: 4px;
        font-size: 18px;
    }
}

/* Better spacing for mobile */
@media (max-width: 480px) {
    .hero-section, .features-preview, .stats-section, .getting-started, .community-section {
        margin-bottom: 40px;
    }
    
    .core-features, .advanced-features, .performance-section, .use-cases {
        margin-bottom: 40px;
    }
    
    .doc-section {
        margin-bottom: 40px;
    }
    
    .quick-nav {
        margin-bottom: 40px;
    }
}


