﻿/* ============= product-page-final.css ============= */
/* Фінальна версія з ідеальним адаптивом та UX */

:root {
    --primary: #0B2A4A;
    --primary-dark: #051a2e;
    --primary-rgb: 11, 42, 74;
    --accent: #FFB347;
    --accent-rgb: 255, 179, 71;
    --accent-soft: rgba(255, 179, 71, 0.1);
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray: #dee2e6;
    --gray-light: #e9ecef;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-3d: 0 30px 60px -10px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,179,71,0.2);
    --shadow-3d-hover: 0 40px 80px -10px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,179,71,0.3);
    --gradient-primary: linear-gradient(135deg, #0B2A4A, #1a3f5f);
    --gradient-accent: linear-gradient(135deg, #FFB347, #FF8C42);
    --gradient-dark: linear-gradient(145deg, #0B2A4A, #0f3455);
    --font-main: 'Inter', sans-serif;
    --font-head: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* ============= ЗАГАЛЬНІ СТИЛІ ============= */
.final-page section {
    position: relative;
    overflow: hidden;
}

/* Заголовки ліворуч */
.section-title-left {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    text-align: left;
    max-width: 800px;
}

.section-title-left .title-accent {
    display: block;
    font-size: 0.8em;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Анімація появи */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* ============= HERO ============= */
.hero-final {
    padding: 4rem 0 6rem;
    background: linear-gradient(145deg, #fff, #f5f9ff);
    position: relative;
}

.hero-decor {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,179,71,0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.decor-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
}

.decor-2 {
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11,42,74,0.02) 0%, transparent 70%);
}

.hero-final__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-3d);
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-3d svg {
    stroke: var(--accent);
    fill: none;
}

.hero-final__title {
    margin-bottom: 2rem;
}

.title-block {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-light);
    font-weight: 700;
}

.title-giant {
    display: block;
    font-size: clamp(2rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
    text-shadow: 0 5px 20px rgba(11,42,74,0.1);
}

.hero-final__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
}

.hero-final__features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hero-final__features li svg {
    stroke: var(--accent);
    fill: none;
    flex-shrink: 0;
}

.hero-final__features li strong {
    color: var(--primary);
    font-weight: 700;
}

.price-card {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    border-radius: 30px;
    color: white;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-3d);
    border: 1px solid rgba(255,255,255,0.1);
}

.price-card__label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.price-card__value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.price-card__note {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn--accent {
    background: var(--gradient-accent);
    color: var(--primary-dark);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn--3d {
    transform: translateY(0);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn--3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,179,71,0.3);
}

.btn svg {
    stroke: currentColor;
    fill: none;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.trust-item svg {
    stroke: var(--accent);
    fill: none;
}

/* 3D Панель */
.hero-3d-model {
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	transform: scale(1) !important;
    max-width: 100% !important;
    width: 100% !important;
}

.solar-panel-3d {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/3;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    animation: floatPanel 6s ease-in-out infinite;
    position: relative;
}

.panel-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2c3e50, #1a2a3a);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5), inset 0 0 30px rgba(255,179,71,0.2);
    border: 1px solid rgba(255,179,71,0.3);
}

.panel-cells {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 3px;
    height: 100%;
}

.panel-cells span {
    background: linear-gradient(135deg, #4a90e2, #2c3e50);
    border-radius: 4px;
    animation: cellGlow 3s infinite;
}

.panel-gloss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.1) 100%);
    border-radius: 30px;
    pointer-events: none;
}

.panel-brand {
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.panel-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, transparent 70%);
    filter: blur(10px);
    z-index: -1;
}

.energy-rays {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
}

.energy-rays span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,179,71,0.3), rgba(255,215,0,0.5), rgba(255,179,71,0.3), transparent);
    transform-origin: 0 0;
    animation: rayRotate 10s linear infinite;
    opacity: 0;
}

.energy-rays span:nth-child(1) { transform: rotate(0deg); animation-delay: 0s; }
.energy-rays span:nth-child(2) { transform: rotate(120deg); animation-delay: -3.33s; }
.energy-rays span:nth-child(3) { transform: rotate(240deg); animation-delay: -6.66s; }

@keyframes rayRotate {
    0% { transform: rotate(0deg) scale(0.5); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: rotate(360deg) scale(1.5); opacity: 0; }
}

.panel-caption {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.panel-caption svg {
    stroke: var(--accent);
    fill: none;
}

@keyframes floatPanel {
    0%,100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-18deg) rotateX(8deg) translateY(-15px); }
}

@keyframes cellGlow {
    0%,100% { opacity: 0.8; filter: brightness(1); }
    50% { opacity: 1; filter: brightness(1.3); box-shadow: 0 0 5px #4a90e2; }
}

/* ============= ЕКСПЕРТНИЙ ОГЛЯД ============= */
.expert-final {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
}

.expert-final .section-title-left {
    color: white;
}

.expert-final__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.expert-quote {
    position: relative;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 30px;
    border-left: 4px solid var(--accent);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    stroke: var(--accent);
    fill: none;
    opacity: 0.3;
}

.quote-text {
    color: white;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.expert-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expert-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: white;
    font-size: 1.1rem;
}

.author-info span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.expert-final__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.8rem 1rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.stat-card .stat-icon svg {
    stroke: var(--accent);
    fill: none;
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

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

/* ============= ПРОЦЕС (ТАЙМЛАЙН) ============= */
.process-final {
    padding: 5rem 0;
    background: var(--off-white);
}

.process-timeline {
    max-width: 800px;
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 55px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent), var(--accent), transparent);
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }
.process-step:nth-child(6) { animation-delay: 0.6s; }

.step-marker {
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(11,42,74,0.2);
    border: 3px solid var(--accent);
}

.step-icon svg {
    stroke: white;
    fill: none;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.step-content {
    flex: 1;
    padding-bottom: 2rem;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.step-time {
    display: inline-block;
    padding: 0.2rem 1rem;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============= КОМПЛЕКТАЦІЯ ============= */
.equipment-final {
    padding: 5rem 0;
    background: white;
}

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

.equip-card {
    background: white;
    border-radius: 30px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-light);
}

.equip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3d);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
}

.card-image {
    position: relative;
    height: 180px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 20px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.equip-card:hover .card-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11,42,74,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.equip-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay span {
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
}

.equip-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    color: var(--text-light);
}

.spec-list li svg {
    stroke: var(--accent);
    fill: none;
    flex-shrink: 0;
}

.spec-list li strong {
    color: var(--primary);
}

.components-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

.mini-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--off-white);
    border-radius: 40px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.mini-item svg {
    stroke: var(--accent);
    fill: none;
}

/* ============= ЩО ВХОДИТЬ ============= */
.included-final {
    padding: 5rem 0;
    background: var(--off-white);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.included-item:hover {
    transform: translateX(5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.included-item .item-icon svg {
    stroke: var(--accent);
    fill: none;
}

.item-content {
    flex: 1;
}

.item-content h4 {
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.item-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.item-check svg {
    stroke: var(--accent);
    fill: none;
}

/* ============= ЧОМУ МИ ============= */
.why-final {
    padding: 5rem 0;
    background: white;
}

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

.stat-block {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-primary);
    border-radius: 40px;
    color: white;
    box-shadow: var(--shadow-3d);
}

.stat-figure {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 1rem;
    color: white;
    opacity: 0.9;
}

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

.feature-item {
    text-align: left;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 30px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    stroke: var(--accent);
    fill: none;
}

.feature-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============= SEO ТЕКСТ ============= */
.seo-final {
    padding: 5rem 0;
    background: var(--off-white);
}

.seo-content {
    max-width: 900px;
    margin: 0;
    background: white;
    padding: 3rem;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.seo-content h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: left;
}

.seo-content h3 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    text-align: left;
}

.seo-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    text-align: left;
}

.seo-content ul {
    padding-left: 0;
    margin-bottom: 1.5rem;
    list-style: none;
}

.seo-content li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.seo-content li svg {
    stroke: var(--accent);
    fill: none;
    flex-shrink: 0;
}

/* ============= FAQ ============= */
.faq-final {
    padding: 5rem 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0;
}

.faq-item {
    background: var(--off-white);
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-light);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.summary-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-content svg {
    stroke: var(--accent);
    fill: none;
    flex-shrink: 0;
}

.faq-item summary .chevron-icon {
    stroke: var(--accent);
    fill: none;
    transition: transform 0.3s;
}

.faq-item[open] summary .chevron-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 4.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============= ФОРМА КАЛЬКУЛЯТОРА ============= */
.calculator-final {
    padding: 5rem 0;
    background: var(--gradient-primary);
}

.calculator-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-3d);
}

.card-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 40px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.card-badge-large svg {
    stroke: var(--primary-dark);
    fill: none;
}

.calculator-card h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.card-subtitle {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    text-align: left;
}

.calculator-final__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group svg {
    position: absolute;
    left: 1rem;
    stroke: rgba(255,255,255,0.5);
    fill: none;
    pointer-events: none;
	color: rgb(255 255 255 / 45%);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1rem;
}

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

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.2);
}

.input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFB347' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
}

.input-group select option {
    background: var(--primary);
    color: white;
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox input {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.check-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox input:checked + .check-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.check-custom svg {
    stroke: var(--primary-dark);
    fill: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.checkbox input:checked + .check-custom svg {
    opacity: 1;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.form-note svg {
    stroke: var(--accent);
    fill: none;
}

/* ============= АДАПТИВНІСТЬ ============= */

/* Планшети */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-final__grid,
    .expert-final__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-3d-model {
        order: -1;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .hero-final__content {
        text-align: center;
    }
    
    .hero-final__features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .section-title-left {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .process-timeline {
        margin: 0 auto;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .included-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Мобільні */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .expert-final__stats {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-card {
        padding: 2rem 1.5rem;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-footer .btn {
        width: 100%;
    }
    
    .process-timeline::before {
        left: 50px;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-badges {
        flex-direction: column;
    }
    
    .price-card {
        width: 100%;
        text-align: center;
    }
    
    .price-card__value {
        font-size: 2rem;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .process-timeline::before {
        left: 50px;
    }
    
    .seo-content {
        padding: 1.5rem;
    }
    
    .seo-content h2 {
        font-size: 1.5rem;
    }
    
    .seo-content h3 {
        font-size: 1.2rem;
    }
    
    .included-item {
        flex-wrap: wrap;
    }
}

/* ============= УНІФІКОВАНІ КОЛЬОРИ ІКОНОК ============= */

/* Глобальні правила для всіх іконок - акцентний колір за замовчуванням 
.final-page svg {
    stroke: var(--accent);
    fill: none;
    transition: stroke 0.2s ease;
	color:var(--accent);
}*/

/* Винятки для специфічних випадків */

/* 1. HERO TRUST - іконки акцентні (жовті) на світлому фоні */
.hero-trust .trust-item svg {
    stroke: var(--accent) !important;
}

/* 2. PROCESS FINAL - іконки білі на темному фоні (градієнт) */
.process-final .step-icon svg {
	color: white;
}

/* 3. INCLUDED FINAL - іконки акцентні (жовті) на світлому фоні */
.included-final .item-icon svg,
.included-final .item-check svg {
    color: var(--accent) !important;
}

/* 4. FAQ FINAL - іконки акцентні (жовті) на світлому фоні */
.faq-final .summary-content svg,
.faq-final .chevron-icon {
    stroke: var(--accent) !important;
}

/* 5. CALCULATOR - іконки білі/напівпрозорі на темному фоні */
.calculator-final .input-group svg {
    stroke: rgba(255, 255, 255, 0.5) !important;
	color: rgba(255, 255, 255, 0.5) !important;
}

.calculator-final .card-badge-large svg {
    stroke: var(--primary-dark) !important;
}

.calculator-final .form-note svg {
    stroke: var(--accent) !important;
}

.calculator-final .btn svg {
    stroke: currentColor !important;
}

/* Спеціальні випадки для чекбокса */
.check-custom svg {
    stroke: var(--primary-dark) !important;
}

.checkbox input:checked + .check-custom svg {
    stroke: var(--primary-dark) !important;
}

/* Іконки в картках обладнання */
.equipment-final .spec-list svg {
    stroke: var(--accent) !important;
}

.equipment-final .components-mini svg {
    stroke: var(--accent) !important;
}

/* Іконки в блоці "Чому ми" */
.why-final .feature-icon svg {
    stroke: var(--primary) !important;
}

/* Іконки в статистиці експерта */
.expert-final .stat-icon svg {
    stroke: white !important;
}

.expert-final .quote-icon {
    stroke: var(--accent) !important;
    opacity: 0.3;
}

/* Іконки в SEO-тексті */
.seo-content ul li svg {
    stroke: var(--accent) !important;
}

/* Іконки в Hero */
.hero-final__features li svg {
    stroke: var(--accent) !important;
}

.hero-badges .badge-3d svg {
    stroke: var(--accent) !important;
}

.hero-actions .btn svg {
    stroke: currentColor !important;
}

.panel-caption svg {
    stroke: var(--accent) !important;
}


/* ============= КРЕДИТ ТА БАНКИ ============= */
.credit-promo {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
}

.credit-promo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.credit-promo__content h2 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    text-align: left;
}

.credit-promo__content h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin-top: 1rem;
}

.credit-promo__subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.badge--white {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.credit-promo__stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.credit-promo__stats > div {
    text-align: left;
}

.stat-highlight {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.credit-promo__stats span:last-child {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.credit-promo__banks {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

.credit-promo__banks p {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.banks-grid span {
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    text-align: center;
    font-weight: 500;
    color: white;
    transition: var(--transition);
    border: 1px solid transparent;
}

.banks-grid span:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.3);
}

/* Адаптивність для блоку кредитів */
@media (max-width: 992px) {
    .credit-promo__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .credit-promo__content {
        text-align: center;
    }
    
    .credit-promo__content h2 {
        text-align: center;
    }
    
    .credit-promo__content h2:after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .credit-promo__subtitle {
        text-align: center;
    }
    
    .credit-promo__stats {
        justify-content: center;
    }
    
    .credit-promo__stats > div {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .credit-promo__stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .banks-grid {
        grid-template-columns: 1fr;
    }
    
    .banks-grid span {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .credit-promo {
        padding: 3rem 0;
    }
    
    .stat-highlight {
        font-size: 1.8rem;
    }
}

/* =============================================
   СХЕМА ПІДКЛЮЧЕННЯ СОНЯЧНОЇ ЕЛЕКТРОСТАНЦІЇ v2.0
   Унікальна анімація з 3D-ефектами
   ============================================= */

/* CSS змінні для легкої кастомізації */
:root {
    --ps-sun-primary: #FFB347;
    --ps-sun-secondary: #FF8C42;
    --ps-dc-color: #FF8C42;
    --ps-ac-color: #2c3e50;
    --ps-accent-blue: #4a90e2;
    --ps-panel-dark: #2c3e50;
    --ps-glow-intensity: 0.8;
}

/* Основний контейнер */
.ps-energy-schema {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

/* Декоративний фон з ефектом глибини */
.ps-energy-schema::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,179,71,0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: psBgPulse 8s ease-in-out infinite;
}

.ps-energy-schema::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(74,144,226,0.03) 0%, transparent 70%);
    pointer-events: none;
    animation: psBgPulse 12s ease-in-out infinite reverse;
}

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

/* Заголовок з акцентом */
.ps-section-title-left {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.ps-title-accent {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ps-sun-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--ps-sun-primary), var(--ps-sun-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ОСНОВНИЙ КОНТЕЙНЕР СХЕМИ ===== */
.ps-schema-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 1.8rem;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 70px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 30px 50px -20px rgba(0,0,0,0.3),
        inset 0 1px 3px rgba(255,255,255,0.9);
    position: relative;
    margin-top: 2.5rem;
    border: 1px solid rgba(255,255,255,0.7);
    transition: box-shadow 0.5s ease;
}

.ps-schema-grid:hover {
    box-shadow: 
        0 40px 60px -15px rgba(255,179,71,0.3),
        0 30px 50px -20px rgba(0,0,0,0.3),
        inset 0 1px 3px rgba(255,255,255,0.9);
}

/* Бейджі з неоновим ефектом */
.ps-badge-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.ps-badge-dc, .ps-badge-ac {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ps-badge-dc {
    background: linear-gradient(135deg, #FFB34720, #FF8C4220);
    color: #FF8C42;
    border: 1px solid #FF8C42;
    box-shadow: 0 0 15px rgba(255,140,66,0.3);
}

.ps-badge-ac {
    background: linear-gradient(135deg, #4a90e220, #2c3e5020);
    color: #2c3e50;
    border: 1px solid #2c3e50;
    box-shadow: 0 0 15px rgba(44,62,80,0.2);
}

.ps-badge-dc:hover, .ps-badge-ac:hover {
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.2);
}

/* ===== ЛІВА ЧАСТИНА - СОНЦЕ ТА ПАНЕЛІ ===== */
.ps-dc-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
}

/* Сонце з 3D-ефектом */
.ps-sun-3d {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ps-sun-3d:hover {
    transform: scale(1.1) rotate(5deg);
}

.ps-sun-core {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #fff7b0, #FFB347 60%, #FF8C42);
    border-radius: 50%;
    box-shadow: 
        0 0 40px rgba(255,179,71,0.8),
        0 0 80px rgba(255,179,71,0.4),
        inset -5px -5px 20px rgba(0,0,0,0.3);
    animation: psSunPulse3d 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    will-change: transform, box-shadow;
}

@keyframes psSunPulse3d {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        box-shadow: 0 0 40px rgba(255,179,71,0.8), 0 0 80px rgba(255,179,71,0.4);
    }
    33% { 
        transform: translate(-50%, -50%) scale(1.15) rotate(120deg);
        box-shadow: 0 0 60px rgba(255,179,71,1), 0 0 100px rgba(255,179,71,0.7);
    }
    66% { 
        transform: translate(-50%, -50%) scale(0.95) rotate(240deg);
        box-shadow: 0 0 50px rgba(255,179,71,0.9), 0 0 90px rgba(255,179,71,0.5);
    }
}

.ps-rays-3d-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    animation: psRaysRotate3d 15s linear infinite;
    transform-style: preserve-3d;
    z-index: 4;
}

@keyframes psRaysRotate3d {
    from { transform: translate(-50%, -50%) rotate(0deg) rotateY(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) rotateY(360deg); }
}

.ps-ray-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 5px;
    background: linear-gradient(90deg, 
        transparent, 
        #FFB347, 
        #FF8C42, 
        #FFB347, 
        transparent);
    transform-origin: 0 0;
    opacity: 0;
    border-radius: 5px;
    filter: blur(1px);
    box-shadow: 0 0 15px #FFB347;
    animation: psRayFlash 3s ease-in-out infinite;
}

.ps-ray-3d:nth-child(1) { transform: rotate(0deg) translateX(40px); animation-delay: 0s; }
.ps-ray-3d:nth-child(2) { transform: rotate(45deg) translateX(40px); animation-delay: 0.2s; }
.ps-ray-3d:nth-child(3) { transform: rotate(90deg) translateX(40px); animation-delay: 0.4s; }
.ps-ray-3d:nth-child(4) { transform: rotate(135deg) translateX(40px); animation-delay: 0.6s; }
.ps-ray-3d:nth-child(5) { transform: rotate(180deg) translateX(40px); animation-delay: 0.8s; }
.ps-ray-3d:nth-child(6) { transform: rotate(225deg) translateX(40px); animation-delay: 1s; }
.ps-ray-3d:nth-child(7) { transform: rotate(270deg) translateX(40px); animation-delay: 1.2s; }
.ps-ray-3d:nth-child(8) { transform: rotate(315deg) translateX(40px); animation-delay: 1.4s; }

@keyframes psRayFlash {
    0%, 100% { opacity: 0.3; width: 70px; }
    50% { opacity: 1; width: 110px; }
}

.ps-glow-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,179,71,0.5) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: psGlowPulse3d 4s ease-in-out infinite;
    z-index: 3;
}

@keyframes psGlowPulse3d {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

.ps-label-modern {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,179,71,0.3);
    white-space: nowrap;
    z-index: 10;
    transition: all 0.3s ease;
}

.ps-label-modern:hover {
    background: white;
    box-shadow: 0 15px 25px -8px rgba(255,179,71,0.4);
    border-color: #FFB347;
}

.ps-label-modern svg {
    stroke: #FFB347;
    fill: none;
    width: 18px;
    height: 18px;
    animation: psIconFloat 2s ease-in-out infinite;
}

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

/* Панелі з ефектом появи */
.ps-panels-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}

.ps-panels-3d-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    perspective: 800px;
}

.ps-panel-3d {
    width: 75px;
    height: 90px;
    background: linear-gradient(145deg, #2c3e50, #1a2a3a);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 
        0 20px 30px -8px rgba(0,0,0,0.4),
        inset 0 2px 5px rgba(255,255,255,0.2);
    border: 2px solid rgba(255,179,71,0.3);
    transform: rotateY(0deg) rotateX(0deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: psPanelFloat 5s ease-in-out infinite;
    transform-style: preserve-3d;
    position: relative;
}

.ps-panel-3d:hover {
    transform: rotateY(15deg) rotateX(-5deg) translateY(-10px) scale(1.05);
    border-color: #FFB347;
    box-shadow: 
        0 30px 40px -10px rgba(255,179,71,0.5),
        inset 0 2px 5px rgba(255,255,255,0.3);
}

@keyframes psPanelFloat {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    25% { transform: translateY(-8px) rotateY(3deg); }
    75% { transform: translateY(5px) rotateY(-3deg); }
}

.ps-panel-3d:nth-child(1) { animation-delay: 0s; }
.ps-panel-3d:nth-child(2) { animation-delay: 0.2s; }
.ps-panel-3d:nth-child(3) { animation-delay: 0.4s; }

.ps-cells-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
    height: 100%;
    width: 100%;
}

.ps-cells-grid span {
    background: linear-gradient(135deg, #4a90e2, #2c3e50);
    border-radius: 4px;
    animation: psCellPulseAdvanced 2.5s ease-in-out infinite;
    transform-origin: center;
    box-shadow: 0 0 5px rgba(74,144,226,0.5);
}

@keyframes psCellPulseAdvanced {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1);
        box-shadow: 0 0 5px rgba(74,144,226,0.3);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(74,144,226,0.8);
    }
}

.ps-cells-grid span:nth-child(1) { animation-delay: 0s; }
.ps-cells-grid span:nth-child(2) { animation-delay: 0.3s; }
.ps-cells-grid span:nth-child(3) { animation-delay: 0.6s; }
.ps-cells-grid span:nth-child(4) { animation-delay: 0.9s; }
.ps-cells-grid span:nth-child(5) { animation-delay: 1.2s; }
.ps-cells-grid span:nth-child(6) { animation-delay: 1.5s; }

/* ===== ЦЕНТРАЛЬНА ЧАСТИНА - ІНВЕРТОР ===== */
.ps-inverter-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

/* Покращені енергетичні потоки */
.ps-energy-flows {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    perspective: 1000px;
}

.ps-flow-group {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.ps-flow-group-1 { transform: rotate(-8deg) translateZ(20px); }
.ps-flow-group-2 { transform: rotate(2deg) translateZ(0px); }
.ps-flow-group-3 { transform: rotate(12deg) translateZ(-20px); }

.ps-particle-pro {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #FFB347, #FF8C42, #FFB347);
    border-radius: 50%;
    filter: blur(2px);
    animation: psParticleFlowPro 2.8s linear infinite;
    opacity: 0;
    box-shadow: 0 0 20px #FFB347, 0 0 40px rgba(255,179,71,0.5);
    will-change: transform, opacity;
}

@keyframes psParticleFlowPro {
    0% {
        transform: translateX(-40px) translateY(0) scale(0.3);
        opacity: 0;
    }
    15% {
        opacity: 1;
        transform: translateX(-15px) translateY(-5px) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(30px) translateY(5px) scale(0.9);
    }
    85% {
        opacity: 0.7;
        transform: translateX(70px) translateY(-3px) scale(0.5);
    }
    100% {
        transform: translateX(110px) translateY(0) scale(0.2);
        opacity: 0;
    }
}

.ps-flow-group-1 .ps-particle-pro:nth-child(1) { top: 20%; left: 5%; animation-delay: 0s; }
.ps-flow-group-1 .ps-particle-pro:nth-child(2) { top: 40%; left: 10%; animation-delay: 0.7s; }
.ps-flow-group-1 .ps-particle-pro:nth-child(3) { top: 60%; left: 5%; animation-delay: 1.4s; }
.ps-flow-group-1 .ps-particle-pro:nth-child(4) { top: 80%; left: 15%; animation-delay: 2.1s; }

.ps-flow-group-2 .ps-particle-pro:nth-child(1) { top: 15%; left: 20%; animation-delay: 0.3s; width: 14px; height: 14px; }
.ps-flow-group-2 .ps-particle-pro:nth-child(2) { top: 35%; left: 25%; animation-delay: 1s; width: 10px; height: 10px; }
.ps-flow-group-2 .ps-particle-pro:nth-child(3) { top: 55%; left: 20%; animation-delay: 1.7s; width: 12px; height: 12px; }
.ps-flow-group-2 .ps-particle-pro:nth-child(4) { top: 75%; left: 30%; animation-delay: 2.4s; width: 8px; height: 8px; }

.ps-flow-group-3 .ps-particle-pro:nth-child(1) { top: 25%; left: 35%; animation-delay: 0.5s; }
.ps-flow-group-3 .ps-particle-pro:nth-child(2) { top: 45%; left: 40%; animation-delay: 1.2s; }
.ps-flow-group-3 .ps-particle-pro:nth-child(3) { top: 65%; left: 35%; animation-delay: 1.9s; }
.ps-flow-group-3 .ps-particle-pro:nth-child(4) { top: 85%; left: 45%; animation-delay: 2.6s; }

/* Інвертор з 3D-ефектом */
.ps-inverter-advanced {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transform-style: preserve-3d;
}

.ps-inverter-3d {
    width: 130px;
    height: 160px;
    background: linear-gradient(145deg, #2c3e50, #1a2a3a);
    border-radius: 30px 30px 30px 30px;
    padding: 20px 15px;
    box-shadow: 
        0 30px 40px -15px rgba(0,0,0,0.5),
        0 0 0 2px rgba(255,179,71,0.3),
        inset 0 5px 15px rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transform: rotateX(5deg) rotateY(0deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: psInverterPulse3d 4s ease-in-out infinite;
    border: 2px solid rgba(255,179,71,0.3);
    cursor: pointer;
}

.ps-inverter-3d:hover {
    transform: rotateX(0deg) rotateY(10deg) translateZ(20px) scale(1.05);
    border-color: #FFB347;
    box-shadow: 
        0 40px 50px -15px rgba(255,179,71,0.5),
        0 0 0 3px rgba(255,179,71,0.5),
        inset 0 5px 20px rgba(255,255,255,0.3);
}

@keyframes psInverterPulse3d {
    0%, 100% { transform: rotateX(5deg) rotateY(0deg) scale(1); }
    50% { transform: rotateX(8deg) rotateY(3deg) scale(1.02); }
}

.ps-screen-hologram {
    width: 95%;
    height: 50px;
    background: #0a1a2a;
    border-radius: 12px;
    border: 2px solid #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a90e2;
    font-weight: 700;
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: inset 0 0 15px rgba(74,144,226,0.3);
}

.ps-screen-hologram::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(74,144,226,0.2) 50%,
        transparent 70%
    );
    animation: psHologramScan 3s linear infinite;
}

@keyframes psHologramScan {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.ps-screen-value {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    text-shadow: 0 0 10px rgba(74,144,226,0.8);
}

.ps-percent-sign {
    font-size: 0.8rem;
    margin-left: 2px;
}

.ps-led-indicators {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.ps-led {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: psLedPulseAdvanced 2s infinite;
    position: relative;
}

.ps-led::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: inherit;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
}

.ps-led-green {
    background: #4CAF50;
    box-shadow: 0 0 20px #4CAF50;
}

.ps-led-yellow {
    background: #FFC107;
    box-shadow: 0 0 20px #FFC107;
}

.ps-led-red {
    background: #F44336;
    box-shadow: 0 0 20px #F44336;
}

@keyframes psLedPulseAdvanced {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.ps-led-green { animation-delay: 0s; }
.ps-led-yellow { animation-delay: 0.3s; }
.ps-led-red { animation-delay: 0.6s; }

.ps-wave-bars {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: flex-end;
    height: 35px;
}

.ps-wave-bar {
    width: 5px;
    background: linear-gradient(to top, #FFB347, #FF8C42);
    border-radius: 3px 3px 0 0;
    animation: psWaveBarsPro 1.2s ease-in-out infinite;
    transform-origin: bottom;
    box-shadow: 0 0 15px #FFB347;
}

@keyframes psWaveBarsPro {
    0%, 100% { height: 15px; }
    25% { height: 30px; }
    50% { height: 25px; }
    75% { height: 35px; }
}

.ps-wave-bar:nth-child(1) { animation-delay: 0s; height: 18px; }
.ps-wave-bar:nth-child(2) { animation-delay: 0.2s; height: 24px; }
.ps-wave-bar:nth-child(3) { animation-delay: 0.4s; height: 30px; }
.ps-wave-bar:nth-child(4) { animation-delay: 0.6s; height: 22px; }
.ps-wave-bar:nth-child(5) { animation-delay: 0.8s; height: 28px; }

/* ===== ПРАВА ЧАСТИНА - ЛІЧИЛЬНИК ТА МЕРЕЖА ===== */
.ps-ac-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    position: relative;
}

/* Лічильник з 3D-ефектом */
.ps-meter-advanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}

.ps-meter-3d {
    width: 130px;
    height: 130px;
    background: linear-gradient(145deg, #2c3e50, #1a2a3a);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 
        0 25px 35px -10px rgba(0,0,0,0.4),
        0 0 0 3px rgba(255,179,71,0.2),
        inset 0 -5px 10px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,179,71,0.3);
    transition: all 0.5s ease;
    cursor: pointer;
}

.ps-meter-3d:hover {
    transform: rotate(5deg) scale(1.05);
    border-color: #FFB347;
    box-shadow: 0 30px 45px -8px rgba(255,179,71,0.4);
}

.ps-meter-face {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0f1f2f;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.5);
}

.ps-meter-center-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #FFB347, #FF8C42);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 20px #FFB347;
    animation: psPinGlow 2s ease-in-out infinite;
}

@keyframes psPinGlow {
    0%, 100% { box-shadow: 0 0 20px #FFB347; }
    50% { box-shadow: 0 0 35px #FFB347; }
}

.ps-meter-needle-pro {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 4px;
    height: 50px;
    background: linear-gradient(to top, #FFB347, #FF8C42);
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(20deg);
    animation: psMeterMovePro 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    border-radius: 4px 4px 0 0;
    z-index: 5;
    box-shadow: 0 0 15px #FFB347;
    will-change: transform;
}

@keyframes psMeterMovePro {
    0% { transform: translateX(-50%) rotate(5deg); }
    20% { transform: translateX(-50%) rotate(45deg); }
    40% { transform: translateX(-50%) rotate(75deg); }
    60% { transform: translateX(-50%) rotate(45deg); }
    80% { transform: translateX(-50%) rotate(15deg); }
    100% { transform: translateX(-50%) rotate(5deg); }
}

.ps-scale-numbers {
    position: relative;
    width: 100%;
    height: 100%;
}

.ps-scale-num {
    position: absolute;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ps-scale-num-0 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.ps-scale-num-25 { top: 35px; right: 25px; transform: rotate(45deg); }
.ps-scale-num-50 { top: 50%; right: 15px; transform: translateY(-50%); }
.ps-scale-num-75 { top: 35px; left: 25px; transform: rotate(-45deg); }
.ps-scale-num-100 { top: 15px; left: 50%; transform: translateX(-50%); }

/* Розгалуження з інтерактивністю */
.ps-branch-system {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
}

.ps-branch-unit {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 1rem 1.5rem;
    border-radius: 70px;
    box-shadow: 0 15px 25px -10px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ps-branch-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,179,71,0.1), transparent);
    transition: left 0.6s ease;
}

.ps-branch-unit:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 35px -12px rgba(255,179,71,0.4);
    border-color: #FFB347;
}

.ps-branch-unit:hover::before {
    left: 100%;
}

.ps-branch-icon-3d {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,179,71,0.15), rgba(255,140,66,0.15));
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ps-branch-unit:hover .ps-branch-icon-3d {
    transform: rotate(360deg) scale(1.1);
    border-color: #FFB347;
    background: linear-gradient(135deg, rgba(255,179,71,0.25), rgba(255,140,66,0.25));
}

.ps-branch-icon-3d svg {
    stroke: #FFB347;
    fill: none;
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.ps-branch-unit:hover .ps-branch-icon-3d svg {
    transform: scale(1.1);
    stroke: #FF8C42;
}

.ps-branch-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ps-branch-title-modern {
    display: flex;
    flex-direction: column;
}

.ps-branch-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.2;
}

.ps-branch-sub {
    font-size: 0.8rem;
    color: #888;
}

/* Енергетичні хвилі для дому */
.ps-energy-waves-pro {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ps-wave-pro {
    width: 25px;
    height: 8px;
    background: linear-gradient(90deg, #FFB347, #FF8C42);
    border-radius: 4px;
    animation: psWaveProPulse 2s ease-in-out infinite;
    transform-origin: left;
    filter: blur(0.5px);
}

@keyframes psWaveProPulse {
    0%, 100% { transform: scaleX(1); opacity: 0.7; }
    50% { transform: scaleX(1.3); opacity: 1; }
}

.ps-wave-pro:nth-child(1) { animation-delay: 0s; width: 25px; }
.ps-wave-pro:nth-child(2) { animation-delay: 0.3s; width: 30px; }
.ps-wave-pro:nth-child(3) { animation-delay: 0.6s; width: 35px; }

/* Потоки для мережі */
.ps-flow-dual {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}

.ps-flow-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #666;
    background: rgba(255,255,255,0.7);
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    border: 1px solid rgba(255,179,71,0.3);
    transition: all 0.3s ease;
}

.ps-flow-item:hover {
    background: white;
    border-color: #FFB347;
    transform: translateY(-2px);
}

.ps-flow-item svg {
    stroke: #FFB347;
    fill: none;
    width: 14px;
    height: 14px;
}

.ps-flow-left svg {
    animation: psArrowLeftPro 2s infinite;
}

.ps-flow-right svg {
    animation: psArrowRightPro 2s infinite;
}

@keyframes psArrowLeftPro {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
}

@keyframes psArrowRightPro {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Роздільна лінія */
.ps-divider-modern {
    display: flex;
    justify-content: center;
    margin: 0.3rem 0;
    position: relative;
}

.ps-divider-line {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,179,71,0.5), #FFB347, rgba(255,179,71,0.5), transparent);
    border-radius: 2px;
    animation: psDividerPulse 3s ease-in-out infinite;
}

@keyframes psDividerPulse {
    0%, 100% { opacity: 0.5; width: 70%; }
    50% { opacity: 1; width: 85%; }
}

/* ===== ЛЕГЕНДА З ЕФЕКТОМ ===== */
.ps-legend-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding: 1.2rem 2.5rem;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 70px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

.ps-legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s ease;
    cursor: default;
}

.ps-legend-item:hover {
    transform: translateX(5px);
    color: #2c3e50;
}

.ps-legend-color {
    width: 35px;
    height: 14px;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
}

.ps-legend-color::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: psLegendShine 3s infinite;
}

@keyframes psLegendShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ps-legend-color.ps-dc-gradient {
    background: linear-gradient(90deg, #FFB347, #FF8C42);
}

.ps-legend-color.ps-ac-gradient {
    background: linear-gradient(90deg, #4a90e2, #2c3e50);
}

/* ===== АДАПТИВНІСТЬ ===== */
@media (max-width: 1200px) {
    .ps-schema-grid {
        padding: 2.5rem 2rem;
        gap: 1.2rem;
    }
    
    .ps-panel-3d {
        width: 65px;
        height: 80px;
    }
    
    .ps-inverter-3d {
        width: 110px;
        height: 140px;
    }
    
    .ps-meter-3d {
        width: 110px;
        height: 110px;
    }
    
    .ps-scale-num {
        font-size: 0.7rem;
    }
}

@media (max-width: 992px) {
    .ps-schema-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .ps-dc-section, .ps-ac-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .ps-inverter-section {
        min-height: 300px;
    }
    
    .ps-energy-flows {
        display: none;
    }
    
    .ps-branch-system {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .ps-schema-grid {
        padding: 2rem 1.5rem;
    }
    
    .ps-sun-3d {
        width: 140px;
        height: 140px;
    }
    
    .ps-sun-core {
        width: 65px;
        height: 65px;
    }
    
    .ps-rays-3d-container {
        width: 140px;
        height: 140px;
    }
    
    .ps-ray-3d {
        width: 75px;
    }
    
    .ps-panel-3d {
        width: 60px;
        height: 75px;
    }
    
    .ps-inverter-3d {
        width: 100px;
        height: 125px;
    }
    
    .ps-screen-hologram {
        font-size: 1.2rem;
    }
    
    .ps-meter-3d {
        width: 100px;
        height: 100px;
    }
    
    .ps-meter-needle-pro {
        height: 40px;
    }
    
    .ps-branch-unit {
        padding: 0.9rem 1.2rem;
    }
    
    .ps-branch-icon-3d {
        width: 45px;
        height: 45px;
    }
    
    .ps-branch-icon-3d svg {
        width: 24px;
        height: 24px;
    }
    
    .ps-branch-name {
        font-size: 1rem;
    }
    
    .ps-flow-dual {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .ps-legend-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .ps-panels-3d-group {
        gap: 0.8rem;
    }
    
    .ps-panel-3d {
        width: 55px;
        height: 70px;
    }
    
    .ps-label-modern {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
    
    .ps-badge-dc, .ps-badge-ac {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
    }
    
    .ps-branch-system {
        max-width: 100%;
    }
    
    .ps-branch-unit {
        padding: 0.8rem 1rem;
    }
    
    .ps-branch-icon-3d {
        width: 40px;
        height: 40px;
    }
    
    .ps-branch-icon-3d svg {
        width: 22px;
        height: 22px;
    }
    
    .ps-branch-name {
        font-size: 0.9rem;
    }
    
    .ps-branch-sub {
        font-size: 0.7rem;
    }
    
    .ps-wave-pro {
        width: 18px;
        height: 6px;
    }
    
    .ps-wave-pro:nth-child(2) { width: 22px; }
    .ps-wave-pro:nth-child(3) { width: 26px; }
    
    .ps-flow-item {
        font-size: 0.65rem;
    }
}

@media (max-width: 360px) {
    .ps-panels-3d-group {
        flex-direction: column;
        align-items: center;
    }
    
    .ps-panel-3d {
        width: 70px;
        height: 85px;
    }
    
    .ps-flow-dual {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ============= ВАРІАНТИ КОНФІГУРАЦІЇ ============= */
.config-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
}

.config-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,179,71,0.03) 0%, transparent 70%);
    pointer-events: none;
}

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

.config-card {
    background: white;
    border-radius: 40px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.config-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-3d);
    border-color: var(--accent);
}

.config-card--popular {
    background: linear-gradient(135deg, #ffffff, #fff9f0);
    border: 2px solid var(--accent);
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(255,179,71,0.2);
}

.config-card--popular:hover {
    transform: scale(1.02) translateY(-10px);
}

.config-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    z-index: 2;
    box-shadow: 0 5px 10px rgba(255,179,71,0.3);
}

.config-card--popular .config-badge {
    background: var(--gradient-primary);
    color: white;
}

.config-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.config-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-soft);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.config-card:hover .config-icon {
    background: var(--accent);
    transform: rotate(5deg) scale(1.05);
}

.config-card:hover .config-icon svg {
    stroke: white;
}

.config-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent);
    fill: none;
    transition: stroke 0.3s;
}

.config-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.config-power {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed var(--gray-light);
}

.config-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.config-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-light);
}

.config-list li:last-child {
    border-bottom: none;
}

.config-list li svg {
    stroke: var(--accent);
    fill: none;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.config-list li strong {
    color: var(--primary);
    font-weight: 600;
}

/* Анімація для популярної картки */
.config-card--popular::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,179,71,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Додатковий декоративний елемент */
.config-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,179,71,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============= АДАПТИВНІСТЬ ДЛЯ КОНФІГУРАЦІЇ ============= */
@media (max-width: 1200px) {
    .config-grid {
        gap: 1.5rem;
    }
    
    .config-card {
        padding: 1.5rem;
    }
    
    .config-icon {
        width: 70px;
        height: 70px;
    }
    
    .config-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 992px) {
    .config-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .config-card--popular {
        order: -1;
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .config-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .config-card--popular {
        grid-column: span 1;
        transform: scale(1);
    }
    
    .config-card--popular:hover {
        transform: translateY(-10px);
    }
    
    .config-card {
        padding: 2rem 1.5rem;
    }
    
    .config-icon {
        width: 60px;
        height: 60px;
        border-radius: 20px;
    }
    
    .config-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .config-card h3 {
        font-size: 1.3rem;
    }
    
    .config-power {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .config-section {
        padding: 3rem 0;
    }
    
    .config-card {
        padding: 1.5rem;
    }
    
    .config-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .config-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .config-card h3 {
        font-size: 1.2rem;
    }
    
    .config-list li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
}

/* Анімація появи для карток */
.config-card {
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
}

.config-card:nth-child(1) { animation-delay: 0.1s; }
.config-card:nth-child(2) { animation-delay: 0.3s; }
.config-card:nth-child(3) { animation-delay: 0.5s; }

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

/* ============= ІНВЕРТОРНІ РІШЕННЯ ============= */
.inverter-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

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

.inverter-card {
    background: white;
    border-radius: 40px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.inverter-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-3d);
    border-color: var(--accent);
}

.inverter-card--popular {
    background: linear-gradient(135deg, #ffffff, #fff9f0);
    border: 2px solid var(--accent);
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(255,179,71,0.2);
}

.inverter-card--popular:hover {
    transform: scale(1.02) translateY(-10px);
}

.inverter-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.inverter-header svg {
    width: 64px;
    height: 64px;
    stroke: var(--accent);
    fill: none;
    margin-bottom: 1rem;
}

.inverter-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.inverter-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
}

.inverter-card--popular .inverter-badge {
    background: var(--gradient-accent);
    color: var(--primary-dark);
}

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

.inverter-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-light);
}

.inverter-list li:last-child {
    border-bottom: none;
}

.inverter-list li svg {
    stroke: var(--accent);
    fill: none;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.inverter-list li strong {
    color: var(--primary);
}

@media (max-width: 992px) {
    .inverter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .inverter-grid {
        grid-template-columns: 1fr;
    }
    
    .inverter-card--popular {
        transform: scale(1);
    }
    
    .inverter-card--popular:hover {
        transform: translateY(-10px);
    }
}

/* ============= ГАЛУЗІ ЗАСТОСУВАННЯ ============= */
.industries-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-card {
    background: white;
    border-radius: 30px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
}

.industry-card:nth-child(1) { animation-delay: 0.1s; }
.industry-card:nth-child(2) { animation-delay: 0.15s; }
.industry-card:nth-child(3) { animation-delay: 0.2s; }
.industry-card:nth-child(4) { animation-delay: 0.25s; }
.industry-card:nth-child(5) { animation-delay: 0.3s; }
.industry-card:nth-child(6) { animation-delay: 0.35s; }
.industry-card:nth-child(7) { animation-delay: 0.4s; }
.industry-card:nth-child(8) { animation-delay: 0.45s; }

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-3d);
    border-color: var(--accent);
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent-soft);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.industry-card:hover .industry-icon {
    background: var(--accent);
    transform: rotate(5deg) scale(1.05);
}

.industry-card:hover .industry-icon svg {
    stroke: white;
}

.industry-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent);
    fill: none;
    transition: stroke 0.3s;
}

.industry-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 992px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-card {
        padding: 1.5rem;
    }
    
    .industry-icon {
        width: 70px;
        height: 70px;
    }
    
    .industry-icon svg {
        width: 36px;
        height: 36px;
    }
}



/* ============= ІНВЕСТИЦІЙНА ПРИВАБЛИВІСТЬ ============= */
.investment-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0B2A4A, #1a3f5f);
    color: white;
    position: relative;
    overflow: hidden;
}

.investment-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,179,71,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.investment-stats {
    margin-top: 3rem;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.investment-grid-secondary {
    grid-template-columns: repeat(3, 1fr);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.investment-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
}

.investment-card:nth-child(1) { animation-delay: 0.1s; }
.investment-card:nth-child(2) { animation-delay: 0.2s; }
.investment-card:nth-child(3) { animation-delay: 0.3s; }
.investment-card:nth-child(4) { animation-delay: 0.4s; }

.investment-card-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,179,71,0.3);
}

.investment-card:hover {
    transform: translateY(-10px);
}

.investment-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent);
    fill: none;
    margin-bottom: 1rem;
}

.investment-card-secondary .investment-icon svg {
    stroke: white;
}

.investment-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.investment-card-secondary .investment-value {
    color: white;
}

.investment-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}
.investment-content p {
	color: #ffb347;
}
.investment-note p {
	color: #fff;
}
.investment-comparison {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.investment-comparison h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.comparison-item {
    text-align: center;
}

.comparison-label {
    display: block;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.comparison-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

/* ============= МІЖНАРОДНІ СТАНДАРТИ ============= */
.standards-section {
    padding: 5rem 0;
    background: white;
}

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

.standard-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--off-white);
    border-radius: 30px;
    transition: transform 0.3s;
    border: 1px solid var(--gray-light);
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
}

.standard-card:nth-child(1) { animation-delay: 0.1s; }
.standard-card:nth-child(2) { animation-delay: 0.2s; }
.standard-card:nth-child(3) { animation-delay: 0.3s; }
.standard-card:nth-child(4) { animation-delay: 0.4s; }
.standard-card:nth-child(5) { animation-delay: 0.5s; }

.standard-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.standard-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent);
    fill: none;
    margin-bottom: 1rem;
}

.standard-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.standard-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 1200px) {
    .investment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .investment-grid-secondary {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
    
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .standards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .investment-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-grid-secondary {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .investment-value {
        font-size: 2rem;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
    }
}


/* ============= ЕНЕРГЕТИЧНИЙ ПОТЕНЦІАЛ ============= */
.energy-potential {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

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

.energy-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.energy-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.energy-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.energy-feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--accent);
}

.energy-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.energy-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
}

.energy-feature-text h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.energy-feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.energy-image {
    position: relative;
}

.energy-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    /*box-shadow: var(--shadow-lg);*/
}

.energy-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.energy-image-wrapper:hover img {
    transform: scale(1.02);
}

.energy-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}
.energy-badge span {
	color: white;
}
.energy-badge .badge-icon {
    font-size: 1.2rem;
}

/* ============= АДАПТИВНІСТЬ ============= */
@media (max-width: 992px) {
    .energy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .energy-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .energy-potential {
        padding: 3rem 0;
    }
    
    .energy-feature {
        padding: 0.8rem;
    }
    
    .energy-feature-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    .energy-feature-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .energy-feature-text h4 {
        font-size: 1rem;
    }
    
    .energy-feature-text p {
        font-size: 0.85rem;
    }
    
    .energy-badge {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .energy-subtitle {
        font-size: 1rem;
    }
    
    .energy-badge {
        bottom: 10px;
        right: 10px;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .energy-badge .badge-icon {
        font-size: 1rem;
    }
}


/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ ОБСЛУГОВУВАННЯ ============= */

/* Анімація сканера */
.audit-animation {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.audit-scanner {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #1a2a3a, #0f1a24);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.scanner-panel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 4px;
    height: 100%;
}

.panel-grid span {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    border-radius: 4px;
    animation: panelPulse 3s infinite;
    opacity: 0.7;
}

.panel-grid span:nth-child(odd) { animation-delay: 0s; }
.panel-grid span:nth-child(even) { animation-delay: 1.5s; }

@keyframes panelPulse {
    0%,100% { opacity: 0.7; }
    50% { opacity: 1; background: linear-gradient(135deg, #3a4e62, #2c3e50); }
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,179,71,0.1), rgba(255,140,0,0.05));
    pointer-events: none;
}

.scanner-beam {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,179,71,0.3) 0%, transparent 70%);
    animation: rotateBeam 8s linear infinite;
}

@keyframes rotateBeam {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scanner-hotspot {
    position: absolute;
    top: 40%;
    left: 60%;
    width: 20px;
    height: 20px;
    background: #FF6B6B;
    border-radius: 50%;
    box-shadow: 0 0 20px #FF6B6B;
    animation: pulseHotspot 2s infinite;
}

@keyframes pulseHotspot {
    0%,100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 1; }
}

.thermal-indicators {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.thermal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.thermal-dot.temp-high {
    background: #FF6B6B;
    box-shadow: 0 0 10px #FF6B6B;
    animation: blink 1.5s infinite;
}

.thermal-dot.temp-mid {
    background: #FFB347;
    box-shadow: 0 0 10px #FFB347;
    animation: blink 1.5s infinite 0.5s;
}

.thermal-dot.temp-low {
    background: #4a90e2;
    box-shadow: 0 0 10px #4a90e2;
    animation: blink 1.5s infinite 1s;
}

@keyframes blink {
    0%,100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFB347, transparent);
    animation: scanMove 3s linear infinite;
}

@keyframes scanMove {
    0% { top: -10px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Анімація для великого тепловізора */
.thermal-scan-animation {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #1a2a3a, #0f1a24);
    border-radius: 30px;
    padding: 25px;
    overflow: hidden;
}

.scan-panel-large {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.panel-grid-large {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 5px;
    height: 100%;
}

.panel-grid-large span {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    border-radius: 4px;
    animation: panelGlow 4s infinite;
    opacity: 0.6;
}

.panel-grid-large span:nth-child(3n+1) { animation-delay: 0s; }
.panel-grid-large span:nth-child(3n+2) { animation-delay: 1.3s; }
.panel-grid-large span:nth-child(3n+3) { animation-delay: 2.6s; }

@keyframes panelGlow {
    0%,100% { opacity: 0.6; }
    50% { opacity: 1; background: linear-gradient(135deg, #3a4e62, #2c3e50); }
}

.thermal-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FF6B6B;
    border-radius: 50%;
    box-shadow: 0 0 25px #FF6B6B;
    animation: hotspotGlow 3s infinite;
}

.hotspot:nth-child(1) { animation-delay: 0s; }
.hotspot:nth-child(2) { animation-delay: 0.7s; }
.hotspot:nth-child(3) { animation-delay: 1.4s; }
.hotspot:nth-child(4) { animation-delay: 2.1s; }

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

.scan-line-vertical {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FFB347, transparent);
    animation: scanVertical 4s linear infinite;
}

@keyframes scanVertical {
    0% { left: -10px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.thermal-scale {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.5);
    border-radius: 40px;
    backdrop-filter: blur(5px);
}

.thermal-scale span {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* ============= СПРОЩЕНИЙ АДАПТИВ ДЛЯ ТЕПЛОВІЗІЙНОГО КОНТРОЛЮ ============= */

/* Анімація просто масштабується без зміни структури */
.audit-animation-large {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.thermal-scan-animation {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
    position: relative;
}

/* Масштабування на різних екранах */
@media (max-width: 992px) {
    .thermal-scan-animation {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .thermal-scan-animation {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .panel-grid-large {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .thermal-scan-animation {
        max-width: 320px;
    }
    
    .panel-grid-large {
        gap: 3px;
    }
    
    .hotspot {
        width: 15px;
        height: 15px;
    }
    
    .thermal-scale {
        padding: 6px 10px;
    }
    
    .thermal-scale span {
        width: 16px;
        height: 16px;
    }
}

/* Фікс для контейнера */
@media (max-width: 768px) {
    .energy-image {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0;
    }
    
    .energy-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}




/* Виправлення для hero на адаптиві 
@media (max-width: 768px) {
    .hero-final {
        overflow-x: hidden;
        width: 100%;
    }
    
    .hero-final .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin: 0;
        box-sizing: border-box;
    }
    
    .hero-final__grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hero-3d-model {
        order: -1; 
        width: 100%;
        max-width: 100%;
        margin: 0 auto 2rem auto;
        padding: 0;
        display: flex;
        justify-content: center;
    }
    
    .hero-final__content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .audit-animation {
        max-width: 350px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .audit-animation {
        max-width: 280px;
    }
}
*/
/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ ЗБІЛЬШЕННЯ ПОТУЖНОСТІ ============= */

/* Анімація збільшення потужності */
.upgrade-animation {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.upgrade-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #1a2a3a, #0f1a24);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upgrade-panels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}

.old-panels, .new-panels {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.panel-stack {
    display: flex;
    gap: 5px;
}

.panel-stack span {
    width: 40px;
    height: 60px;
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    border: 1px solid rgba(255,179,71,0.3);
    border-radius: 8px;
    animation: panelFloat 3s infinite;
}

.panel-stack.new span {
    background: linear-gradient(135deg, #FFB347, #FF8C42);
    border: 1px solid rgba(255,255,255,0.3);
}

.panel-stack span:nth-child(1) { animation-delay: 0s; }
.panel-stack span:nth-child(2) { animation-delay: 0.2s; }
.panel-stack span:nth-child(3) { animation-delay: 0.4s; }

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

.panel-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
}

.plus-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseIcon 2s infinite;
}

.plus-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-dark);
    fill: none;
}

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

.upgrade-arrow {
    margin: 10px 0;
    animation: arrowMove 2s infinite;
}

.upgrade-arrow svg {
    stroke: var(--accent);
    fill: none;
}

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

.upgrade-result {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 15px;
    margin-top: 10px;
}

.result-meter {
    width: 100%;
    margin-bottom: 10px;
}

.meter-bar {
    width: 100%;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #FF8C42);
    border-radius: 10px;
    animation: fillUp 3s infinite;
}

@keyframes fillUp {
    0% { width: 0%; }
    50% { width: 50%; }
    100% { width: 50%; }
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

.result-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.energy-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.energy-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: particleFloat 4s infinite;
}

.energy-particles span:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.energy-particles span:nth-child(2) { top: 50%; left: 80%; animation-delay: 1s; }
.energy-particles span:nth-child(3) { top: 70%; left: 30%; animation-delay: 2s; }
.energy-particles span:nth-child(4) { top: 30%; left: 70%; animation-delay: 3s; }

@keyframes particleFloat {
    0%,100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Анімація для великої діаграми */
.upgrade-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 100%;
    min-height: 300px;
    padding: 20px;
    background: linear-gradient(145deg, #1a2a3a, #0f1a24);
    border-radius: 30px;
}

.diagram-before, .diagram-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.diagram-label {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.diagram-bars {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 150px;
}

.diagram-before .bar {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    border-radius: 8px 8px 0 0;
    transition: height 0.3s;
    animation: barPulse 3s infinite;
}

.diagram-after .bar {
    background: linear-gradient(135deg, #FFB347, #FF8C42);
    border-radius: 8px 8px 0 0;
    transition: height 0.3s;
    animation: barPulse 3s infinite;
}

@keyframes barPulse {
    0%,100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.diagram-value {
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

.diagram-arrow svg {
    stroke: var(--accent);
    fill: none;
    width: 40px;
    height: 40px;
    animation: arrowPulse 2s infinite;
}

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

/* Стилі для калькулятора */
.calculator-upgrade {
    margin-top: 2rem;
}

.calculator-label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.calculator-range {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    -webkit-appearance: none;
}

.calculator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(255,179,71,0.5);
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

.calculator-select {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.calculator-select option {
    background: var(--primary);
    color: white;
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.result-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.result-item--highlight {
    background: var(--gradient-accent);
    border: none;
}

.result-item--highlight .result-label,
.result-item--highlight .result-value {
    color: var(--primary-dark);
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.result-item--highlight .result-value {
    color: var(--primary-dark);
}

.calculator-action {
    margin-top: 1rem;
}

.btn--full {
    width: 100%;
}

/* Стилі для іконок послуг */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-soft), #00000047);
}

.service-icon svg {
    width: 64px;
    height: 64px;
    stroke: var(--accent);
    fill: none;
    transition: all 0.3s;
	color:var(--accent);
}

.equip-card:hover .service-icon svg {
    transform: scale(1.1);
    stroke: white;
}

/* Додаткові стилі */
.input-group.full-width {
    grid-column: span 2;
}

.input-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
}

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

.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .calculator-results {
        grid-template-columns: 1fr;
    }
    
    .upgrade-diagram {
        flex-direction: column;
    }
    
    .diagram-arrow {
        transform: rotate(90deg);
    }
	    .hero-3d-model,
    .audit-animation,
    .upgrade-animation,
    .thermal-scan-animation {
        transform: scale(0.8);
    }
}

/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ УЗЕ ============= */

/* Анімація батареї */
.battery-animation {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.battery-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #1a3f5f, #7c7c7c);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.battery-stack {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.battery-cell {
    width: 70px;
    height: 120px;
    background: linear-gradient(145deg, #2c3e50, #1a2a3a);
    border-radius: 15px;
    border: 2px solid rgba(255,179,71,0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    animation: cellFloat 3s infinite;
}

.battery-cell.cell-1 { animation-delay: 0s; }
.battery-cell.cell-2 { animation-delay: 0.5s; }
.battery-cell.cell-3 { animation-delay: 1s; }
.battery-cell.cell-4 { animation-delay: 1.5s; }

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

.battery-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #FFB347, #FF8C42);
    border-radius: 0 0 13px 13px;
    transition: height 0.3s;
    animation: levelGlow 2s infinite;
}

.level-80 { height: 80%; }
.level-60 { height: 60%; }
.level-90 { height: 90%; }
.level-70 { height: 70%; }

@keyframes levelGlow {
    0%,100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: inset 0 0 10px rgba(255,179,71,0.5); }
}

.energy-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-line {
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg, transparent, #FFB347, transparent);
    animation: flowMove 3s linear infinite;
    opacity: 0.5;
}

.flow-line.line-1 { top: 20%; left: 20%; transform: rotate(45deg); animation-delay: 0s; }
.flow-line.line-2 { top: 50%; right: 30%; transform: rotate(-30deg); animation-delay: 1s; }
.flow-line.line-3 { bottom: 30%; left: 40%; transform: rotate(60deg); animation-delay: 2s; }

@keyframes flowMove {
    0% { opacity: 0; transform: scale(1) rotate(45deg) translateY(-20px); }
    50% { opacity: 0.8; transform: scale(1.2) rotate(45deg) translateY(0); }
    100% { opacity: 0; transform: scale(1) rotate(45deg) translateY(20px); }
}

.battery-indicator {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.indicator-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    animation: lightPulse 1.5s infinite;
    box-shadow: 0 0 10px #4CAF50;
}

.indicator-light.light-1 { animation-delay: 0s; }
.indicator-light.light-2 { animation-delay: 0.5s; }
.indicator-light.light-3 { animation-delay: 1s; }

@keyframes lightPulse {
    0%,100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.battery-status {
    width: 100%;
    max-width: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 10px;
    margin-top: 10px;
}

.status-text {
    display: block;
    text-align: center;
    color: white;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.status-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #FF8C42);
    border-radius: 3px;
    animation: fillPulse 3s infinite;
}

@keyframes fillPulse {
    0% { width: 85%; }
    50% { width: 90%; }
    100% { width: 85%; }
}

/* Анімація для схеми день-ніч */
.day-night-cycle {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.cycle-day, .cycle-night {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    animation: cyclePulse 3s infinite;
}

.cycle-day { animation-delay: 0s; }
.cycle-night { animation-delay: 1.5s; }

.cycle-icon {
    font-size: 1.5rem;
}

.cycle-arrow {
    font-size: 1.2rem;
    color: var(--accent);
    animation: arrowMove 1.5s infinite;
}

.cycle-battery, .cycle-home {
    width: 30px;
    height: 30px;
    background: var(--accent);
    border-radius: 5px;
    position: relative;
}

.cycle-battery::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    animation: batteryInner 2s infinite;
}

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

/* Адаптивність - просте масштабування */
@media (max-width: 992px) {
    .battery-animation {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .battery-animation {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .battery-animation {
        transform: scale(0.7);
    }
}


/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ ПРОЕКТУВАННЯ ============= */

/* Анімація 3D-моделювання */
.design-animation {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.design-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #1a2a3a, #0f1a24);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.design-3d-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: viewportRotate 20s linear infinite;
}

@keyframes viewportRotate {
    0% { transform: rotateY(0deg) rotateX(10deg); }
    25% { transform: rotateY(90deg) rotateX(10deg); }
    50% { transform: rotateY(180deg) rotateX(10deg); }
    75% { transform: rotateY(270deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(10deg); }
}

.house-model {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 100px;
    transform-style: preserve-3d;
}

.house-roof {
    position: absolute;
    top: -80px;
    left: --;
    width: 140px;
    height: 40px;
    background: linear-gradient(135deg, #c44, #a33);
    transform: rotateX(30deg);
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
    animation: roofGlow 3s infinite;
}

@keyframes roofGlow {
    0%,100% { opacity: 0.8; }
    50% { opacity: 1; filter: brightness(1.2); }
}

.house-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #789, #567);
    transform: translateZ(10px);
}

.house-window {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ffd700;
    border-radius: 2px;
    animation: windowGlow 2s infinite;
}

.window-1 { bottom: 30px; left: 30px; }
.window-2 { bottom: 30px; right: 30px; }

@keyframes windowGlow {
    0%,100% { opacity: 0.8; box-shadow: 0 0 5px #ffd700; }
    50% { opacity: 1; box-shadow: 0 0 15px #ffd700; }
}

.house-door {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 20px;
    height: 30px;
    background: #8b4513;
    border-radius: 5px 5px 0 0;
}

.solar-panels-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.panel-3d {
    position: absolute;
    width: 15px;
    height: 20px;
    background: linear-gradient(135deg, #2a6, #184);
    border: 1px solid #ffb347;
    transform: rotateY(45deg) rotateX(30deg);
    animation: panelFloat 3s infinite;
}

.panel-3d-1 { top: 30%; left: 30%; animation-delay: 0s; }
.panel-3d-2 { top: 40%; left: 50%; animation-delay: 0.5s; }
.panel-3d-3 { top: 50%; left: 40%; animation-delay: 1s; }
.panel-3d-4 { top: 60%; left: 60%; animation-delay: 1.5s; }
.panel-3d-5 { top: 70%; left: 45%; animation-delay: 2s; }
.panel-3d-6 { top: 80%; left: 55%; animation-delay: 2.5s; }

@keyframes panelFloat {
    0%,100% { transform: rotateY(45deg) rotateX(30deg) translateY(0); }
    50% { transform: rotateY(45deg) rotateX(30deg) translateY(-5px); }
}

.design-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,179,71,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,179,71,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridPulse 3s infinite;
}

@keyframes gridPulse {
    0%,100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.measure-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.measure-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #ffb347, transparent);
}

.measure-line.line-h {
    top: 50%;
    left: 20%;
    width: 60%;
    height: 2px;
    animation: measureMove 3s infinite;
}

.measure-line.line-v {
    top: 20%;
    left: 50%;
    width: 2px;
    height: 60%;
    animation: measureMove 3s infinite reverse;
}

@keyframes measureMove {
    0%,100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.measure-point {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ffb347;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pointPulse 1.5s infinite;
    box-shadow: 0 0 15px #ffb347;
}

@keyframes pointPulse {
    0%,100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.7; }
}

.design-tools {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.tool-icon {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: toolPulse 2s infinite;
}

.tool-icon:nth-child(1) { animation-delay: 0s; }
.tool-icon:nth-child(2) { animation-delay: 0.5s; }
.tool-icon:nth-child(3) { animation-delay: 1s; }
.tool-icon:nth-child(4) { animation-delay: 1.5s; }

@keyframes toolPulse {
    0%,100% { background: rgba(255,255,255,0.1); }
    50% { background: #ffb347; }
}

.tool-icon svg {
    width: 16px;
    height: 16px;
    stroke: white;
    fill: none;
}

.design-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ffb347;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: cursorPulse 1s infinite;
}

.cursor-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 2px solid #ffb347;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 2s infinite;
}

@keyframes cursorPulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes ringPulse {
    0% { width: 20px; height: 20px; opacity: 1; }
    100% { width: 50px; height: 50px; opacity: 0; }
}

/* 3D-візуалізація */
.visualization-3d {
    position: relative;
    overflow: hidden;
}

.visualization-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #2a3a4a, #1a2a3a);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vis-house {
    position: relative;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    animation: houseRotate 10s linear infinite;
}

@keyframes houseRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.vis-roof {
    position: absolute;
    top: -30px;
    left: -10px;
    width: 170px;
    height: 50px;
    background: linear-gradient(135deg, #a55, #833);
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

.vis-panels {
    position: absolute;
    top: 10px;
    left: 30px;
    width: 110px;
    height: 20px;
    background: repeating-linear-gradient(90deg, #4a90e2 0px, #4a90e2 15px, #2a3a4a 15px, #2a3a4a 20px);
    border-radius: 2px;
    animation: panelShine 2s infinite;
}

@keyframes panelShine {
    0%,100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 15px #4a90e2; }
}

.vis-walls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 120px;
    background: linear-gradient(135deg, #89a, #678);
}

.vis-windows {
    position: absolute;
    bottom: 40px;
    left: 30px;
    width: 90px;
    height: 40px;
    background: repeating-linear-gradient(90deg, #ffd700 0px, #ffd700 15px, #678 15px, #678 25px);
    opacity: 0.7;
}

.vis-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,179,71,0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,179,71,0.2) 1px, transparent 1px);
    background-size: 30px 30px;
}

.vis-axes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.axis-x, .axis-y, .axis-z {
    position: absolute;
    background: linear-gradient(90deg, transparent, #ffb347, transparent);
}

.axis-x { width: 100px; height: 2px; transform: rotate(0deg); }
.axis-y { width: 2px; height: 100px; transform: rotate(0deg); }
.axis-z { width: 100px; height: 2px; transform: rotate(45deg); }

.vis-rotate {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 2px solid #ffb347;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 2s linear infinite;
}

@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Адаптивність - просте масштабування */
@media (max-width: 992px) {
    .design-animation,
    .visualization-scene {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .design-animation,
    .visualization-scene {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .design-animation,
    .visualization-scene {
        transform: scale(0.7);
    }
}


/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ ЗЕЛЕНОГО ТАРИФУ ============= */

/* Анімація монет/доходу */
.profit-animation {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.profit-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(174deg, #30c336, #0f1a24);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.coins-stack {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.coin {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255,215,0,0.5);
    animation: coinFloat 3s infinite;
    position: relative;
    border: 2px solid rgba(255,255,255,0.3);
}

.coin::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    top: 20%;
    left: 20%;
}

.coin-value {
    color: #333;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.coin-1 { animation-delay: 0s; transform: rotate(0deg); }
.coin-2 { animation-delay: 0.2s; transform: rotate(15deg); }
.coin-3 { animation-delay: 0.4s; transform: rotate(30deg); }
.coin-4 { animation-delay: 0.6s; transform: rotate(45deg); }
.coin-5 { animation-delay: 0.8s; transform: rotate(60deg); }

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

.profit-graph {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 80px;
    margin: 20px 0;
}

.graph-bar {
    width: 30px;
    background: linear-gradient(180deg, #FFB347, #FF8C42);
    border-radius: 5px 5px 0 0;
    animation: barGrow 2s infinite;
}

.bar-1 { height: 40px; animation-delay: 0s; }
.bar-2 { height: 60px; animation-delay: 0.3s; }
.bar-3 { height: 80px; animation-delay: 0.6s; }
.bar-4 { height: 50px; animation-delay: 0.9s; }
.bar-5 { height: 70px; animation-delay: 1.2s; }

@keyframes barGrow {
    0%,100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.profit-indicator {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 10px 20px;
    backdrop-filter: blur(5px);
    margin: 10px 0;
}

.indicator-value {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.indicator-trend {
    color: #4CAF50;
    font-weight: 600;
    animation: trendPulse 1.5s infinite;
}

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

.euro-protection {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,179,71,0.2);
    border-radius: 50px;
    padding: 8px 16px;
    margin-top: 10px;
    border: 1px solid rgba(255,179,71,0.3);
}

.euro-symbol {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFB347;
}

.protection-text {
    color: white;
    font-size: 0.8rem;
}

.floating-coins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-coins span {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFD700;
    animation: floatAround 5s infinite;
    opacity: 0.5;
}

.floating-coins span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-coins span:nth-child(2) { top: 70%; right: 15%; animation-delay: 1.5s; }
.floating-coins span:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 3s; }
.floating-coins span:nth-child(4) { top: 40%; right: 25%; animation-delay: 4.5s; }

@keyframes floatAround {
    0%,100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(10deg); }
    50% { transform: translate(0, -20px) rotate(20deg); }
    75% { transform: translate(-10px, -10px) rotate(10deg); }
}

/* Схема потоку енергії */
.energy-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(145deg, #192735, #163b5f);
    border-radius: 30px;
    min-height: 200px;
}

.flow-source, .flow-panel, .flow-meter, .flow-money {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    min-width: 60px;
}

.source-icon, .panel-icon, .meter-icon, .money-icon {
    font-size: 2rem;
    animation: iconPulse 2s infinite;
	color: var(--accent);
}

.panel-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4a90e2, #2c3e50);
    border-radius: 5px;
}

.meter-icon {
    width: 30px;
    height: 30px;
    background: #FFB347;
    border-radius: 50%;
}

.source-label, .panel-label, .meter-label, .money-label {
    color: white;
    font-size: 0.7rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #FFB347;
    animation: arrowMove 1.5s infinite;
}

@keyframes arrowMove {
    0%,100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Адаптивність */
@media (max-width: 992px) {
    .profit-animation,
    .energy-flow-diagram {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .profit-animation,
    .energy-flow-diagram {
        transform: scale(0.8);
    }
    
    .energy-flow-diagram {
        gap: 5px;
    }
    
    .flow-arrow {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .profit-animation,
    .energy-flow-diagram {
        transform: scale(0.7);
    }
    
    .coins-stack {
        gap: 5px;
    }
    
    .coin {
        width: 35px;
        height: 35px;
    }
    
    .coin-value {
        font-size: 0.9rem;
    }
}

/* Стилі для калькулятора */
.calculator-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .calculator-results-grid {
        grid-template-columns: 1fr;
    }
}


/* ============= АНІМАЦІЯ NET-BILLING (ІЗОЛЬОВАНА ВЕРСІЯ) ============= */

/* Головний контейнер анімації */
.netbilling-animation {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* Сцена з градієнтним фоном */
.nb-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #ff8c42, #0258a7);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Центральне коло обміну */
.nb-exchange-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

/* Зовнішнє кільце */
.nb-circle-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255,179,71,0.3);
    border-radius: 50%;
    animation: nbRotateSlow 20s linear infinite;
}

/* Внутрішнє пунктирне кільце */
.nb-circle-inner {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 160px;
    height: 160px;
    border: 2px dashed rgba(255,179,71,0.5);
    border-radius: 50%;
    animation: nbRotateReverse 15s linear infinite;
}

@keyframes nbRotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes nbRotateReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Стрілки обміну */
.nb-arrow-left, .nb-arrow-right {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.nb-arrow-left {
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    animation: nbPulseLeft 2s infinite;
}

.nb-arrow-right {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    animation: nbPulseRight 2s infinite;
}

@keyframes nbPulseLeft {
    0%,100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1) translateX(-5px); }
}

@keyframes nbPulseRight {
    0%,100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1) translateX(5px); }
}

.nb-arrow-left svg, .nb-arrow-right svg {
    stroke: var(--primary-dark);
    fill: none;
    width: 20px;
    height: 20px;
}

/* Іконки сонця, будинку та мережі */
.nb-icon {
    position: absolute;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,179,71,0.3);
}

.nb-icon.sun { top: 0; left: 50%; transform: translateX(-50%); }
.nb-icon.home { bottom: 0; left: 50%; transform: translateX(-50%); }
.nb-icon.grid { right: 0; top: 50%; transform: translateY(-50%); }

/* Лінії потоку */
.nb-flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.nb-flow-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: nbFlowWidth 3s infinite;
}

.nb-flow-line.line-1 { top: 30%; left: 0; width: 100%; animation-delay: 0s; }
.nb-flow-line.line-2 { top: 50%; left: 0; width: 100%; animation-delay: 1s; }
.nb-flow-line.line-3 { top: 70%; left: 0; width: 100%; animation-delay: 2s; }

@keyframes nbFlowWidth {
    0% { opacity: 0; transform: scaleX(0.3); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0.3); }
}

/* Цінник */
.nb-price-tag {
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255,179,71,0.15);
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255,179,71,0.3);
}

.nb-price-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
}

.nb-price-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

/* Індикатор балансу */
.nb-balance-indicator {
    width: 100%;
    max-width: 250px;
    margin-top: 15px;
}

.nb-balance-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.nb-balance-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #FF8C42);
    border-radius: 4px;
    animation: nbBalancePulse 3s infinite;
}

@keyframes nbBalancePulse {
    0% { width: 40%; }
    50% { width: 80%; }
    100% { width: 40%; }
}

.nb-balance-text {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

/* ============= АНІМАЦІЯ ЦИКЛУ NET-BILLING (ДЛЯ СЕКЦІЇ "ЯК ПРАЦЮЄ") ============= */

/* Головний контейнер для циклу */
.nb-work-cycle {
    background: linear-gradient(145deg, #357abd, #0f1a24);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    overflow: hidden;
}

/* Контейнер елементів циклу */
.nb-work-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 20px;
}

/* День */
.nb-work-day, .nb-work-night {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 50px;
    border: 1px solid rgba(255,179,71,0.2);
}

.nb-work-time {
    font-weight: 600;
    color: white;
}

/* Стрілки */
.nb-work-arrow-right, .nb-work-arrow-left {
    font-size: 1.2rem;
    color: var(--accent);
}

.nb-work-arrow-right {
    animation: nbWorkArrowRight 1.5s infinite;
}

.nb-work-arrow-left {
    animation: nbWorkArrowLeft 1.5s infinite;
}

.nb-work-action {
    color: var(--accent);
    font-weight: 500;
}

/* Баланс */
.nb-work-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,179,71,0.1);
    padding: 15px;
    border-radius: 50px;
    border: 1px solid var(--accent);
    margin-top: 10px;
}

.nb-work-period {
    color: white;
    font-weight: 600;
}

.nb-work-calc {
    color: var(--accent);
    font-weight: 700;
    animation: nbWorkPulse 2s infinite;
}

/* Анімації для циклу */
@keyframes nbWorkArrowRight {
    0%,100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

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

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

/* ============= АНІМАЦІЯ ДІАГРАМИ NET-BILLING ============= */

/* Головний контейнер діаграми */
.nb-diagram {
    background: linear-gradient(145deg, #357abd, #0f1a24);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    overflow: hidden;
}

/* Проста діаграма */
.nb-diagram-simple {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding: 20px;
}

.nb-diagram-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nb-diagram-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,179,71,0.3);
}

.nb-diagram-node span:first-child {
    font-size: 1.5rem;
}

.nb-diagram-node span:last-child {
    font-size: 0.8rem;
    color: white;
}

/* Стрілки діаграми */
.nb-diagram-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    animation: nbDiagArrowPulse 1.5s infinite;
}

.nb-diagram-arrow.double {
    animation: nbDiagArrowDouble 2s infinite;
}

@keyframes nbDiagArrowPulse {
    0%,100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@keyframes nbDiagArrowDouble {
    0%,100% { opacity: 0.5; }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ============= АДАПТИВНІСТЬ ============= */
@media (max-width: 992px) {
    .netbilling-animation {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .netbilling-animation {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .netbilling-animation {
        transform: scale(0.7);
    }
}

/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ МОНТАЖУ ============= */

/* Анімація монтажу */
.installation-animation {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.installation-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #1a2a3a, #0f1a24);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.roof-base {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(135deg, #4a4a4a, #2a2a2a);
    border-top: 3px solid rgba(255,179,71,0.3);
    display: flex;
    gap: 10px;
    padding: 20px;
    justify-content: center;
    align-items: flex-end;
}

.roof-tile {
    width: 30px;
    height: 20px;
    background: linear-gradient(135deg, #6b6b6b, #3a3a3a);
    border-radius: 4px 4px 0 0;
    transform: skewX(-10deg);
    animation: tileGlint 4s infinite;
}

.roof-tile:nth-child(1) { animation-delay: 0s; }
.roof-tile:nth-child(2) { animation-delay: 1s; }
.roof-tile:nth-child(3) { animation-delay: 2s; }
.roof-tile:nth-child(4) { animation-delay: 3s; }

@keyframes tileGlint {
    0%,100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 10px rgba(255,179,71,0.3); }
}

.installer {
    position: absolute;
    bottom: 30%;
    left: 20%;
    width: 40px;
    height: 60px;
    animation: installerMove 6s infinite;
}

.installer-head {
    position: absolute;
    top: 0;
    left: 10px;
    width: 20px;
    height: 20px;
    background: #FFB347;
    border-radius: 50%;
}

.installer-body {
    position: absolute;
    top: 20px;
    left: 5px;
    width: 30px;
    height: 30px;
    background: #2c3e50;
    border-radius: 10px;
}

.installer-arm {
    position: absolute;
    width: 15px;
    height: 5px;
    background: #2c3e50;
    border-radius: 3px;
}

.installer-arm.left {
    top: 30px;
    left: -5px;
    transform: rotate(30deg);
    animation: armMoveLeft 3s infinite;
}

.installer-arm.right {
    top: 30px;
    right: -5px;
    transform: rotate(-30deg);
    animation: armMoveRight 3s infinite;
}

@keyframes armMoveLeft {
    0%,100% { transform: rotate(20deg) translateX(0); }
    50% { transform: rotate(40deg) translateX(-5px); }
}

@keyframes armMoveRight {
    0%,100% { transform: rotate(-20deg) translateX(0); }
    50% { transform: rotate(-40deg) translateX(5px); }
}

.installer-tool {
    position: absolute;
    top: 25px;
    right: -10px;
    width: 20px;
    height: 5px;
    background: #FFB347;
    border-radius: 2px;
    transform: rotate(-20deg);
    animation: toolVibrate 0.5s infinite;
}

@keyframes toolVibrate {
    0%,100% { transform: rotate(-20deg) translateX(0); }
    50% { transform: rotate(-25deg) translateX(2px); }
}

.panels-stack {
    position: absolute;
    right: 10%;
    bottom: 40%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.panel-stack-item {
    width: 40px;
    height: 8px;
    background: linear-gradient(135deg, #4a90e2, #2c3e50);
    border-radius: 4px;
    animation: stackPulse 2s infinite;
}

.panel-stack-item:nth-child(1) { animation-delay: 0s; }
.panel-stack-item:nth-child(2) { animation-delay: 0.5s; }
.panel-stack-item:nth-child(3) { animation-delay: 1s; }
.panel-stack-item:nth-child(4) { animation-delay: 1.5s; }

@keyframes stackPulse {
    0%,100% { opacity: 0.8; }
    50% { opacity: 1; transform: scaleX(1.1); }
}

.panel-installed {
    position: absolute;
    top: 20%;
    right: 15%;
    display: flex;
    gap: 5px;
}

.panel-1, .panel-2, .panel-3 {
    width: 30px;
    height: 50px;
    background: linear-gradient(135deg, #4a90e2, #2c3e50);
    border: 1px solid rgba(255,179,71,0.3);
    border-radius: 5px;
    transform: rotate(5deg);
    animation: panelFloat 4s infinite;
}

.panel-1 { animation-delay: 0s; }
.panel-2 { animation-delay: 1s; transform: rotate(-2deg); }
.panel-3 { animation-delay: 2s; transform: rotate(3deg); }

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

.mounting-flash {
    position: absolute;
    bottom: 35%;
    left: 25%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #FFB347, transparent);
    border-radius: 50%;
    animation: flashPulse 2s infinite;
    opacity: 0;
}

@keyframes flashPulse {
    0%,100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.progress-indicator {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.progress-step {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,179,71,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    animation: stepPulse 2s infinite;
}

.progress-step.active {
    background: var(--accent);
    border-color: white;
    color: var(--primary-dark);
}

.progress-step:nth-child(1) { animation-delay: 0s; }
.progress-step:nth-child(2) { animation-delay: 0.5s; }
.progress-step:nth-child(3) { animation-delay: 1s; }
.progress-step:nth-child(4) { animation-delay: 1.5s; }

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

/* Типи дахів */
.roof-type {
    width: 100%;
    height: 100%;
    position: relative;
}

.pitched-roof {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    transform: skewX(-10deg);
}

.roof-angle {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(255,179,71,0.1) 0px, rgba(255,179,71,0.1) 5px, transparent 5px, transparent 10px);
}

.panel-on-roof {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 40px;
    height: 30px;
    background: #4a90e2;
    border-radius: 5px;
    animation: panelGlide 3s infinite;
}

@keyframes panelGlide {
    0% { left: 20%; }
    50% { left: 50%; }
    100% { left: 20%; }
}

.flat-roof {
    background: linear-gradient(135deg, #3a4a5a, #1a2a3a);
}

.flat-base {
    width: 100%;
    height: 20px;
    background: #4a5a6a;
    margin-bottom: 10px;
}

.tilted-panels {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tilted-panels::before {
    content: '';
    width: 30px;
    height: 40px;
    background: #4a90e2;
    transform: rotate(15deg);
    animation: tiltPulse 2s infinite;
}

.ground-mount {
    background: linear-gradient(135deg, #3a5a3a, #1a3a1a);
}

.ground {
    width: 100%;
    height: 20px;
    background: #5a6b4a;
    border-radius: 5px;
}

.pile {
    width: 10px;
    height: 40px;
    background: #8a9a8a;
    margin: 10px auto;
}

.ground-panel {
    width: 50px;
    height: 30px;
    background: #4a90e2;
    margin: 0 auto;
    animation: panelTilt 3s infinite;
}

@keyframes panelTilt {
    0%,100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

/* Матеріали шоукейс */
.materials-showcase {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.material-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-3d);
    border: 1px solid rgba(255,255,255,0.2);
}

.material-badge svg {
    stroke: var(--accent);
    fill: none;
    width: 24px;
    height: 24px;
}

/* Анімація процесу */
.installation-process {
    background: linear-gradient(145deg, #1a2a3a, #0f1a24);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.installer-large {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 80px;
    background: #2c3e50;
    border-radius: 15px;
    animation: installerBob 2s infinite;
}

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

.tool-move {
    position: absolute;
    top: 30px;
    right: -10px;
    width: 30px;
    height: 5px;
    background: #FFB347;
    border-radius: 3px;
    animation: toolSpin 1s infinite;
}

@keyframes toolSpin {
    0%,100% { transform: rotate(0deg); }
    50% { transform: rotate(30deg); }
}

.sparks {
    position: absolute;
    top: 40px;
    right: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #FFB347, #FF8C42, transparent);
    border-radius: 50%;
    animation: sparkFlash 0.5s infinite;
}

@keyframes sparkFlash {
    0%,100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

.panel-slide {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 40px;
    height: 60px;
    background: #4a90e2;
    border-radius: 5px;
    animation: panelSlide 3s infinite;
}

@keyframes panelSlide {
    0% { right: 50px; top: 50px; opacity: 1; }
    50% { right: 100px; top: 30px; opacity: 0.8; }
    100% { right: 50px; top: 50px; opacity: 1; }
}

.connection-points {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 5px;
}

.point {
    width: 8px;
    height: 8px;
    background: #FFB347;
    border-radius: 50%;
    animation: pointPulse 1.5s infinite;
}

.point:nth-child(1) { animation-delay: 0s; }
.point:nth-child(2) { animation-delay: 0.5s; }
.point:nth-child(3) { animation-delay: 1s; }

@keyframes pointPulse {
    0%,100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* Адаптивність */
@media (max-width: 992px) {
    .installation-animation {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .installation-animation {
        transform: scale(0.8);
    }
    
    .materials-showcase {
        gap: 1rem;
    }
    
    .material-badge {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .installation-animation {
        transform: scale(0.7);
    }
}

/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ КРЕДИТУВАННЯ ============= */

/* Анімація кредитування */
.credit-animation {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.credit-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(136deg, #1a3f5f, #51280d);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.money-stack {
    position: relative;
    width: 120px;
    height: 80px;
    margin-bottom: 30px;
}

.bill {
    position: absolute;
    width: 100px;
    height: 50px;
    background: linear-gradient(145deg, #8BC34A, #558B2F);
    border: 2px solid #FFB347;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.bill::before {
    content: '₴';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFB347;
    text-shadow: 0 0 5px rgba(255,179,71,0.5);
}

.bill-1 { transform: rotate(-5deg) translateX(-10px); animation: floatBill 3s infinite; }
.bill-2 { transform: rotate(0deg) translateY(10px); animation: floatBill 3s infinite 0.5s; }
.bill-3 { transform: rotate(5deg) translateX(10px) translateY(5px); animation: floatBill 3s infinite 1s; }
.bill-4 { transform: rotate(-3deg) translateY(20px) translateX(-5px); animation: floatBill 3s infinite 1.5s; }
.bill-5 { transform: rotate(3deg) translateY(25px) translateX(5px); animation: floatBill 3s infinite 2s; }

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

.percent-badge {
    background: linear-gradient(135deg, #FFB347, #FF8C42);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(255,179,71,0.3);
    animation: pulseBadge 2s infinite;
}

.percent-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

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

.bank-building {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.bank-column {
    width: 30px;
    height: 60px;
    background: linear-gradient(145deg, #2c3e50, #1a2a3a);
    border-radius: 10px 10px 0 0;
    position: relative;
    animation: columnRise 2s infinite;
}

.bank-column:nth-child(1) { animation-delay: 0s; height: 60px; }
.bank-column:nth-child(2) { animation-delay: 0.3s; height: 75px; }
.bank-column:nth-child(3) { animation-delay: 0.6s; height: 70px; }
.bank-column:nth-child(4) { animation-delay: 0.9s; height: 50px; }

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

.bank-door {
    width: 20px;
    height: 30px;
    background: #FFB347;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: doorGlow 2s infinite;
}

@keyframes doorGlow {
    0%,100% { opacity: 0.7; }
    50% { opacity: 1; box-shadow: 0 0 20px #FFB347; }
}

.calendar-icon, .checkmark-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 40px;
    margin: 5px 0;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,179,71,0.3);
    animation: slideIn 3s infinite;
}

.calendar-icon { animation-delay: 0s; }
.checkmark-icon { animation-delay: 1.5s; }

.calendar-icon svg, .checkmark-icon svg {
    stroke: var(--accent);
    fill: none;
    width: 20px;
    height: 20px;
}

.calendar-icon span, .checkmark-icon span {
    color: white;
    font-size: 0.9rem;
}

@keyframes slideIn {
    0%,100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.money-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFB347;
    border-radius: 50%;
    animation: moneyFlow 4s linear infinite;
}

.flow-particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.flow-particle:nth-child(2) { top: 50%; left: 70%; animation-delay: 1.3s; }
.flow-particle:nth-child(3) { top: 80%; left: 40%; animation-delay: 2.6s; }

@keyframes moneyFlow {
    0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
    20% { opacity: 1; transform: translate(20px, -20px) scale(1); }
    80% { opacity: 1; transform: translate(60px, -60px) scale(0.8); }
    100% { transform: translate(100px, -100px) scale(0.2); opacity: 0; }
}

/* Анімація графіка прибутку */
.profit-chart {
    background: linear-gradient(145deg, #357abd, #1a3f5f);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    height: 200px;
    padding: 20px;
}

.chart-bar {
    position: relative;
    width: 60px;
    background: linear-gradient(135deg, #FFB347, #FF8C42);
    border-radius: 15px 15px 0 0;
    animation: barRise 1.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 10px;
    box-shadow: 0 -5px 15px rgba(255,179,71,0.3);
}

.bar-1 { height: 120px; animation-delay: 0s; }
.bar-2 { height: 180px; animation-delay: 0.2s; }
.bar-3 { height: 70px; animation-delay: 0.4s; }

@keyframes barRise {
    from { height: 0; opacity: 0; }
    to { height: var(--height); opacity: 1; }
}

.bar-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: white;
    white-space: nowrap;
}

.bar-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(255,255,255,0.9);
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Адаптивність - просте масштабування */
@media (max-width: 992px) {
    .credit-animation {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .credit-animation {
        transform: scale(0.8);
    }
    
    .chart-container {
        gap: 20px;
    }
    
    .chart-bar {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .credit-animation {
        transform: scale(0.7);
    }
    
    .bill {
        width: 80px;
        height: 40px;
    }
    
    .bank-column {
        width: 25px;
    }
    
    .chart-bar {
        width: 40px;
    }
}

/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ КРЕДИТУ ============= */



.credit-percent {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 20px;
    animation: percentPulse 2s infinite;
}

.percent-zero {
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255,179,71,0.5);
}

.percent-sign {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,179,71,0.7);
    margin-left: 5px;
}

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

.credit-coins {
    position: relative;
    width: 150px;
    height: 100px;
    margin: 10px 0;
}

.coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0B2A4A;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
    animation: coinFloat 3s infinite;
}

.coin-1 { top: 0; left: 0; animation-delay: 0s; }
.coin-2 { top: 20px; left: 40px; animation-delay: 0.5s; }
.coin-3 { top: 10px; left: 80px; animation-delay: 1s; }
.coin-4 { top: 30px; left: 110px; animation-delay: 1.5s; }

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

.credit-calculator {
    width: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,179,71,0.3);
}

.calc-screen {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    text-align: right;
}

.calc-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.calc-buttons span {
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    animation: buttonBlink 1.5s infinite;
}

.calc-buttons span:nth-child(1) { animation-delay: 0s; }
.calc-buttons span:nth-child(2) { animation-delay: 0.2s; }
.calc-buttons span:nth-child(3) { animation-delay: 0.4s; }
.calc-buttons span:nth-child(4) { animation-delay: 0.6s; }

@keyframes buttonBlink {
    0%,100% { opacity: 0.3; }
    50% { opacity: 0.8; background: var(--accent); }
}

.credit-stats {
    width: 100%;
    max-width: 200px;
    background: rgba(255,179,71,0.15);
    border-radius: 20px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid var(--accent);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
}

.bank-cards {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.bank-card {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    color: white;
    border: 1px solid rgba(255,179,71,0.3);
    animation: cardPulse 2s infinite;
}

.bank-card:nth-child(1) { animation-delay: 0s; }
.bank-card:nth-child(2) { animation-delay: 0.3s; }
.bank-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes cardPulse {
    0%,100% { background: rgba(255,255,255,0.1); }
    50% { background: rgba(255,179,71,0.2); border-color: var(--accent); }
}

/* ============= ЕКОНОМІЧНА ЕФЕКТИВНІСТЬ - ПОВНІСТЮ ПЕРЕРОБЛЕНО ============= */

.credit-chart {
    background: linear-gradient(146deg, #1c5c99, #18212b);
    border-radius: 30px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,179,71,0.2);
}

/* Заголовок діаграми */
.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-align: center;
    background: rgba(255,179,71,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,179,71,0.3);
}

/* Контейнер для діаграми */
.chart-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin: 20px 0;
}

/* Блок "Ви платите" */
.chart-block {
    flex: 1;
    max-width: 180px;
    text-align: center;
}

.block-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.block-label svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
}

.block-label span {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

/* Картка з цифрою */
.amount-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 15px;
    border: 1px solid rgba(255,179,71,0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.amount-card.payment {
    background: rgba(255,179,71,0.15);
    border-color: var(--accent);
}

.amount-card.saving {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
}

.amount-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}

.payment .amount-value {
    color: var(--accent);
}

.saving .amount-value {
    color: #4CAF50;
}

.amount-period {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* Стрілка порівняння */
.comparison-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow-icon {
    font-size: 2.5rem;
    color: #4CAF50;
    animation: arrowBounce 1.5s infinite;
}

.arrow-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

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

/* Результат - чистий прибуток */
.profit-result {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 15px 25px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.profit-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,179,71,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profit-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
    fill: none;
}

.profit-text {
    flex: 1;
}

.profit-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3px;
}

.profit-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4CAF50;
}

/* Таблиця з цифрами */
.chart-table {
    width: 100%;
    margin-top: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.header {
    background: rgba(255,179,71,0.1);
    font-weight: 600;
    color: var(--accent);
}

.table-cell {
    color: white;
    font-size: 0.95rem;
}

.table-cell.highlight {
    color: #4CAF50;
    font-weight: 600;
}

/* Анімація для цифр */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.amount-value {
    animation: countUp 1s ease-out;
}

/* Адаптивність */
@media (max-width: 768px) {
    .chart-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .arrow-icon {
        font-size: 2rem;
    }
    
    .profit-result {
        flex-direction: column;
        text-align: center;
    }
    
    .profit-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .amount-value {
        font-size: 1.5rem;
    }
    
    .profit-value {
        font-size: 1.1rem;
    }
    
    .table-row {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* Стилі для калькулятора */
.calculator-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.calculator-note svg {
    stroke: var(--accent);
    fill: none;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Стилі для форми */
.input-group.full-width {
    grid-column: span 2;
}

.input-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
}

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

.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .input-group.full-width {
        grid-column: span 1;
    }
}


/* ============= АНІМАЦІЇ ДЛЯ СТОРІНКИ ДЕМОНТАЖУ ============= */

/* Покращена анімація демонтажу */
.dismantling-animation {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.dismantling-scene {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, #0e3252, #0f1a24);
    border-radius: 30px;
    padding: 25px 20px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stage {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 15px;
    border: 1px solid rgba(255,179,71,0.2);
    position: relative;
}

.stage-label {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Етап 1: Демонтаж */
.house-with-panels {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10px;
}

.house-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255,179,71,0.3));
}

.panels-on-roof {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.panels-on-roof .panel {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    border: 2px solid var(--accent);
    border-radius: 6px;
    animation: panelPulse 2s infinite;
}

.panels-on-roof .panel:nth-child(1) { animation-delay: 0s; }
.panels-on-roof .panel:nth-child(2) { animation-delay: 0.2s; }
.panels-on-roof .panel:nth-child(3) { animation-delay: 0.4s; }
.panels-on-roof .panel:nth-child(4) { animation-delay: 0.6s; }

@keyframes panelPulse {
    0%,100% { transform: scale(1); border-color: var(--accent); }
    50% { transform: scale(1.05); border-color: #fff; box-shadow: 0 0 10px var(--accent); }
}

.dismantling-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
}

.worker-tools {
    display: flex;
    gap: 10px;
    font-size: 1.2rem;
    animation: toolsMove 2s infinite;
}

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

.removing-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    animation: arrowPulse 1s infinite;
}

@keyframes arrowPulse {
    0%,100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(5px); opacity: 1; }
}

/* Етап 2: Пакування та перевезення */
.packing-area {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 15px;
}

.packed-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.packed-panel {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    border: 2px solid var(--accent);
    border-radius: 4px;
    opacity: 0.8;
}

.packing-box {
    font-size: 2rem;
    animation: boxMove 3s infinite;
}

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

.truck-animation {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.truck {
    font-size: 2rem;
    animation: truckDrive 4s infinite;
}

@keyframes truckDrive {
    0% { transform: translateX(-20px); }
    25% { transform: translateX(0); }
    75% { transform: translateX(20px); }
    100% { transform: translateX(-20px); }
}

.moving-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: lineMove 2s infinite;
}

@keyframes lineMove {
    0% { opacity: 0; width: 0; }
    50% { opacity: 1; width: 50px; }
    100% { opacity: 0; width: 0; }
}

/* Етап 3: Монтаж на новому місці */
.new-house {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10px;
}

.panels-installing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.panels-installing .panel {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    border: 2px solid var(--accent);
    border-radius: 6px;
    opacity: 0;
    animation: panelInstall 3s infinite;
}

.panels-installing .panel:nth-child(1) { animation-delay: 0s; }
.panels-installing .panel:nth-child(2) { animation-delay: 0.5s; }
.panels-installing .panel:nth-child(3) { animation-delay: 1s; }
.panels-installing .panel:nth-child(4) { animation-delay: 1.5s; }

@keyframes panelInstall {
    0% { opacity: 0; transform: translateY(-20px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

.install-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.worker {
    font-size: 1.5rem;
    animation: workerMove 2s infinite;
}

@keyframes workerMove {
    0%,100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.install-check {
    font-size: 1.5rem;
    color: #4CAF50;
    animation: checkPulse 1s infinite;
}

@keyframes checkPulse {
    0%,100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Індикатор прогресу */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,179,71,0.2);
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    border: 2px solid rgba(255,179,71,0.3);
}

.progress-step.active {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    animation: stepPulse 1.5s infinite;
}

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

.progress-line {
    width: 40px;
    height: 2px;
    background: rgba(255,179,71,0.3);
    margin: 0 5px;
}

/* Адаптивність */
@media (max-width: 768px) {
    .dismantling-animation {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .dismantling-animation {
        transform: scale(0.8);
    }
    
    .stage-label {
        font-size: 0.7rem;
    }
    
    .progress-line {
        width: 20px;
    }
}

/* Анімація ризиків */
.risk-animation {
    background: linear-gradient(145deg, #0e3252, #0f1a24);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.risk-meter {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin-bottom: 30px;
}

.risk-scale {
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, #4CAF50, #FFC107, #F44336);
    border-radius: 10px;
    overflow: hidden;
}

.risk-level {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #FFC107, #F44336);
    opacity: 0.5;
}

.risk-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.risk-indicator {
    position: absolute;
    top: -10px;
    width: 4px;
    height: 40px;
    background: white;
    transform: translateX(-50%);
    animation: riskMove 3s infinite;
}

@keyframes riskMove {
    0%,100% { left: 20%; }
    50% { left: 85%; }
}

.risk-text {
    text-align: center;
    color: white;
    font-weight: 600;
    margin-top: 10px;
}

.warning-icons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.warning {
    font-size: 1.5rem;
    animation: warningFlash 1.5s infinite;
}

.warning:nth-child(1) { animation-delay: 0s; }
.warning:nth-child(2) { animation-delay: 0.5s; }
.warning:nth-child(3) { animation-delay: 1s; }

@keyframes warningFlash {
    0%,100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Адаптивність - просте масштабування */
@media (max-width: 992px) {
    .dismantling-animation {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .dismantling-animation {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .dismantling-animation {
        transform: scale(0.7);
    }
}

/* ============= КАЛЬКУЛЯТОР ПРЕМІУМ ============= */
.calculator-premium {
    margin-top: 2rem;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.control-group {
    width: 100%;
}

.calculator-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.calculator-label strong {
    color: var(--accent);
    font-size: 1.1rem;
}

.calculator-range {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    -webkit-appearance: none;
}

.calculator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(255,179,71,0.5);
    transition: transform 0.2s;
}

.calculator-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.2rem;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

.calculator-select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s;
}

.calculator-select:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--accent);
}

.calculator-select option {
    background: var(--primary);
    color: white;
}

.calculator-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.result-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}

.result-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.result-item--highlight {
    background: var(--gradient-accent);
    border: none;
    grid-column: span 2;
}

.result-item--highlight .result-label,
.result-item--highlight .result-value {
    color: var(--primary-dark);
}

.result-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.result-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.calculator-action {
    margin-top: 1.5rem;
}

.btn--full {
    width: 100%;
}

@media (min-width: 768px) {
    .calculator-results-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .result-item--highlight {
        grid-column: span 1;
    }
    
    .result-value {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .result-value {
        font-size: 1.4rem;
    }
}

/* ============= ДОДАТКОВІ СТИЛІ ДЛЯ СЛАЙДЕРА ============= */
.testimonials-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    z-index: 10;
}

.slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
    background: var(--gradient-accent);
}

.slider-nav svg {
    stroke: white;
    fill: none;
}

.slider-nav--prev { left: 0; }
.slider-nav--next { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    width: 30px;
    border-radius: 5px;
    background: var(--accent);
}

