/* Variables and Reset */
:root {
    --primary-color: #0066FF; /* Яркий синий */
    --primary-dark: #0047b3;
    --secondary-color: #00C2FF; /* Голубой акцент */
    --text-main: #1A1A24;
    --text-gray: #6B7280;
    --bg-main: #FFFFFF;
    --bg-light: #F3F4F6;
    --bg-dark: #111827;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 16px;
    --radius-md: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-white { color: #fff; }
.text-gray { color: #D1D5DB; }
.w-100 { width: 100%; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Container & Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: #fff; }

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background-color: #fff;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background-color: #F9FAFB;
    border-color: #D1D5DB;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-premium {
    color: var(--primary-color);
    font-weight: 300;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-phone {
    padding: 8px 20px;
}

.burger-menu {
    position: relative;
    width: 25px;
    height: 19px;
    display: none;
    cursor: pointer;
}

.burger-menu span {
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 8px; }
.burger-menu span:nth-child(3) { top: 16px; }

.burger-menu.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
    background-color: transparent;
}

.burger-menu.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    display: flex;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.blob-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background-color: #E0F2FE; /* Light blue */
}

.blob-2 {
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background-color: #DBEAFE; /* Very light blue */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: #E0F2FE;
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #EFF6FF;
    border-radius: 50%;
    color: var(--primary-color);
}

/* Visual Mesh Animation */
.visual-card {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.visual-frame {
    width: 70%;
    height: 80%;
    border: 12px solid #E5E7EB; /* White/Gray frame */
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-color: #F9FAFB;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.visual-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 4px 4px; /* Small mesh effect */
}

.floating-badge {
    position: absolute;
    background: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: 15%;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 25%;
    left: -30px;
    animation-delay: 2s;
}

.badge-3 {
    top: 25%;
    left: -20px;
    animation-delay: 1s;
}

.badge-4 {
    bottom: 15%;
    right: -30px;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Cards Grid */
.grid {
    display: grid;
    gap: 30px;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #DBEAFE;
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background-color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    transform: scale(1.05);
    background: linear-gradient(180deg, #1E3A8A 0%, #111827 100%);
    color: #fff;
    border: 2px solid var(--primary-color);
    z-index: 2;
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
}

.pricing-card.popular .pricing-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

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

.pricing-list {
    list-style: none;
    flex-grow: 1;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 1.05rem;
}

.pricing-card.popular .pricing-list li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.pricing-list b {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Pricing Notes */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.note-item {
    display: flex;
    gap: 15px;
}

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

.note-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Services */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.service-box-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Measure Section */
.measure-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 60px;
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media (max-width: 900px) {
    .measure-card {
        flex-direction: column;
        padding: 40px 20px;
    }
}

.measure-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.measure-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.measure-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.measure-card .highlight {
    color: #A5F3FC; /* Cyan light */
}

.measure-steps {
    list-style: none;
    margin: 30px 0;
}

.measure-steps li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.measure-steps span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-weight: 700;
}

.alert-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.2);
}

.alert-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Gallery / Portfolio */
.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 1;
    pointer-events: none;
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 15px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
    transition: transform 0.3s ease, color 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(-5px);
    color: var(--secondary-color);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    height: 150px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    animation: zoomIn 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform:scale(0.9); opacity:0}
    to {transform:scale(1); opacity:1}
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 80px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-contacts h3 {
    font-size: 1.3rem;
}

.contact-methods {
    margin-bottom: 20px;
}

.big-phone {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.big-phone:hover {
    color: var(--primary-color);
}

.contact-name {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-gray);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-telegram {
    background-color: #0088cc;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 15px;
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

.btn-max {
    background-color: #6C5CE7;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 15px;
}

.btn-max:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.qr-section {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-title {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.qr-grid {
    display: flex;
    gap: 20px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-item img {
    width: 100px;
    height: 100px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    object-fit: cover;
}

.qr-item span {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }

    .visual-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

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

@media (max-width: 1024px) {
    .nav-links, .nav-phone {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .measure-card {
        padding: 40px 20px;
    }

    .big-phone {
        font-size: 1.4rem;
    }
}

/* Reviews Section */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    color: #f59e0b;
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    overflow-wrap: break-word;
    word-break: break-word;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star-rating span {
    font-size: 35px;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating span.active {
    color: #f59e0b;
}

.star-rating span:hover {
    transform: scale(1.1);
}
