/* ======================
   СОВРЕМЕННЫЙ СТИЛЬ ДЛЯ САЙТА "ГРАФИК ОТПУСКОВ"
   ====================== */

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --accent: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #4cc9f0;
    --border-radius: 12px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --bg-light: #fafbff;
    --card-hover: rgba(67, 97, 238, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay для мобильного меню */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.2);
}

/* Sections */
section {
    padding: 4.5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    color: var(--dark);
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(67, 97, 238, 0.2);
    background: linear-gradient(to bottom, #ffffff, #fcfdff);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

/* Centered Steps - PERFECT CENTERING */
.steps-centered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

.step-centered {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--light-gray);
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.step-centered:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(67, 97, 238, 0.3);
}

.step-centered .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.step-centered:hover .step-icon {
    transform: scale(1.15);
}

.step-centered h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.step-centered p {
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* Pricing */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.4s ease;
    width: 100%;
    max-width: 350px;
    border: 1px solid var(--light-gray);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(114, 9, 183, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.period {
    font-size: 1rem;
    color: var(--gray);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Articles */
.articles-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-preview {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.article-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-preview h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-preview h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.article-preview h3 a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.article-preview h3 a:hover::after {
    width: 100%;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.read-more:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

/* CTA */
.cta {
    background: linear-gradient(to bottom, #f8f9ff, #ffffff);
    text-align: center;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Post Styles */
.post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 800;
}

.post-date {
    color: var(--gray);
    font-size: 1rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark);
    font-weight: 700;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Download Page Styles */
.page-header {
    text-align: center;
    padding: 3rem 0 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 800;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.download-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.download-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--light-gray);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.app-icon {
    font-size: 4rem;
}

.app-info h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.version-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.version {
    background: var(--light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.download-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.system-requirements {
    margin-bottom: 2rem;
}

.system-requirements h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.req-icon {
    font-size: 1.5rem;
}

.req-content {
    display: flex;
    flex-direction: column;
}

.req-content strong {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.req-content span {
    font-size: 0.9rem;
    color: var(--gray);
}

.download-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 2rem 0;
    color: white;
    text-align: center;
}

.download-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.download-hero-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.download-hero-content p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.download-file-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-download-main {
    background: white;
    color: var(--primary);
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.btn-download-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.3);
}

.btn-icon {
    font-size: 1.5rem;
}

.download-subtext {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.download-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
}

.note-icon {
    font-size: 1rem;
}

.installation-guide {
    margin: 3rem 0;
}

.installation-guide .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
    display: block;
    width: 100%;
}

.installation-guide .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

.features-preview {
    margin: 3rem 0;
}

.features-preview .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
    display: block;
    width: 100%;
}

.features-preview .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

.system-requirements .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
    display: block;
    width: 100%;
}

.system-requirements .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.security-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.security-content h4 {
    margin-bottom: 0.5rem;
    color: #2e7d32;
    font-weight: 600;
}

.security-content p {
    color: #388e3c;
    line-height: 1.5;
}

/* Payment Page Styles */
.pricing-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.purchase-form-container {
    margin: 40px 0;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 2px solid #e9ecef;
    display: none;
}

.purchase-form-container.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.purchase-form {
    max-width: 500px;
    margin: 0 auto;
}

.purchase-form h3 {
    margin-top: 0;
    color: var(--dark);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.purchase-form p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    box-sizing: border-box;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-input:required {
    border-left: 3px solid var(--primary);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--gray);
    font-size: 0.8rem;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.form-actions .btn {
    flex: 1;
    padding: 12px;
}

.help-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 4px solid var(--primary);
}

.help-info h4 {
    margin-top: 0;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.help-info ol {
    margin: 10px 0;
    padding-left: 20px;
}

.help-info li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.help-info a {
    color: var(--primary);
    text-decoration: none;
}

.help-info a:hover {
    text-decoration: underline;
}

.payment-info {
    margin: 50px 0;
    text-align: center;
}

.payment-info h2 {
    margin-bottom: 2rem;
    color: var(--dark);
    font-weight: 800;
}

.payment-info .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.payment-info .step {
    padding: 20px;
    text-align: center;
}

.payment-info .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.payment-info .step h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.activation-guide {
    margin: 50px 0;
}

.activation-guide h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    font-weight: 800;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.info-card h3 {
    margin-top: 0;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

.payment-methods {
    text-align: center;
    margin: 50px 0;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.payment-methods h2 {
    margin-bottom: 2rem;
    color: var(--dark);
    font-weight: 800;
}

.methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.methods span {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--light-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.methods span:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Articles Page Styles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.category {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
}

.article-date {
    color: var(--gray);
}

.article-card h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
}

.article-card h2 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.article-card h2 a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.article-card h2 a:hover::after {
    width: 100%;
}

.article-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.no-articles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: var(--light);
    border-radius: var(--border-radius);
}

.no-articles h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.no-articles p {
    color: var(--gray);
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination-link,
.pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.pagination-link {
    color: var(--dark);
    background: white;
    border: 1px solid var(--light-gray);
}

.pagination-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-current {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #28a745;
    display: none;
}

.success-message.show {
    display: block;
}
/* Program Description Page Styles */
.program-overview {
    background: var(--light);
    padding: 4rem 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.overview-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.overview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.overview-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.overview-card p {
    color: var(--gray);
    line-height: 1.5;
}

/* Screenshots Section */
.screenshots-section {
    padding: 4rem 0;
}

.screenshot-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.screenshot-item.reverse {
    direction: rtl;
}

.screenshot-item.reverse > * {
    direction: ltr;
}

.screenshot-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.screenshot-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-image:hover img {
    transform: scale(1.02);
}

.screenshot-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.screenshot-description p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Detailed Features */
.features-detailed {
    background: var(--light);
    padding: 4rem 0;
}

.features-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-detailed-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.feature-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-detailed-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-detailed-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.feature-detailed-card ul {
    list-style: none;
    padding: 0;
}

.feature-detailed-card li {
    padding: 0.5rem 0;
    color: var(--gray);
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 1rem;
}

.feature-detailed-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.feature-detailed-card li:last-child {
    border-bottom: none;
}

/* Responsive for Description Page */
@media (max-width: 768px) {
    .screenshot-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .screenshot-item.reverse {
        direction: ltr;
    }

    .features-detailed-grid {
        grid-template-columns: 1fr;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-image {
        order: -1;
    }
}
/* Screenshots Section - Fixed Image Sizes */
.screenshot-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    max-width: 600px; /* Ограничиваем максимальную ширину */
    margin: 0 auto; /* Центрируем */
}

.screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    max-height: 400px; /* Ограничиваем высоту */
    object-fit: contain; /* Сохраняем пропорции */
}

/* Для мобильных устройств делаем еще меньше */
@media (max-width: 768px) {
    .screenshot-image {
        max-width: 100%;
        max-height: 300px;
    }

    .screenshot-image img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .screenshot-image {
        max-height: 250px;
    }

    .screenshot-image img {
        max-height: 250px;
    }
}
@media (max-width: 480px) {
    .feature-detailed-card {
        padding: 1.5rem;
    }

    .screenshot-description h3 {
        font-size: 1.25rem;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
    }

    .nav-link::after {
        display: none;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.85rem 1.75rem;
        font-size: 1.05rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .steps-centered {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-centered {
        padding: 2rem 1.5rem;
        max-width: 400px;
    }

    .download-header {
        flex-direction: column;
        text-align: center;
    }

    .download-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-file-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .installation-guide .steps,
    .features-preview .features-grid,
    .info-cards,
    .payment-info .steps {
        grid-template-columns: 1fr;
    }

    .security-note {
        flex-direction: column;
        text-align: center;
    }

    .btn-download-main {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .purchase-form-container {
        margin: 20px 0;
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .methods {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .methods span {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .step-centered {
        padding: 1.5rem 1rem;
    }

    .purchase-form-container {
        padding: 15px;
        margin: 15px 0;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .help-info,
    .info-card {
        padding: 15px;
    }

    .payment-methods {
        padding: 1.5rem;
        margin: 30px 0;
    }
}