/* Солідний, преміальний стиль */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* --- СУЧАСНА ІНТЕРАКТИВНА КОЛЬОРОВА ГАМА --- */
:root {
    --primary-color: #ffffff;
    --secondary-color: #e8e8e8;
    
    /* 🔥 Вогняний градієнт (червоний → помаранчевий → золотий) */
    --accent-color: #ff4757;
    --accent-secondary: #ffa502;
    --accent-gold: #ffd700;
    
    /* 🌊 Додаткові акценти */
    --purple-accent: #a55eea;
    --cyan-accent: #00d2d3;
    
    --text-color: #ffffff;
    --light-text: #b8b8b8;
    
    /* Глибокий темний фон з теплим відтінком */
    --bg-color: #0d0d0d;
    --dark-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    
    /* Градієнти */
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #d4d4d4 100%);
    --gradient-accent: linear-gradient(135deg, #ff4757 0%, #ffa502 50%, #ffd700 100%);
    --gradient-fire: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffa502 100%);
    --gradient-purple: linear-gradient(135deg, #a55eea 0%, #d980fa 100%);
    --gradient-cyan: linear-gradient(135deg, #00d2d3 0%, #54a0ff 100%);
    
    /* Ефекти */
    --glow-red: 0 0 40px rgba(255, 71, 87, 0.4);
    --glow-gold: 0 0 40px rgba(255, 215, 0, 0.3);
    --glow-purple: 0 0 40px rgba(165, 94, 234, 0.3);
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 40px rgba(255, 71, 87, 0.2);
    --shadow-lg: 0 16px 80px rgba(255, 71, 87, 0.3);
    
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(10, 15, 29, 1);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--accent-color);
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 60px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #0a0f1d 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 102, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}


.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.hero-text h1 span {
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-points {
    list-style: none;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-points li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
    transition: var(--transition);
}

.hero-points li:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

.hero-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-color);
}

.about .container {
    max-width: 1200px;
}

.about h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.about p {
    text-align: center;
    font-size: 20px;
    color: var(--light-text);
    max-width: 800px;
    margin: 30px auto 60px;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    gap: 50px;
    margin-top: 40px;
}

.about-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--light-text);
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.about-text:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Section - Преміальний дизайн */
.stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #05080f 0%, #0a0f1d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 102, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.stats h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-item {
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transition: var(--transition);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 102, 255, 0.4);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Founder Section */
.founder {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #0a0f1d 100%);
}

.founder .container {
    max-width: 1400px;
}

.founder h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.founder h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.founder p {
    text-align: center;
    font-size: 20px;
    color: var(--light-text);
    max-width: 800px;
    margin: 30px auto 60px;
    line-height: 1.8;
}

.founder-grid {
    display: grid;
   
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.founder-photo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-photo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 255, 0.3);
}

.founder-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: flex;
    transition: var(--transition);
}

.founder-info {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.founder-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 25px;
    display: block;
}

.founder-desc {
    font-size: 18px;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-btn {
    margin-top: 25px;
    display: inline-block;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--bg-color);
}

.team h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.team p {
    text-align: center;
    font-size: 20px;
    color: var(--light-text);
    max-width: 800px;
    margin: 30px auto 60px;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 255, 0.85);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.team-item:hover .team-overlay {
    opacity: 1;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-overlay h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.team-overlay p {
    font-size: 18px;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-color);
}

.services h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.service-card p {
    font-size: 18px;
    color: var(--light-text);
    line-height: 1.9;
    margin-top: 15px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: var(--gradient-accent);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
}

.cta p {
    font-size: 22px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.btn-white {
    background: white;
    color: var(--accent-color);
    padding: 18px 60px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 0, 102, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-info p {
    color: #999999;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.8;
}

.footer-links h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-links a {
    display: block;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 17px;
    transition: var(--transition);
    padding: 8px 0;
    cursor: pointer;
}

.footer-links a:hover {
    color: white;
    transform: translateX(8px);
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}

.footer-contact h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #999999;
    font-size: 17px;
    line-height: 1.8;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--accent-color);
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.contact-item a:hover {
    color: white;
}

.contact-item.telegram {
    background: rgba(0, 102, 255, 0.15);
    padding: 12px 15px;
    border-radius: 8px;
    width: fit-content;
}

.contact-item.telegram .contact-icon {
    color: white;
}

.contact-item.telegram a {
    color: white;
}

.contact-item.telegram:hover {
    background: var(--accent-color);
}

.legal-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.legal-info p {
    display: flex;
    justify-content: center;
    font-size: 16px;
    color: #cccccc;
    line-height: 1.8;
    margin: 8px 0;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999999;
    font-size: 15px;
}

/* Modal Styles for Legal Documents */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-color);
    max-width: 800px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.modal p {
    font-size: 17px;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate:nth-child(1) { animation-delay: 0.1s; }
.animate:nth-child(2) { animation-delay: 0.2s; }
.animate:nth-child(3) { animation-delay: 0.3s; }
.animate:nth-child(4) { animation-delay: 0.4s; }
.animate:nth-child(5) { animation-delay: 0.5s; }

.hero-image {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 20px 20px;
    }

    .hero-text h1 {
        font-size: 52px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .hero-grid,
    .about-grid,
    .services-grid,
    .footer-grid {
           grid-template-columns: 2fr 1fr;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .hero-grid {
        gap: 50px;
    }

    .hero-text h1 {
        font-size: 44px;
    }

    .hero-sub {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-photo img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 29, 0.98);
        padding: 30px;
        flex-direction: column;
        gap: 20px;
        box-shadow: var(--shadow-md);
        border-radius: 0 0 20px 20px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 56px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 42px;
    }

    .cta p {
        font-size: 18px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-item img {
        height: 350px;
    }

    .legal-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 14px;
    }

    .btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .legal-info h4 {
        font-size: 18px;
    }

    .founder-photo img {
        height: 300px;
    }

    .team-item img {
        height: 280px;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    /* Бургер-кнопка */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-toggle span {
        width: 28px;
        height: 3px;
        background: var(--secondary-color);
        border-radius: 2px;
        transition: var(--transition);
    }

    /* Активний стан бургер-кнопки (Х) */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Мобільне меню */
    .nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 29, 0.98);
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
        box-shadow: var(--shadow-md);
        border-radius: 0 0 20px 20px;
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        display: flex;
    }

    /* Анімація відкриття меню */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Стилі для посилань у мобільному меню */
    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        text-align: center;
    }

    .nav-link::after {
        display: none;
    }

    /* Кнопка в мобільному меню */
    .btn-primary {
        width: 100%;
        padding: 16px;
        font-size: 18px;
        margin-top: 10px;
    }

    /* Header на мобілці */
    .header {
        padding: 0 20px;
    }

    .header-container {
        padding: 16px 0;
    }

    /* Hero section */
    .hero {
        padding: 140px 0 60px;
    }

    

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-sub {
        font-size: 16px;
    }

    /* About section */
    .about-grid {
        grid-template-columns: 1fr;
    }

    /* Stats section */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 56px;
    }

    /* Founder section */
    .founder-grid {
        grid-template-columns: 1fr;
    }

    .founder-photo img {
        height: 400px;
    }

    /* Team section */
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-item img {
        height: 350px;
    }

    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* CTA section */
    .cta h2 {
        font-size: 42px;
    }

    .cta p {
        font-size: 18px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-item.telegram {
        width: 100%;
    }
}

/* Додаткові стилі для дуже малих екранів */
@media (max-width: 480px) {
    .nav-toggle span {
        width: 24px;
        height: 2.5px;
    }
.hero-image{
    animation: none;
}
    .nav {
        padding: 25px 15px;
        gap: 15px;
    }
.hero-grid{
    flex-wrap: wrap;
}
    .nav-link {
        font-size: 17px;
        padding: 10px 0;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 14px;
    }

    .btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 26px;
    }

    .founder-photo img {
        height: 300px;
    }

    .team-item img {
        height: 280px;
    }

    .legal-info h4 {
        font-size: 18px;
    }

    .legal-info p {
        font-size: 15px;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #0a0f1d;
    max-width: 800px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #0066ff;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(90deg);
}

.modal h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.modal p {
    font-size: 17px;
    color: #a0a0a0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-link {
    background: none;
    border: none;
    color: #0066ff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.legal-links {
    margin: 20px 0;
    display: flex;
    gap: 30px;
    justify-content: center;
}

@media (max-width: 768px) {
    .legal-links {
        flex-direction: column;
        gap: 15px;
    }
    .modal-content {
        padding: 25px;
        max-height: 70vh;
    }
}

.desc_p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.9;
    margin-bottom: 20px;
}



/* --- ГЛАВНИЙ КОНТЕЙНЕР З ЕФЕКТОМ СКЛА --- */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 71, 87, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(165, 94, 234, 0.05) 0%, transparent 60%);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- HEADER З GLASSMORPHISM --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(255, 71, 87, 0.1);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 71, 87, 0.2);
}

/* --- ЛОГОТИП З АНІМАЦІЄЮ --- */
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
}

.logo::before {

    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gradient-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: var(--glow-gold);
}

.logo span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* --- НАВІГАЦІЯ З ІНТЕРАКТИВНИМИ ЛІНКАМИ --- */
.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 71, 87, 0.5);
}

/* --- КНОПКИ З 3D ЕФЕКТОМ --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #000000;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--glow-red), var(--shadow-lg);
    color: #000000;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-accent);
    transition: var(--transition);
    z-index: -1;
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-secondary:hover {
    color: #000000;
    border-color: transparent;
    transform: translateY(-5px);
}

/* --- HERO SECTION З ПАРАЛАКСОМ --- */
.hero {
    padding: 200px 0 120px;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-grid {
   display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
   
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 35px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -2px;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 3px;
    box-shadow: var(--glow-red);
}

.hero-text h1 span {
    display: block;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-sub {
    font-size: 22px;
    color: var(--light-text);
    margin-bottom: 50px;
    max-width: 600px;
    line-height: 1.9;
}

/* --- КАРТКИ З GLASSMORPHISM --- */
.about-text,
.stat-item,
.service-card,
.team-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-text:hover,
.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 71, 87, 0.3);
}

/* --- СТАТИСТИКА З АНІМАЦІЄЮ --- */
.stat-item {
    padding: 50px 30px;
    text-align: center;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--glow-red);
    border-color: rgba(255, 71, 87, 0.5);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 15px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    text-shadow: var(--glow-gold);
}

/* --- СЕРВІС КАРТКИ З HOVER ЕФЕКТОМ --- */
.service-card {
    padding: 50px;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 0.08;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: var(--transition);
}

.service-card:hover h3::after {
    width: 100%;
}

/* --- TEAM SECTION З OVERLAY --- */
.team-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.team-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 71, 87, 0.9) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    text-align: left;
    opacity: 0;
    transition: var(--transition);
}

.team-item:hover .team-overlay {
    opacity: 1;
}

.team-item:hover img {
    transform: scale(1.1);
}

/* --- CTA SECTION З ГРАДІЄНТОМ --- */
.cta {
    padding: 140px 0;
    background: var(--gradient-accent);
    color: #000000;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.btn-white {
    background: #ffffff;
    color: #ff4757;
    padding: 20px 70px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* --- FOOTER З ГРАДІЄНТНИМ ФОНOM --- */
.footer {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a0a0a 100%);
    color: white;
    padding: 100px 0 50px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 71, 87, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(10px);
    padding-left: 15px;
    border-left: 3px solid var(--accent-color);
}

/* --- SCROLL ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* --- LOADING ANIMATION --- */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* --- МОБІЛЬНА АДАПТАЦІЯ HERO (ПЕРЕВІРКА) --- */
@media (max-width: 768px) {
    /* 1. Змінюємо сітку на флекс-колонку (блок) */
    .hero-grid {
        display: flex !important; /* Примусово змінюємо grid на flex */
        flex-direction: column !important; /* Вертикальне розташування */
        gap: 40px;
        width: 100%;
    }

    /* 2. Прибираємо 3D ефекти у контейнера зображення */
    .hero-image {
        transform: none !important; /* Прибирає rotateY та perspective */
        animation: none !important; /* Вимикає плавання (float) */
        margin: 0 auto; /* Центруємо */
        width: 100%;
        max-width: 500px; /* Обмежуємо ширину на телефоні, щоб не була велетенською */
        border: 1px solid rgba(255, 255, 255, 0.1); /* Залишаємо рамку */
    }

    /* 3. Налаштовуємо саме зображення */
    .hero-image img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* 4. Центруємо текст для кращого вигляду на мобільному */
    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-points {
        text-align: left; /* Список краще залишити зліва */
        align-items: flex-start;
    }
}

/* --- BLOCK 3: BENEFITS (Що ви отримаєте) --- */
.benefits {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на ПК */
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #000;
    font-weight: bold;
    box-shadow: var(--glow-red);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: #000; /* Чорний колір іконок на градієнті */
}

.benefit-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.6;
}

/* --- BLOCK 4: AUDIENCE (Для кого це) --- */
.audience {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--dark-bg) 100%);
    position: relative;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на ПК */
    gap: 30px;
    margin-top: 50px;
}

.audience-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
}

.audience-item:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.audience-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: var(--transition);
}

.audience-item:hover .audience-number {
    color: rgba(255, 71, 87, 0.2);
    transform: scale(1.1);
}

.audience-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.audience-item p {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.audience-note {
    margin-top: 50px;
    padding: 25px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: var(--border-radius);
    text-align: center;
}

.audience-note p {
    color: var(--primary-color);
    font-size: 18px;
    margin: 0;
}

.audience-note strong {
    color: var(--accent-color);
}

/* --- ЗАГАЛЬНІ СТИЛІ ЗАГОЛОВКІВ ДЛЯ НОВИХ БЛОКІВ --- */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--light-text);
    max-width: 600px;
    margin: 40px auto 0;
    line-height: 1.6;
}

/* --- АДАПТИВНІСТЬ (MOBILE) --- */
@media (max-width: 992px) {
    .benefits-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшеті */
    }
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 60px 0;
    }
    
    .audience {
        padding: 60px 0;
    }

    .benefits-grid,
    .audience-grid {
        grid-template-columns: 1fr; /* 1 колонка на телефоні (BLOCK) */
        gap: 20px;
    }

    .section-title {
        font-size: 32px;
        width: 100%;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-top: 20px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .audience-note {
        margin-top: 30px;
        padding: 20px;
    }
    
    .audience-note p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-icon svg {
        width: 24px;
        height: 24px;
    }
}
/* --- BLOCK: ACHIEVEMENTS (Наші досягнення) --- */
.achievements {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Фонові ефекти */
.achievements::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.achievements::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

.achievements .container {
    position: relative;
    z-index: 1;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки на ПК */
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.achievement-card {
    background: var(--card-bg);
    padding: 40px 25px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 71, 87, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--glow-red);
    transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
    transform: rotate(360deg) scale(1.1);
}

.achievement-icon svg {
    width: 36px;
    height: 36px;
    stroke: #000000;
    stroke-width: 2.5;
}

.achievement-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: var(--glow-gold);
}

.achievement-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-desc {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.6;
}

/* Блок з нотаткою внизу */
.achievements-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 40px;
    background: rgba(255, 71, 87, 0.08);
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: var(--border-radius);
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.note-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.achievements-note p {
    font-size: 18px;
    color: var(--light-text);
    line-height: 1.7;
    margin: 0;
}

.achievements-note strong {
    color: var(--accent-color);
    font-weight: 700;
}

/* --- АДАПТИВНІСТЬ --- */
@media (max-width: 1200px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на великих планшетах */
        gap: 25px;
    }
    
    .achievement-number {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .achievements {
        padding: 60px 0;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr; /* 1 колонка на телефоні (BLOCK) */
        gap: 20px;
        margin-top: 40px;
    }
    
    .achievement-card {
        padding: 30px 20px;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
    }
    
    .achievement-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .achievement-number {
        font-size: 42px;
    }
    
    .achievement-label {
        font-size: 16px;
    }
    
    .achievements-note {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    
    .note-icon {
        font-size: 32px;
    }
    
    .achievements-note p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .achievement-number {
        font-size: 36px;
    }
    
    .achievement-card {
        padding: 25px 15px;
    }
    
    .achievements-note p {
        font-size: 15px;
    }
}