/* ===================================
   CSS Variables (Design System)
   =================================== */
:root {
    /* Основные цвета */
    --primary-color: #667eea;
    --primary-hover: #5568d3;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #4ade80;
    --warning-color: #fbbf24;
    
    /* Minecraft цвета */
    --mc-grass: #7CBD56;
    --mc-dirt: #8B4513;
    --mc-stone: #7D7D7D;
    --mc-wood: #A0826D;
    --mc-diamond: #5DADE2;
    
    /* Текст и фоны */
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #4ade80 0%, #10b981 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-orange: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Тени */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-secondary);
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px);
    background-size: 4px 4px;
}

/* ===================================
   Typography
   =================================== */
img {
    image-rendering: auto;
}

svg {
    shape-rendering: crispEdges;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ===================================
   Container
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Header
   =================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.2s ease;
    border-bottom: 3px solid var(--border-color);
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo img {
    height: 40px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.2),
        inset 2px 2px 0 rgba(255,255,255,0.2);
    position: relative;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(0);
    filter: brightness(1.1);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.3),
        inset 1px 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 
        inset 2px 2px 4px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.1),
        inset 1px 1px 0 rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.2),
        inset 1px 1px 0 rgba(255,255,255,0.2);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-copy {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 2px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.2),
        inset 1px 1px 0 rgba(255,255,255,0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-copy:hover {
    background: white;
    color: var(--success-color);
    transform: translateY(-1px);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.1),
        inset 1px 1px 0 rgba(255,255,255,0.3),
        2px 2px 4px rgba(0,0,0,0.2);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(0,0,0,0.05) 4px, rgba(0,0,0,0.05) 8px),
        repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(0,0,0,0.05) 4px, rgba(0,0,0,0.05) 8px);
    background-size: 8px 8px;
    pointer-events: none;
    opacity: 0.3;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.2),
        inset 1px 1px 0 rgba(255,255,255,0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===================================
   Stats Section
   =================================== */
.stats {
    padding: 4rem 0;
    background: var(--bg-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    transition: transform 0.2s ease;
    border: 3px solid var(--border-color);
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.1),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        4px 4px 0 rgba(0,0,0,0.1);
    position: relative;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.1),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        6px 6px 0 rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===================================
   Download Section
   =================================== */
.download {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    background: var(--bg-color);
    padding: 3rem 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.1),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        4px 4px 0 rgba(0,0,0,0.1);
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.1),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        4px 6px 0 var(--primary-color);
    border-color: var(--primary-color);
}

.download-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.download-size {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Featured Mod Block */
.featured-mod-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    border-radius: 4px;
    color: white;
    border: 4px solid #5a67d8;
    box-shadow: 
        inset -3px -6px 0 rgba(0,0,0,0.3),
        inset 3px 3px 0 rgba(255,255,255,0.2),
        8px 8px 0 rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
}

.featured-mod-badge {
    background: #fbbf24;
    color: #1a202c;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.5rem 1.5rem;
    letter-spacing: 1px;
    display: inline-block;
    border-bottom: 3px solid #f59e0b;
    box-shadow: inset -2px -2px 0 rgba(0,0,0,0.2);
}

.featured-mod-content {
    padding: 2rem;
}

.featured-mod-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.featured-mod-icon {
    font-size: 3.5rem;
    background: rgba(255,255,255,0.2);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.2),
        inset 2px 2px 0 rgba(255,255,255,0.2);
}

.featured-mod-info h3 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: #fbbf24;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.featured-mod-info p {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
}

.featured-mod-description {
    background: rgba(0,0,0,0.2);
    padding: 1.25rem;
    border-radius: 3px;
    border: 2px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.3);
}

.featured-mod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.featured-mod-version {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 600;
}

.btn-featured {
    background: #fbbf24;
    color: #1a202c;
    padding: 0.875rem 1.75rem;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 700;
    border: 3px solid #f59e0b;
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.2),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        4px 4px 0 rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-featured:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.2),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        6px 6px 0 rgba(0,0,0,0.3);
}

.btn-featured:active {
    transform: translateY(0);
    box-shadow: 
        inset 2px 2px 4px rgba(0,0,0,0.3);
}

/* Legacy password block styles - keeping for backwards compatibility */
.password-block {
    background: var(--gradient-success);
    padding: 2rem;
    border-radius: 4px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 3px solid #22c55e;
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.2),
        inset 2px 2px 0 rgba(255,255,255,0.2),
        6px 6px 0 rgba(0,0,0,0.2);
}

.password-icon {
    font-size: 3rem;
}

.password-content {
    flex: 1;
}

.password-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.password-value {
    font-size: 1.5rem;
    font-weight: 700;
    user-select: all;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2px;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.2);
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 6rem 0;
    background: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.05),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.05),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        3px 4px 0 var(--primary-color);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-icon img {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1) rotate(5deg);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===================================
   Why Us Section
   =================================== */
.why-us {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.why-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        3px 4px 0 var(--primary-color);
}

.why-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===================================
   For Whom Section
   =================================== */
.for-whom {
    padding: 6rem 0;
    background: var(--bg-color);
}

.whom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.whom-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.whom-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        3px 4px 0 var(--primary-color);
    border-color: var(--primary-color);
}

.whom-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.whom-icon img {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: transform 0.3s ease;
}

.whom-card:hover .whom-icon img {
    transform: scale(1.1) rotate(-5deg);
}

.whom-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.05),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        3px 3px 0 rgba(0,0,0,0.1);
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.05),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        4px 6px 0 rgba(0,0,0,0.15);
}

.pricing-featured {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-primary) border-box;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.2),
        inset 1px 1px 0 rgba(255,255,255,0.2),
        2px 2px 4px rgba(0,0,0,0.2);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.price {
    margin-top: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-notice {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 2px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--primary-color);
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: inset 1px 1px 2px rgba(102, 126, 234, 0.1);
}

/* ===================================
   Screenshots Section
   =================================== */
.screenshots {
    padding: 6rem 0;
    background: var(--bg-color);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease;
    border: 3px solid var(--border-color);
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.1),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        4px 4px 0 rgba(0,0,0,0.2);
}

.screenshot-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.1),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        6px 6px 0 rgba(102, 126, 234, 0.4);
    border-color: var(--primary-color);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

/* ===================================
   How-To Section
   =================================== */
.how-to {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab {
    padding: 1rem 2rem;
    background: var(--bg-color);
    border: 3px solid var(--border-color);
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.1),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.3),
        inset 1px 1px 0 rgba(255,255,255,0.2),
        0 0 0 rgba(0,0,0,0);
    transform: translateY(2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 2rem;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.step:hover {
    transform: translateX(4px);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        3px 3px 0 var(--primary-color);
    border-color: var(--primary-color);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 2px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.3),
        inset 2px 2px 0 rgba(255,255,255,0.2),
        3px 3px 0 rgba(0,0,0,0.2);
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===================================
   Tips Section
   =================================== */
.tips {
    padding: 6rem 0;
    background: var(--bg-color);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.tip-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        3px 4px 0 var(--success-color);
    border-color: var(--success-color);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -2px;
}

.tip-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===================================
   Comparison Section
   =================================== */
.comparison {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.comparison-table {
    overflow-x: auto;
}

table {
    width: 100%;
    background: var(--bg-color);
    border-collapse: collapse;
    border-radius: 4px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.05),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        4px 4px 0 rgba(0,0,0,0.1);
}

thead {
    background: var(--gradient-primary);
    color: white;
}

th, td {
    padding: 1.25rem;
    text-align: left;
}

th {
    font-weight: 600;
    font-size: 1.125rem;
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
}

tbody tr:nth-child(even) {
    background: var(--bg-secondary);
}

tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

td:nth-child(2), td:nth-child(3) {
    text-align: center;
    font-weight: 600;
}

/* ===================================
   Alternatives Section
   =================================== */
.alternatives {
    padding: 6rem 0;
    background: var(--bg-color);
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.alt-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.alt-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        3px 4px 0 var(--primary-color);
    border-color: var(--primary-color);
}

.alt-icon {
    margin-bottom: 1rem;
}

.alt-icon img {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.alt-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.alt-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.alt-link:hover {
    color: var(--primary-hover);
}

.alt-card-wide {
    display: flex;
    gap: 2rem;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    align-items: center;
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.05),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        3px 3px 0 rgba(0,0,0,0.1);
}

.alt-card-wide:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -2px -4px 0 rgba(0,0,0,0.05),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        4px 6px 0 var(--primary-color);
    border-color: var(--primary-color);
}

.alt-card-wide-icon img {
    width: 120px;
    height: 120px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.alt-card-wide-content {
    flex: 1;
}

.alt-card-wide-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ===================================
   Pros & Cons Section
   =================================== */
.pros-cons {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.pros, .cons {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.pros h3 {
    color: var(--success-color);
}

.cons h3 {
    color: var(--warning-color);
}

.pros ul, .cons ul {
    list-style: none;
    margin-top: 1.5rem;
}

.pros li, .cons li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pros li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 1.5rem;
    line-height: 1;
}

.cons li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--warning-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* ===================================
   Reviews Section
   =================================== */
.reviews {
    padding: 6rem 0;
    background: var(--bg-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    border: 3px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.1);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset -1px -2px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.5),
        3px 4px 0 rgba(102, 126, 234, 0.3);
}

.review-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 2px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    border: 2px solid var(--primary-color);
    box-shadow: 
        inset -1px -1px 0 rgba(0,0,0,0.2),
        inset 1px 1px 0 rgba(255,255,255,0.2);
}
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-rating {
    color: #fbbf24;
}

.review-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-color);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 3px solid var(--border-color);
    box-shadow: 
        inset -1px -1px 0 rgba(0,0,0,0.05),
        inset 1px 1px 0 rgba(255,255,255,0.3),
        2px 2px 0 rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 6rem 0;
    background: var(--bg-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 3px solid var(--border-color);
    border-radius: 2px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        inset 2px 2px 4px rgba(0,0,0,0.1),
        0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        inset -1px -1px 0 rgba(0,0,0,0.2),
        inset 1px 1px 0 rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 
        inset -1px -1px 0 rgba(0,0,0,0.3),
        inset 1px 1px 0 rgba(255,255,255,0.2),
        2px 2px 4px rgba(0,0,0,0.3);
}

/* ===================================
   Lightbox
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    border-radius: 4px;
    border: 4px solid white;
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.2),
        inset 2px 2px 0 rgba(255,255,255,0.2),
        8px 8px 0 rgba(0,0,0,0.5);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* ===================================
   Toast Notification
   =================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 2px;
    border: 3px solid var(--success-color);
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.2),
        inset 2px 2px 0 rgba(255,255,255,0.2),
        6px 6px 0 rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
    z-index: 10000;
    font-weight: 600;
}

/* ===================================
   Back to Top (Fabric-стиль)
   =================================== */
.btn-back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    z-index: 999;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-back-to-top:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}
.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.btn-back-to-top-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablets (≤ 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid,
    .whom-grid,
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .password-block {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-mod-block .featured-mod-header {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-mod-block .featured-mod-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-featured {
        width: 100%;
    }
    
    .alt-card-wide {
        flex-direction: column;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile (≤ 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .features-grid,
    .why-grid,
    .whom-grid,
    .tips-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .alternatives-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}
