/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #133a25;
    color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Color Variables */
:root {
    --primary-color: #133a25;
    --accent-gradient: linear-gradient(0deg, #95ff3b 100%, #cbff9f 0%);
    --yellow-gradient: linear-gradient(5deg, #fff14b 8%, #fffabc 98%);
    --text-white: #ffffff;
    --text-dark: #333333;
}

/* Header */
.header {
    background: rgba(19, 58, 37, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid rgba(149, 255, 59, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu li a {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--accent-gradient);
    color: var(--text-dark);
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-login,
.btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-login {
    background: var(--accent-gradient);
    color: var(--text-dark);
}

.btn-register {
    background: var(--yellow-gradient);
    color: var(--text-dark);
}

.btn-login:hover,
.btn-register:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(149, 255, 59, 0.4);
}

.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
}

/* Burger Menu Animation States */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 2px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(19, 58, 37, 0.98);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    z-index: 999;
    padding: 2rem 1rem;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu ul li a {
    display: block;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
    background: var(--accent-gradient);
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    max-height: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 1rem 2rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 58, 37, 0.7);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-height: 44px;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-dark);
}

.btn-secondary {
    background: var(--yellow-gradient);
    color: var(--text-dark);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 255, 59, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin: 0.5rem;
}

/* Content Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 3rem 0;
}

.section-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 1rem;
    margin: 2rem 0;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(149, 255, 59, 0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(149, 255, 59, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 25px rgba(149, 255, 59, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #95ff3b;
}

/* Lists */
.benefits-list {
    list-style: none;
    margin: 1.5rem 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #95ff3b;
}

/* Content Images */
.content-images {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    grid-template-columns: 1fr;
}

.content-images img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-images img:hover {
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: rgba(19, 58, 37, 0.95);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
    border-top: 2px solid rgba(149, 255, 59, 0.3);
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #95ff3b;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff14b;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive Design */

/* Tablet: 768px - 1024px */
@media (min-width: 768px) {
    .header {
        padding: 1rem 2rem;
    }
    
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-content {
        padding: 2.5rem;
    }
    
    .content-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    


}

/* Desktop: от 1024px */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .content-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-content {
        padding: 3rem;
    }
    
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-highlight {
    color: #95ff3b;
    font-weight: bold;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

@media (min-width: 480px) {
    .auth-buttons .btn-login i,
    .auth-buttons .btn-register i {
        display: none;
    }

    .auth-buttons .btn-login::after {
        content: "Login";
    }
    
    .auth-buttons .btn-register::after {
        content: "Register";
    }

    .auth-buttons .btn-login,
    .auth-buttons .btn-register {
        width: auto;
        height: 44px;
        border-radius: 8px;
        padding: 0 1.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 1280px) {
    .nav-menu {
        display: flex;
    }
    
    .burger-menu {
        display: none;
    }
}