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

:root {
    --primary: #00AEEF; /* основной цвет (cyan) */
    --primary-dark: #0077B6; /* тёмный оттенок для hover */
    --gradient-start: #00C6FF;
    --gradient-end: #0072FF;
    --nav-bg: #071133; /* тёмно-синий фон навбара */
    --footer-bg: #071133;
    --muted: #f6f8fb;
    --text: #222;
    --link: #2b6cb0;
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-weight: 600;
    color: var(--text);
    background-color: #fff;
}

.navbar {
    background-color: var(--nav-bg);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-logo:hover {
    color: var(--primary);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-menu li {
    margin: 0;
}

.navbar-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--primary);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 120px 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideDown 0.8s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.3s both;
}

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

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

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #ddd;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

.features h2,
.pricing h2,
.testimonials h2,
.cta h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

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

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: white;
}

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

.pricing-card {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    background-color: white;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 174, 239, 0.12);
    transform: scale(1.05);
}

.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.pricing-card h3 {
    margin: 1rem 0;
    color: #333;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.5rem 0;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary);
}

.testimonial-card p {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card .author {
    color: #333;
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 80px 2rem;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .navbar-menu {
        gap: 1rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Privacy page styles */
.privacy {
    background: white;
    color: #222;
}

.privacy article {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 1rem;
    line-height: 1.7;
}

.privacy h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.privacy .meta {
    color: #666;
    margin-bottom: 1.5rem;
}

.privacy h2 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.privacy p {
    color: #444;
    margin-bottom: 1rem;
}

.privacy ul {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.privacy .toc {
    background: var(--muted);
    border-left: 4px solid var(--primary);
    padding: 1rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.privacy .toc ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.privacy .toc li {
    margin: 0.45rem 0;
}

.privacy .toc a {
    color: #2b6cb0;
    text-decoration: none;
}

.privacy .toc a:hover {
    text-decoration: underline;
}

.privacy-footer p {
    color: #666;
}

@media (max-width: 768px) {
    .privacy article {
        padding: 20px 1rem;
    }
    .privacy h1 {
        font-size: 1.6rem;
    }
}

/* Registration Page Styles */
.register-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background-color: #f9f9f9;
}

.register-content {
    text-align: center;
}

.register-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.construction-notice {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.construction-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

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

.construction-notice h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.construction-notice p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.construction-notice a.btn {
    display: inline-block;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .register-content h1 {
        font-size: 1.8rem;
    }

    .construction-notice {
        padding: 2rem;
    }

    .construction-icon {
        font-size: 3rem;
    }

    .construction-notice h2 {
        font-size: 1.4rem;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 80px 2rem;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideDown 0.8s ease-out;
}

.about-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.3s both;
}

.about-content {
    padding: 80px 0;
    background-color: white;
}

.about-intro,
.about-mission {
    background: #f9f9f9;
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--primary);
}

.about-intro h2,
.about-mission h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-intro p,
.about-mission p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-values h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #666;
}

.about-content > .container > h2:nth-of-type(3) {
    color: #333;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary);
}

.contact-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

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

.contact-details {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem !important;
}

.contact-form-section {
    background: #f9f9f9;
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.contact-form-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(0, 174, 239, 0.3);
}

.form-group button {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .about-intro,
    .about-mission {
        padding: 1.5rem;
    }

    .about-intro h2,
    .about-mission h2 {
        font-size: 1.5rem;
    }

    .about-values h2 {
        font-size: 1.5rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .contact-form-section h2 {
        font-size: 1.5rem;
    }
}
