:root {
    --primary-blue: #1E3A8A;
    --vibrant-orange: #F97316;
    --soft-gray: #6B7280;
    --light-blue: #60A5FA;
    --success-green: #10B981;
    --dark-navy: #0F172A;
    --cream: #FFF7ED;
    --gradient-orange: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
    --gradient-blue: linear-gradient(135deg, #60A5FA 0%, #1E3A8A 100%);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(180deg, #FFF7ED 0%, #FFFFFF 50%);
    color: #1F2937;
    overflow-x: hidden;
}

/* Animated Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(30, 58, 138, 0.5) 35px, rgba(30, 58, 138, 0.5) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(249, 115, 22, 0.5) 35px, rgba(249, 115, 22, 0.5) 70px);
    animation: patternShift 20s ease-in-out infinite;
}

@keyframes patternShift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-blue);
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

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

.logo-icon svg {
    width: 100%;
    height: 100%;
}
/* Базовые стили навигации */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vibrant-orange);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Кнопка бургер-меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Анимация бургера в крестик */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Оверлей */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 5rem 2rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: colorShift 3s ease-in-out infinite;
}

@keyframes colorShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(10deg); }
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--soft-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
	
    margin-top: 20px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.secondary-button {
    background: white;
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.secondary-button:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-graph {
    width: 100%;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.graph-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 2rem;
}

.employment-chart {
    position: relative;
    height: 350px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.season-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--primary-blue) 100%);
    border-radius: 10px 10px 0 0;
    position: relative;
    animation: growBar 1.5s ease-out forwards;
    animation-delay: var(--delay);
    transform: scaleY(0);
    transform-origin: bottom;
    cursor: pointer;
    transition: all 0.3s ease;
}

.season-bar:hover {
    transform: scaleY(1.05);
    filter: brightness(1.1);
}

.season-bar.orange {
    background: linear-gradient(180deg, #FB923C 0%, var(--vibrant-orange) 100%);
}

@keyframes growBar {
    to {
        transform: scaleY(1);
    }
}

.season-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    writing-mode: vertical-lr;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: white;
    white-space: nowrap;
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 70px;
    right: -5px;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--float-delay);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Stats Section */
.stats {
    padding: 4rem 2rem;
    background: var(--gradient-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    animation-delay: var(--stat-delay);
}

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

.stat-number {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: white;
}

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--soft-gray);
    line-height: 1.6;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F4F6 100%);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-orange);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-orange);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--soft-gray);
    line-height: 1.6;
}

/* Interactive Demo Section */
.demo-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #F3F4F6 0%, white 100%);
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    padding: 3rem;
    position: relative;
}

.demo-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #E5E7EB;
}

.demo-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--soft-gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.demo-tab.active {
    color: var(--primary-blue);
}

.demo-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--vibrant-orange);
}

.demo-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.demo-content.active {
    display: block;
}

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

.worker-journey {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
}

.journey-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.journey-step::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--light-blue);
}

.journey-step:last-child::after {
    display: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
    animation-delay: var(--step-delay);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 25px rgba(30, 58, 138, 0.5);
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: var(--gradient-orange);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="0.1" d="M0,256L48,229.3C96,203,192,149,288,128C384,107,480,117,576,138.7C672,160,768,192,864,186.7C960,181,1056,139,1152,128C1248,117,1344,139,1392,149.3L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top center;
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.cta-input:focus {
    outline: none;
    background: rgba(255,255,255,0.2);
    border-color: white;
}

.cta-submit {
    padding: 1rem 2rem;
    background: white;
    color: var(--vibrant-orange);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--dark-navy);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--vibrant-orange);
    transform: translateY(-3px);
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--vibrant-orange);
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* Responsive */
/* Мобильные стили */

  

@media (max-width: 768px) {
	  .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 999;
        transition: right 0.3s ease;
        padding: 80px 30px 30px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .main-nav li {
        border-bottom: 1px solid #eee;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav a:hover {
        color: var(--vibrant-orange);
    }
    
    /* Блокировка скролла при открытом меню */
    body.menu-open {
        overflow: hidden;
    }


	.cta-button:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
	}
    .hero-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }



    .worker-journey {
        flex-direction: column;
    }

    .journey-step::after {
        display: none;
    }
}
@media (max-width: 500px) {
    .hero-buttons{
    flex-direction: column;
    }
    .cta-form{
        flex-direction: column;
    }
}