/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-orange: #ff6b35;
    --light-orange: #ff8c42;
    --gradient-orange: linear-gradient(135deg, #ff6b35, #ff8c42);
    --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #333333;
    --shadow-color: rgba(255, 107, 53, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo h2 {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
}

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

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

.nav-menu a:hover {
    color: var(--accent-orange);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login, .btn-register {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.btn-register {
    background: var(--gradient-orange);
    color: var(--text-white);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Главная секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Spline viewer стили */
spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Скрытие надписи "Build with Spline" */
spline-viewer::part(ui) {
    display: none !important;
}

/* Альтернативный способ скрытия через селекторы */
spline-viewer [slot="ui"],
spline-viewer .spline-ui,
spline-viewer .ui-overlay,
spline-viewer .branding,
spline-viewer .spline-branding,
spline-viewer [class*="branding"],
spline-viewer [class*="ui"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Дополнительные селекторы для скрытия */
spline-viewer *[class*="spline"]:not(spline-viewer),
spline-viewer *[class*="branding"],
spline-viewer *[class*="watermark"],
spline-viewer *[class*="credit"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Затемнение для лучшей читаемости текста */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(26, 26, 26, 0.5) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Fallback градиентные орбы */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.2) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-3px);
}

/* AI Cards анимация */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-cards {
    position: relative;
    width: 400px;
    height: 400px;
}

.ai-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ai-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.ai-card i {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.ai-card span {
    font-size: 0.9rem;
    font-weight: 500;
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: cardFloat1 4s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: cardFloat2 4s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: cardFloat3 4s ease-in-out infinite 2s;
}

.card-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: cardFloat4 4s ease-in-out infinite 3s;
}

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

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

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

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

/* Секции */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Сервисы */
.services {
    padding: 6rem 0;
    background: var(--secondary-black);
    position: relative;
    overflow: hidden;
}

/* 3D Spline анимация */
.spline-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    perspective: 1000px;
}

.spline-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Геометрические фигуры */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(255, 140, 66, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: float3D 8s ease-in-out infinite;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation: float3D 10s ease-in-out infinite reverse;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 50%;
    animation: float3D 12s ease-in-out infinite;
    animation-delay: 4s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation: float3D 9s ease-in-out infinite reverse;
    animation-delay: 1s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 70%;
    animation: float3D 11s ease-in-out infinite;
    animation-delay: 3s;
}

.shape-6 {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 30%;
    animation: float3D 7s ease-in-out infinite reverse;
    animation-delay: 5s;
}

/* Плавающие частицы */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation: particleFloat 6s ease-in-out infinite;
    animation-delay: 0s;
}

.particle-2 {
    top: 40%;
    right: 20%;
    animation: particleFloat 8s ease-in-out infinite;
    animation-delay: 1s;
}

.particle-3 {
    top: 60%;
    left: 30%;
    animation: particleFloat 7s ease-in-out infinite;
    animation-delay: 2s;
}

.particle-4 {
    top: 80%;
    right: 40%;
    animation: particleFloat 9s ease-in-out infinite;
    animation-delay: 3s;
}

.particle-5 {
    top: 30%;
    left: 60%;
    animation: particleFloat 5s ease-in-out infinite;
    animation-delay: 4s;
}

.particle-6 {
    top: 50%;
    right: 60%;
    animation: particleFloat 10s ease-in-out infinite;
    animation-delay: 5s;
}

.particle-7 {
    top: 70%;
    left: 80%;
    animation: particleFloat 6s ease-in-out infinite;
    animation-delay: 6s;
}

.particle-8 {
    top: 10%;
    right: 80%;
    animation: particleFloat 8s ease-in-out infinite;
    animation-delay: 7s;
}

/* Градиентный оверлей */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
}

/* Анимации */
@keyframes float3D {
    0%, 100% { 
        transform: translateY(0px) translateZ(0px) rotateX(0deg) rotateY(0deg);
    }
    25% { 
        transform: translateY(-20px) translateZ(20px) rotateX(10deg) rotateY(90deg);
    }
    50% { 
        transform: translateY(-10px) translateZ(40px) rotateX(0deg) rotateY(180deg);
    }
    75% { 
        transform: translateY(-30px) translateZ(20px) rotateX(-10deg) rotateY(270deg);
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-15px) translateX(10px) scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: translateY(-5px) translateX(-5px) scale(0.8);
        opacity: 0.6;
    }
    75% { 
        transform: translateY(-25px) translateX(15px) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes gradientShift {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.services-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.services-row .service-card {
    flex: 1;
    max-width: 280px;
    min-height: 400px;
}

.service-card {
    background: var(--primary-black);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

.service-features li::before {
    content: '✓';
    color: var(--accent-orange);
    font-weight: bold;
    margin-right: 0.5rem;
}

.btn-service {
    background: var(--gradient-orange);
    color: var(--text-white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* Тарифы */
.pricing {
    padding: 6rem 0;
    background: var(--primary-black);
}

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

.pricing-card {
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--accent-orange);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orange);
    color: var(--text-white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--accent-orange);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
}

.period {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-features li i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

.btn-pricing {
    width: 100%;
    background: var(--gradient-orange);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* О нас */
.about {
    padding: 6rem 0;
    background: var(--secondary-black);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.team-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-orange);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.team-member span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Контакты */
.contact {
    padding: 6rem 0;
    background: var(--primary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--secondary-black);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--primary-black);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-orange);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* Футер */
.footer {
    background: var(--secondary-black);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3 {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-orange);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-black);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-orange);
    color: var(--text-white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        z-index: 2;
    }
    
    /* Оптимизация Spline для мобильных */
    spline-viewer {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .ai-cards {
        width: 300px;
        height: 300px;
    }
    
    .ai-card {
        width: 80px;
        height: 80px;
    }
    
    .ai-card i {
        font-size: 1.5rem;
    }
    
    .ai-card span {
        font-size: 0.7rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-illustration {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-row {
        flex-direction: column;
        align-items: center;
    }
    
    .services-row .service-card {
        max-width: 100%;
        width: 100%;
    }
    
    /* Упрощение анимации для мобильных */
    .shape {
        display: none;
    }
    
    .particle {
        width: 2px;
        height: 2px;
    }
    
    .spline-animation {
        perspective: 500px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Дополнительные анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Скролл анимации */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-orange);
}

/* Стили для модального окна аутентификации */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-overlay {
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.show .modal-overlay {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: var(--border-color);
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form input {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-black);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.auth-form input::placeholder {
    color: var(--text-gray);
}

/* Стили для личного кабинета */
.dashboard {
    min-height: 100vh;
    background: var(--primary-black);
}

.dashboard-nav {
    background: var(--secondary-black);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.user-info span:first-child {
    color: var(--text-white);
    font-weight: 600;
}

.balance {
    color: var(--accent-orange);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-logout {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.dashboard-content {
    display: flex;
    min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
    width: 250px;
    background: var(--secondary-black);
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    color: var(--text-white);
    background: rgba(255, 107, 53, 0.1);
}

.sidebar-link.active {
    color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
    border-left-color: var(--accent-orange);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.dashboard-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.dashboard-section .section-header {
    margin-bottom: 2rem;
}

.dashboard-section .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-section .section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Статистика */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

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

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Активность */
.recent-activity {
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
}

.recent-activity h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1rem;
}

.activity-info {
    flex: 1;
}

.activity-info h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.activity-time {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.no-activity, .no-history {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem;
    font-style: italic;
}

/* Сервисы */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.service-item .service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-white);
    font-size: 2rem;
}

.service-item h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-cost {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-service-use {
    background: var(--gradient-orange);
    color: var(--text-white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-service-use:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-service-use:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Баланс */
.balance-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.current-balance, .top-up-section {
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
}

.current-balance h3, .top-up-section h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.balance-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-align: center;
}

.top-up-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.amount-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.amount-btn.selected {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--text-white);
}

.custom-amount {
    display: flex;
    gap: 1rem;
}

.custom-amount input {
    flex: 1;
    padding: 1rem;
    background: var(--primary-black);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
}

.custom-amount input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-top-up {
    background: var(--gradient-orange);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-top-up:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* История */
.history-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--text-white);
    border-color: var(--accent-orange);
}

.filter-btn.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--text-white);
}

.history-list {
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.history-item:last-child {
    border-bottom: none;
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1rem;
}

.history-icon.income {
    background: #4CAF50;
}

.history-icon.expense {
    background: #f44336;
}

.history-info {
    flex: 1;
}

.history-info h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.history-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.history-amount {
    font-weight: 600;
    font-size: 1.1rem;
}

.history-amount.income {
    color: #4CAF50;
}

.history-amount.expense {
    color: #f44336;
}

.history-time {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Профиль */
.profile-form {
    background: var(--secondary-black);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
}

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

.profile-form label {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-form input {
    width: 100%;
    padding: 1rem;
    background: var(--primary-black);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.profile-form input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.profile-form input::placeholder {
    color: var(--text-gray);
}

.btn-save {
    background: var(--gradient-orange);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Адаптивность для личного кабинета */
@media (max-width: 768px) {
    .dashboard-content {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .sidebar-menu li {
        margin-bottom: 0;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .sidebar-link {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }
    
    .dashboard-main {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .balance-info {
        grid-template-columns: 1fr;
    }
    
    .top-up-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-amount {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-user {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .user-info {
        align-items: center;
    }
}
