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

:root {
    --primary-blue: #4a90e2;
    --light-blue: #e8f4f8;
    --red: #e74c3c;
    --dark-blue: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-blue);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Header */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--gray);
}

.header-icon {
    font-size: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-blue);
}

.header-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 14px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

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

.nav-link.active {
    color: var(--red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--red);
}

.header-right {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
}

.hero-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.illustration-figures {
    display: flex;
    gap: 30px;
    align-items: flex-end;
}

.figure {
    width: 80px;
    height: 120px;
    position: relative;
}

.figure-head {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f4d03f;
    margin: 0 auto 10px;
}

.figure-body {
    width: 60px;
    height: 50px;
    margin: 0 auto;
    background-color: var(--primary-blue);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.figure.doctor .figure-body {
    background-color: var(--white);
    border: 2px solid var(--primary-blue);
}

.figure.donor .figure-body {
    background-color: var(--primary-blue);
}

.heart-icon {
    font-size: 24px;
}

.figure-legs {
    width: 20px;
    height: 30px;
    background-color: #34495e;
    margin: 5px auto 0;
    border-radius: 0 0 5px 5px;
}

.illustration-tech {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.tech-icon {
    font-size: 24px;
    opacity: 0.7;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.feature-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: var(--white);
}

.icon-heart, .icon-cross, .icon-megaphone {
    font-size: 32px;
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.feature-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.features-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gray);
    opacity: 0.5;
}

/* Goal Section */
.goal-section {
    padding: 80px 0;
    background-color: var(--light-blue);
    text-align: center;
}

.goal-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.map-container {
    margin: 40px 0;
}

.russia-map {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.map-svg {
    width: 100%;
    height: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    font-size: 24px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 1;
}

/* Page Hero */
.page-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--gray);
}

.page-hero-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.page-hero-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.content-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.content-card h2 {
    font-size: 24px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.content-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Recovery Info */
.recovery-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-block {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-block h2 {
    font-size: 22px;
    color: var(--red);
    margin-bottom: 20px;
}

.info-block ul {
    list-style: none;
    padding-left: 0;
}

.info-block li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray);
}

.info-block li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

/* Tips Section */
.tips-section {
    padding: 60px 0;
    background-color: var(--light-blue);
}

.tips-section h2 {
    text-align: center;
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tip-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tip-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.tip-card h3 {
    font-size: 20px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.tip-card p {
    color: var(--gray);
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-card h2 {
    font-size: 24px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    color: var(--gray);
    margin: 5px 0;
}

.contact-card a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: var(--primary-blue);
    text-decoration: none;
    padding: 5px 0;
}

.social-link:hover {
    text-decoration: underline;
}

/* Form Section */
.form-section {
    padding: 60px 0;
    background-color: var(--light-blue);
}

.form-section h2 {
    text-align: center;
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-blue);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #c0392b;
}

.auth-section {
    padding: 60px 0;
    background-color: var(--white);
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

.auth-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.auth-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
}

.auth-card h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.auth-card p {
    color: var(--gray);
    margin-bottom: 25px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--light-gray);
    color: var(--gray);
    transition: all 0.3s;
}

.auth-tab.active {
    border-color: var(--red);
    color: var(--red);
    background-color: var(--light-blue);
}

.auth-alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.auth-alert.error {
    background-color: #fdecea;
    border: 1px solid #f5c2c0;
    color: #a12c23;
}

.auth-alert.success {
    background-color: #e8f7ef;
    border: 1px solid #a7dfbf;
    color: #1c7c4c;
}

.auth-extra {
    margin-top: 25px;
    font-size: 14px;
    color: var(--gray);
}

.auth-extra a {
    color: var(--red);
    text-decoration: none;
}

.auth-extra a:hover {
    text-decoration: underline;
}

.auth-info {
    background-color: var(--light-blue);
    padding: 40px;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(74,144,226,0.2);
}

.auth-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.auth-info p {
    color: var(--gray);
    margin-bottom: 20px;
}

.auth-info-list {
    list-style: none;
}

.auth-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.auth-info-icon {
    font-size: 20px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background-color: var(--light-blue);
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    margin: 5px 0;
    color: var(--light-gray);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-button {
    padding: 10px 20px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.footer-button:hover {
    background-color: #c0392b;
}

.footer-logo {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Success Message */
.success-message {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    color: #155724;
    text-align: center;
}

.success-message p {
    margin: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .header-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid,
    .recovery-info,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid,
    .auth-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

