/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Header */
.header {
    background: #1e293b;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2563eb;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.cta-button:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.highlight {
    color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #64748b;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-text {
    color: #64748b;
    font-size: 0.9rem;
}
/* Brain Container */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.brain-container {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Светящийся фон */
.brain-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* SVG мозг */
.brain-outline {
    width: 280px;
    height: 280px;
    position: relative;
    z-index: 2;
}

/* Анимация контуров мозга */
.brain-path {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.left-hemisphere {
    animation: draw-left 3s ease-in-out infinite;
}

.right-hemisphere {
    animation: draw-right 3s ease-in-out infinite 0.3s;
}

@keyframes draw-left {
    0%, 100% {
        stroke-dasharray: 200;
        stroke-dashoffset: 200;
        opacity: 0.6;
    }
    50% {
        stroke-dasharray: 200;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes draw-right {
    0%, 100% {
        stroke-dasharray: 200;
        stroke-dashoffset: 200;
        opacity: 0.6;
    }
    50% {
        stroke-dasharray: 200;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* Центральная линия */
.center-line {
    opacity: 0.5;
    animation: dash-move 2s linear infinite;
}

@keyframes dash-move {
    to {
        stroke-dashoffset: -10;
    }
}

/* Нейронные узлы */
.node {
    fill: #2563eb;
    stroke: #60a5fa;
    stroke-width: 2;
    animation: node-pulse 2s ease-in-out infinite;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.2s; }
.node-3 { animation-delay: 0.4s; }
.node-4 { animation-delay: 0.6s; }
.node-5 { animation-delay: 0.8s; }
.node-6 { animation-delay: 1s; }

@keyframes node-pulse {
    0%, 100% {
        r: 4;
        opacity: 0.6;
        filter: drop-shadow(0 0 2px #60a5fa);
    }
    50% {
        r: 6;
        opacity: 1;
        filter: drop-shadow(0 0 8px #60a5fa);
    }
}

/* Соединительные линии */
.connection {
    opacity: 0.4;
    animation: connection-flow 3s ease-in-out infinite;
}

.conn-1 { animation-delay: 0s; }
.conn-2 { animation-delay: 0.5s; }
.conn-3 { animation-delay: 1s; }
.conn-4 { animation-delay: 1.5s; }
.conn-5 { animation-delay: 2s; }

@keyframes connection-flow {
    0%, 100% {
        opacity: 0.2;
        stroke-width: 1;
    }
    50% {
        opacity: 0.8;
        stroke-width: 2.5;
    }
}

/* Импульсы энергии */
.pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #60a5fa;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 20px #60a5fa;
}

.pulse-1 {
    top: 30%;
    left: 25%;
    animation: pulse-move-1 4s ease-in-out infinite;
}

.pulse-2 {
    top: 50%;
    left: 50%;
    animation: pulse-move-2 4s ease-in-out infinite 1s;
}

.pulse-3 {
    top: 30%;
    right: 25%;
    animation: pulse-move-3 4s ease-in-out infinite 2s;
}

@keyframes pulse-move-1 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(20px, 40px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(0, 80px) scale(0);
        opacity: 0;
    }
}

@keyframes pulse-move-2 {
    0% {
        transform: translate(0, -20px) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(0, 20px) scale(0);
        opacity: 0;
    }
}

@keyframes pulse-move-3 {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-20px, 40px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(0, 80px) scale(0);
        opacity: 0;
    }
}

/* Hover эффект */
.brain-container:hover .brain-outline {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.brain-container:hover .node {
    animation-duration: 1s;
}

.brain-container:hover .connection {
    animation-duration: 1.5s;
}

/* Problem Section */
.problem {
    padding: 5rem 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #f8fafc;
    transition: transform 0.3s;
}

.problem-item:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-item h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Solution Section */
.solution {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
}

.solution .section-title,
.solution-subtitle {
    color: white;
    text-align: center;
}

.solution-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.solution-benefits {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.benefit {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.benefit p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.step-content h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-list {
    list-style: none;
}

.step-list li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.step-list li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
}

.price-period {
    color: #64748b;
    font-size: 1rem;
}

.pricing-features h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-note {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: #92400e;
    font-size: 0.85rem;
    line-height: 1.4;
}



/* Order Form */
.order {
    padding: 5rem 0;
    background: #f8fafc;
}

.order-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.form-checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.form-checkbox label {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p,
.footer-contact p a,
.footer__privacy-policy a {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-contact p a:hover,
.footer__privacy-policy a:hover {
    color: red;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        transform: rotate(0deg);
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .benefit {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0;
    }

    .hero-content {
        max-width: 370px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .pricing-card,
    .order-form {
        padding: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .hero-image {
        padding: 30px 0 0 0;
    }

    .cta-button.large {
        padding: 1rem 3rem;
    }

    .process-step {
        gap: 0;
    }

    .step-list li {
        padding: 0.2rem 0 0.2rem 1.5rem  ;
    }

    .process, .pricing, .order  {
        padding: 2rem 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.problem-item,
.benefit,
.process-step,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}
