/* ============================================
   DS4Windows.io - Professional Stylesheet
   Modern, responsive, and performance-optimized
   ============================================ */

/* ================== CSS Variables ================== */
:root {
    /* Primary Colors */
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3385d6;
    --primary-gradient: linear-gradient(135deg, #0066cc, #004499);
    
    /* Secondary Colors */
    --secondary-color: #6c757d;
    --secondary-dark: #545b62;
    --secondary-light: #868e96;
    
    /* Accent Colors */
    --accent-blue: #00aaff;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1e293b;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 8px 24px rgba(0, 102, 204, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* ================== Reset & Base Styles ================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 50%, #f1f5f9 100%);
    overflow-x: hidden;
}

/* ================== Typography ================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

/* ================== Container ================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* ================== Buttons ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

/* .btn-primary:hover removed */

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
}

/* .btn-secondary:hover removed */

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

/* .btn-outline:hover removed */

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

/* .btn:hover .btn-shine removed */

.btn-nav {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
}

/* ================== Navigation ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    cursor: pointer;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}


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

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
    transition: color var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
/* Language Switcher in Footer */
.footer-language {
    margin-top: 1rem;
    text-align: center;
    display: block;
    width: 100%;
}

.footer-language select {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.footer-language select:hover {
    border-color: rgba(0, 102, 204, 0.4);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.footer-language select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-switcher {
    margin-right: 1rem;
}

.language-select {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid rgba(0, 102, 204, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.language-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}

.language-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.language-select option {
    padding: 0.5rem;
    background: white;
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ================== Hero Section ================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content-centered {
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}


.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3.5rem;
    justify-content: center;
    align-items: center;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature i {
    color: var(--accent-green);
    font-size: 1.25rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00aaff, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.625rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}



/* ================== Section Styles ================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ================== About Section ================== */
.about {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content {
    max-width: 650px;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.highlight-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
}

.highlight-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.highlight-text p {
    margin: 0;
    font-size: 0.9375rem;
}

.about-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.stats-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stats-header span {
    font-weight: 700;
    font-size: 1.125rem;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

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

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.compatibility-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.compat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.compat-badge:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.compat-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

.compat-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ================== Features Section ================== */
.features {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* New Features Section Design */
.features-new {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-container {
    margin-bottom: 4rem;
}

.features-row {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.features-row.main-features {
    grid-template-columns: 2fr 1fr 1fr;
}

.features-row:not(.main-features) {
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.feature-item.large {
    padding: 3rem 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-item.large .feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-item.large .feature-icon i {
    font-size: 2.5rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-item.large h3 {
    font-size: 1.5rem;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.feature-item.large p {
    font-size: 1.125rem;
}

.features-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Legacy feature-main styles for backward compatibility */
.feature-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    align-items: center;
}

.feature-main-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
}

.visual-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

.feature-main-visual i {
    font-size: 10rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.feature-main-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-main-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-green);
    font-size: 1.125rem;
}

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

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.05), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 102, 204, 0.3);
}

.feature-card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
}

.feature-card p {
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* ================== Interface Showcase Section ================== */
.interface-showcase {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 6rem 0;
}

.interface-header {
    text-align: center;
    margin-bottom: 4rem;
}

.interface-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.interface-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.interface-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.interface-showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.interface-display {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.interface-tabs {
    display: flex;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.interface-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.interface-tab.active {
    color: var(--primary-color);
    background: white;
}

.interface-tab:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.05);
}

.interface-tab i {
    font-size: 1.1rem;
}

.interface-content {
    position: relative;
    min-height: 400px;
}

.interface-panel {
    display: none;
    padding: 2rem;
}

.interface-panel.active {
    display: block;
}

.interface-screenshot {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.interface-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.interface-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interface-screenshot:hover .interface-overlay {
    opacity: 1;
}

.interface-highlight {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: highlightPulse 2s infinite;
}

.highlight-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

.highlight-label {
    white-space: nowrap;
}

.controller-detection {
    top: 20%;
    left: 10%;
}

.battery-status {
    top: 30%;
    right: 15%;
}

.connection-status {
    bottom: 25%;
    left: 20%;
}

.auto-profiles {
    top: 15%;
    left: 15%;
}

.profile-list {
    bottom: 20%;
    right: 10%;
}

.lightbar-control {
    top: 20%;
    left: 20%;
}

.rgb-settings {
    bottom: 30%;
    right: 15%;
}

.interface-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.interface-feature {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.interface-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.interface-feature.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.benefit {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.interface-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

@keyframes highlightPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Interface Showcase Responsive */
@media (max-width: 1024px) {
    .interface-showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .interface-features {
        order: -1;
    }
}

@media (max-width: 768px) {
    .interface-showcase {
        padding: 4rem 0;
    }
    
    .interface-header {
        margin-bottom: 3rem;
    }
    
    .interface-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .interface-subtitle {
        font-size: 1.1rem;
    }
    
    .interface-tabs {
        flex-direction: column;
    }
    
    .interface-tab {
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    }
    
    .interface-tab:last-child {
        border-bottom: none;
    }
    
    .interface-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-icon {
        align-self: center;
    }
    
    .interface-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .interface-stats {
        grid-template-columns: 1fr;
    }
    
    .interface-highlight {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .highlight-label {
        display: none;
    }
}

/* ================== System Requirements Compact Section ================== */
.system-requirements-compact {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
}

.requirements-header {
    text-align: center;
    margin-bottom: 3rem;
}

.requirements-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.requirements-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.requirements-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.requirements-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.requirement-card-compact {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.card-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-status.required {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.card-status.recommended {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.card-status.minimum {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.card-status.minimal {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.main-spec {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.spec-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-item {
    background: rgba(0, 102, 204, 0.08);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.requirement-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.compatibility-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.compatibility-note i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

/* System Requirements Compact Responsive */
@media (max-width: 768px) {
    .system-requirements-compact {
        padding: 3rem 0;
    }
    
    .requirements-header {
        margin-bottom: 2rem;
    }
    
    .requirements-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .requirements-grid-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .requirement-card-compact {
        padding: 1.25rem;
    }
    
    .compatibility-note {
        flex-direction: column;
    text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }
}


/* ================== Screenshots Section ================== */
.screenshots {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.screenshot-item {
    opacity: 1;
    transition: opacity var(--transition-normal);
}

.screenshot-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 1rem;
    aspect-ratio: 16/10;
    background: var(--gray-100);
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    cursor: pointer;
}

.screenshot-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.screenshot-item:hover .screenshot-image img {
    transform: scale(1.05);
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-info {
    text-align: center;
}

.screenshot-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.screenshot-info p {
    font-size: 0.9375rem;
    margin: 0;
}

.screenshots-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.screenshot-nav-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.screenshot-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.screenshot-dots {
    display: flex;
    gap: 0.75rem;
}

/* ================== Download Section ================== */
.download {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.download-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.download-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(0, 102, 204, 0.1);
    transition: all var(--transition-normal);
    position: relative;
}

.download-card.featured {
    border-color: var(--primary-color);
}

.download-ribbon {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.download-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.download-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 2rem;
    flex-shrink: 0;
}

.download-icon.alt {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.download-title h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.version-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.download-description {
    margin-bottom: 1.5rem;
}

.download-description p {
    margin: 0;
    font-size: 1rem;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.download-feature i {
    color: var(--accent-green);
    font-size: 1.125rem;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--primary-color);
}

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.version-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.version-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.version-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.version-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.version-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.version-download {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.version-download:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.requirements-section {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: var(--radius-xl);
    margin-bottom: 3rem;
}

.requirements-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    font-size: 1.75rem;
}

.requirements-title i {
    color: var(--primary-color);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.requirement-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.requirement-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.requirement-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.requirement-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.requirement-content p {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.requirement-note {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.additional-downloads {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.additional-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.additional-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.additional-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.additional-card i {
    font-size: 3rem;
    color: var(--primary-color);
}

.additional-card h4 {
    margin-bottom: 0.5rem;
}

.additional-card p {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.additional-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: gap var(--transition-normal);
}

.additional-link:hover {
    gap: 0.75rem;
}

.additional-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1.25rem;
    background: rgba(0, 102, 204, 0.05);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    text-align: center;
}

.additional-note i {
    color: var(--primary-color);
}

/* ================== Setup Section ================== */
.setup {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.setup-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.tab-btn i {
    font-size: 1.25rem;
}

.tab-content {
    display: none;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    position: relative;
}

.step-number {
    position: relative;
    flex-shrink: 0;
}

.step-number span {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
}

.step-line {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% + 30px);
    background: linear-gradient(to bottom, var(--primary-color), var(--gray-200));
}

.step-content h3 {
    margin-bottom: 0.875rem;
    font-size: 1.5rem;
}

.step-content p {
    margin-bottom: 1.25rem;
}

.step-tip {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--accent-green);
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.step-tip i {
    color: var(--accent-green);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.step-warning {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--accent-yellow);
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.step-warning i {
    color: var(--accent-yellow);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.step-success {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--accent-green);
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.step-success i {
    color: var(--accent-green);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.step-code {
    padding: 1rem;
    background: var(--gray-900);
    color: var(--white);
    border-radius: var(--radius-md);
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    margin-top: 1rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 500;
}

.list-item i {
    color: var(--accent-green);
}

.step-visual {
    margin-top: 1.5rem;
}

.button-combo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.button-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 600;
}

.button-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.plus, .equals {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.result {
    padding: 1rem 1.5rem;
    background: var(--accent-green);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius-md);
}

.setup-benefits {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.setup-benefits h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-align: center;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.advanced-sections {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.advanced-section {
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.advanced-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.advanced-section h3 i {
    color: var(--primary-color);
}

.advanced-section p {
    margin-bottom: 1rem;
}

.advanced-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.advanced-list li {
    padding-left: 1.5rem;
    position: relative;
}

.advanced-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.troubleshoot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.trouble-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-yellow);
}

.trouble-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-yellow);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
}

.trouble-content h4 {
    margin-bottom: 0.75rem;
}

.trouble-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.trouble-content li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
}

.trouble-content li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.troubleshoot-footer {
    margin-top: 3rem;
    text-align: center;
}

.troubleshoot-footer p {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.troubleshoot-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================== FAQ Section ================== */
.faq {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.faq-category {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.375rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-category-title i {
    color: var(--primary-color);
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
}

.faq-question i {
    font-size: 1.125rem;
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.faq-cta p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* ================== Tips & Tricks Section ================== */
.tips-tricks {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 6rem 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.tip-category {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all var(--transition-normal);
}

.tip-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tip-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tip-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.tip-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tip-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.quick-tips {
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: white;
    text-align: center;
}

.quick-tips-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-tips-header i {
    font-size: 2rem;
    color: #ffd700;
}

.quick-tips-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.quick-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quick-tip {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.quick-tip:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.tip-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tip-text {
    font-weight: 500;
    line-height: 1.5;
}

.tip-category {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.tip-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 102, 204, 0.1);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tip-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.02) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.tip-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.tip-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tip-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.tip-benefit {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.quick-tips {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.quick-tips-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 102, 204, 0.1);
}

.quick-tips-header i {
    color: #f59e0b;
    font-size: 1.5rem;
}

.quick-tips-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.quick-tip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.quick-tip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.tip-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tip-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

/* Tips & Tricks Responsive */
@media (max-width: 768px) {
    .tips-tricks {
        padding: 4rem 0;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tip-category {
        padding: 2rem;
    }
    
    .tip-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .quick-tips {
        padding: 2rem;
    }
    
    .quick-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-tip {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* ================== Blog Section ================== */
.blog {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.blog-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card.featured .blog-image {
    height: 100%;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-date i,
.blog-read-time i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card.featured .blog-title {
    font-size: 1.5rem;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: #0066cc;
    transform: translateX(3px);
}

.blog-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(3px);
}

.blog-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-card.featured {
        grid-column: span 1;
        display: block;
    }
    
    .blog-card.featured .blog-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog {
        padding: 4rem 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ================== Article Pages ================== */
.article-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0 2rem;
    margin-top: 80px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.article-breadcrumb a:hover {
    color: #0066cc;
}

.article-breadcrumb span {
    color: var(--text-secondary);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-category {
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date,
.article-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.article-date i,
.article-read-time i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
}

.article-content {
    padding: 4rem 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.article-body p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.highlight-box ul {
    margin-bottom: 0;
}

.highlight-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.highlight-box a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.article-tags .tag {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-articles {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
}

.related-articles h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
}

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

.related-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 1.5rem 0.5rem;
    line-height: 1.4;
}

.related-card p {
    color: var(--text-secondary);
    margin: 0 1.5rem 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.related-card a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin: 0 1.5rem 1.5rem;
    transition: color 0.3s ease;
}

.related-card a:hover {
    color: #0066cc;
}

/* Article Responsive */
@media (max-width: 768px) {
    .article-header {
        padding: 3rem 0 1.5rem;
        margin-top: 70px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-content {
        padding: 3rem 0;
    }
    
    .article-body {
        padding: 0 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.2rem;
    }
    
    .article-body p,
    .article-body li {
        font-size: 1rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
    
    .related-articles {
        padding: 3rem 0;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ================== Blog Page ================== */
.blog-page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0 2rem;
    margin-top: 80px;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.blog-breadcrumb a:hover {
    color: #0066cc;
}

.blog-breadcrumb span {
    color: var(--text-secondary);
}

.blog-page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
}

.blog-page-content {
    padding: 4rem 0;
}

.blog-filters {
    margin-bottom: 3rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 2px solid rgba(0, 102, 204, 0.1);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-article-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.blog-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.blog-article-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-article-card .article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-article-card.featured .article-image {
    height: 100%;
}

.blog-article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-article-card:hover .article-image img {
    transform: scale(1.05);
}

.blog-article-card .article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-article-card .article-content {
    padding: 2rem;
}

.blog-article-card .article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-article-card .article-date,
.blog-article-card .article-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-article-card .article-date i,
.blog-article-card .article-read-time i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.blog-article-card .article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-article-card.featured .article-title {
    font-size: 1.5rem;
}

.blog-article-card .article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-article-card .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-article-card .tag {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-article-card .article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-article-card .article-link:hover {
    color: #0066cc;
    transform: translateX(3px);
}

.blog-article-card .article-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.blog-article-card .article-link:hover i {
    transform: translateX(3px);
}

.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    padding: 4rem 0;
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Blog Page Responsive */
@media (max-width: 1024px) {
    .blog-article-card.featured {
        grid-column: span 1;
        display: block;
    }
    
    .blog-article-card.featured .article-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-page-header {
        padding: 3rem 0 1.5rem;
        margin-top: 70px;
    }
    
    .blog-page-content {
        padding: 3rem 0;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .blog-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-article-card .article-content {
        padding: 1.5rem;
    }
    
    .blog-article-card .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* ================== RTL Support ================== */
[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content-centered {
        text-align: center;
}

[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .feature-grid {
    direction: ltr;
}

[dir="rtl"] .blog-grid {
    direction: ltr;
}

[dir="rtl"] .language-select {
    text-align: right;
}

[dir="rtl"] .language-select option {
    text-align: right;
}

[dir="rtl"] .blog-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .blog-link i {
    transform: rotate(180deg);
}

[dir="rtl"] .blog-link:hover i {
    transform: rotate(180deg) translateX(-3px);
}

[dir="rtl"] .tip-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .quick-tip {
    flex-direction: row-reverse;
}

[dir="rtl"] .category-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .community-card {
    text-align: center;
}

[dir="rtl"] .cta-content {
    text-align: center;
}

/* RTL Navigation */
[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-logo span {
    margin-right: 0.5rem;
    margin-left: 0;
}

[dir="rtl"] .nav-menu {
    text-align: right;
}

[dir="rtl"] .nav-toggle {
    order: -1;
}

/* RTL Mobile Navigation */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
        text-align: right;
        align-items: flex-end;
        transition: right var(--transition-normal);
    }
    
    [dir="rtl"] .nav-menu.active {
        left: auto;
        right: 0;
    }
    
    [dir="rtl"] .nav-link {
        text-align: right;
        padding-right: 1rem;
        padding-left: 1rem;
    }
    
    [dir="rtl"] .nav-actions {
        justify-content: flex-end;
    }
    
    [dir="rtl"] .nav-toggle {
        margin-left: 0;
        margin-right: auto;
    }
}

/* RTL Buttons */
[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Hero Section */
[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-features {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-feature {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-feature i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Stats */
[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .stat-item {
    text-align: center;
}

/* RTL Sections */
[dir="rtl"] .section-tag {
    flex-direction: row-reverse;
}

[dir="rtl"] .section-tag i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL Feature Cards */
[dir="rtl"] .feature-card {
    text-align: center;
}

[dir="rtl"] .feature-icon {
    margin: 0 auto;
}

/* RTL Screenshots */
[dir="rtl"] .screenshots-grid {
    direction: ltr;
}

/* RTL Setup Steps */
[dir="rtl"] .setup-steps {
    direction: ltr;
}

[dir="rtl"] .setup-step {
    flex-direction: row-reverse;
}

[dir="rtl"] .step-content {
    text-align: right;
}

/* RTL FAQ */
[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-question i {
    margin-right: 0;
    margin-left: 1rem;
}

/* RTL Download */
[dir="rtl"] .download-info {
    flex-direction: row-reverse;
}

[dir="rtl"] .download-requirements {
    text-align: right;
}

[dir="rtl"] .download-requirements ul {
    text-align: right;
}

/* RTL Footer */
[dir="rtl"] .footer-content {
    direction: ltr;
}

[dir="rtl"] .footer-brand {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-brand span {
    margin-right: 0.5rem;
    margin-left: 0;
}

/* ================== Community Section ================== */
.community {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 6rem 0;
}

.community-grid {
    display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.community-card {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
    text-align: center;
}

.community-card.github {
    border-top-color: #24292e;
}

.community-card.discord {
    border-top-color: #5865f2;
}

.community-card.reddit {
    border-top-color: #ff4500;
}

.community-card.wiki {
    border-top-color: var(--accent-purple);
}

.community-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.community-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.github .community-icon {
    color: #24292e;
}

.discord .community-icon {
    color: #5865f2;
}

.reddit .community-icon {
    color: #ff4500;
}

.wiki .community-icon {
    color: var(--accent-purple);
}

.community-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.community-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.community-stats {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
    border-top: 2px solid var(--gray-100);
    border-bottom: 2px solid var(--gray-100);
}

.community-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.community-stat i {
    color: var(--primary-color);
}

.community-highlights {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.community-highlights h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.75rem;
}

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

.highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.highlight-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.highlight-card i {
    font-size: 3rem;
    color: var(--primary-color);
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.highlight-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
}

/* ================== CTA Section ================== */
.cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: ctaBackground 20s ease-in-out infinite;
}

@keyframes ctaBackground {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-icon {
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.cta-logo-image {
    width: 120px;
    height: 120px;
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cta-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
    min-width: 200px;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    color: var(--white);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* Responsive Design for CTA */
@media (max-width: 768px) {
    .cta {
        padding: 6rem 0;
    }
    
    .cta-content h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .cta-content p {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-logo-image {
        width: 100px;
        height: 100px;
    }
    
    .cta-icon::after {
        width: 120px;
        height: 120px;
    }
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 600;
}

.cta-feature i {
    font-size: 1.25rem;
}

/* ================== Footer ================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-300);
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.footer-copyright a {
    color: var(--primary-color);
}

.footer-disclaimer {
    font-size: 0.875rem !important;
    color: var(--gray-400) !important;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
}

.footer-links-bottom a {
    color: var(--gray-300);
}

.footer-links-bottom a:hover {
    color: var(--primary-color);
}

.footer-links-bottom span {
    color: var(--gray-500);
}

/* ================== Back to Top ================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-primary);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
}

/* ================== Fixed Download Button ================== */
.fixed-download-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--primary-gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
    z-index: 998;
    transition: all var(--transition-normal);
    white-space: nowrap;
    animation: pulseDownload 2s ease-in-out infinite;
}

.fixed-download-btn i {
    font-size: 1.25rem;
}

.fixed-download-btn:hover {
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.5);
    background: linear-gradient(135deg, #0052a3, #003366);
}

.fixed-download-btn:active {
    transform: translateY(-50%) translateX(-3px) scale(0.98);
}

@keyframes pulseDownload {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 102, 204, 0.4);
    }
}

/* RTL Support for Fixed Download Button */
[dir="rtl"] .fixed-download-btn {
    right: auto;
    left: 30px;
}

[dir="rtl"] .fixed-download-btn:hover {
    transform: translateY(-50%) translateX(5px);
}

[dir="rtl"] .fixed-download-btn:active {
    transform: translateY(-50%) translateX(3px) scale(0.98);
}

/* Adjust position when back-to-top is visible */
@media (min-width: 769px) {
    .back-to-top.visible ~ .fixed-download-btn {
        bottom: auto;
        top: 50%;
    }
}

/* ================== Animations ================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}


@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ================== Responsive Design ================== */
@media (max-width: 1200px) {
    .hero-container {
        max-width: 900px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .feature-main {
        grid-template-columns: 1fr;
    }
    
    /* Mobile styles for new features section */
    .features-new {
        padding: 3rem 0;
    }
    
    .features-header {
        margin-bottom: 2rem;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
    }
    
    .features-row.main-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-row:not(.main-features) {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item.large {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-item.large .feature-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-item.large .feature-icon i {
        font-size: 2rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
    }
    
    .feature-item.large h3 {
        font-size: 1.25rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .feature-item.large p {
        font-size: 1rem;
    }
    
    .features-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 1.5rem;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* RTL Navigation on Mobile */
    [dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
        transition: right var(--transition-normal);
        text-align: right;
        align-items: flex-end;
    }
    
    [dir="rtl"] .nav-menu.active {
        left: auto;
        right: 0;
    }
    
    [dir="rtl"] .nav-link {
        text-align: right;
    }
    
    [dir="rtl"] .nav-container {
        flex-direction: row;
    }
    
    [dir="rtl"] .nav-toggle {
        order: 1;
    }
    
    [dir="rtl"] .nav-logo {
        order: 3;
        margin-left: auto;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        max-width: 100%;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-carousel {
        grid-template-columns: 1fr;
    }
    
    .tab-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .setup-steps {
        gap: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-line {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-feature {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .about-highlights {
        gap: 1rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .compatibility-badges {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .fixed-download-btn {
        right: 15px;
        top: auto;
        bottom: 90px;
        transform: none;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        width: 56px;
        height: 56px;
        border-radius: var(--radius-full);
        padding: 0;
    }
    
    .fixed-download-btn span {
        display: none;
    }
    
    .fixed-download-btn i {
        font-size: 1.5rem;
    }
    
    .fixed-download-btn:hover {
        transform: translateY(-3px);
    }
    
    [dir="rtl"] .fixed-download-btn {
        left: 15px;
        right: auto;
    }
    
    [dir="rtl"] .fixed-download-btn:hover {
        transform: translateY(-3px);
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.8125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .download-card,
    .tab-content {
        padding: 2rem 1.5rem;
    }
    
    .troubleshoot-grid {
        grid-template-columns: 1fr;
    }
}

/* ================== Print Styles ================== */
@media print {
    .navbar,
    .nav-toggle,
    .back-to-top,
    .btn,
    .social-links {
        display: none !important;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ================== Accessibility ================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ================== Utility Classes ================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { display: block !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
