/* =====================================================
   AVIKOR BREST - Modern Website Styles
   ===================================================== */

/* CSS Variables */
:root {
    --primary: #5BADD8;
    --primary-dark: #4a9ac5;
    --primary-light: #7fc4e8;
    --secondary: #1a2744;
    --secondary-light: #2d3e5c;
    --accent: #f0b429;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;
    --success: #22c55e;
    --error: #ef4444;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* =====================================================
   Preloader
   ===================================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

.preloader-logo {
    width: 100px;
    height: 70px;
}

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

.logo-a {
    animation: pulse 1.5s ease-in-out infinite;
}

.logo-bar {
    animation: slideIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

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

/* =====================================================
   Navigation
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

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

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Light logo for hero section (transparent navbar) */
.logo-light {
    display: block;
    filter: none;
}

.logo-dark {
    display: none;
}

/* When scrolled - swap to dark logo */
.navbar.scrolled .logo-light {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: block;
    filter: none;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-city {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navbar transparent state (hero section) */
.navbar:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
    mix-blend-mode: normal;
}

.navbar:not(.scrolled) .logo-name {
    color: var(--white);
}

.navbar:not(.scrolled) .logo-city {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer logo */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
    mix-blend-mode: normal;
}

.footer-logo .logo-name {
    font-size: 1.5rem;
    color: var(--white);
}

.footer-logo .logo-city {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(91, 173, 216, 0.1);
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.nav-contact {
    display: none;
}

@media (min-width: 768px) {
    .nav-contact {
        display: block;
    }
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.navbar:not(.scrolled) .nav-phone {
    background: var(--white);
    color: var(--secondary);
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar:not(.scrolled) .nav-toggle span {
    background: var(--white);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 100px 24px 40px;
    align-items: flex-start;
    gap: 8px;
    animation: fadeIn var(--transition-slow) ease;
}

.nav-menu.active .nav-link {
    color: var(--secondary);
    font-size: 18px;
    width: 100%;
}

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

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(91, 173, 216, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 0 40px;
    }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    transition: color var(--transition);
}

.scroll-indicator:hover {
    color: var(--white);
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    animation: scroll-wheel 2s ease infinite;
}

@keyframes scroll-wheel {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateY(8px);
    }
}

/* =====================================================
   Section Styles
   ===================================================== */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(91, 173, 216, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* =====================================================
   About Section
   ===================================================== */
.about {
    padding: 100px 0;
    background: var(--gray-100);
}

.about-grid {
    display: grid;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.about-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.about-visual {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .about-visual {
        display: block;
    }
}

.visual-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.main-card {
    box-shadow: var(--shadow-2xl);
}

.main-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40px;
    left: -20px;
    animation-delay: 3s;
}

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

.card-stat {
    text-align: center;
}

.card-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.card-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* =====================================================
   Products Section
   ===================================================== */
.products {
    padding: 100px 0;
}

.products-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.filter-btn:hover {
    color: var(--primary);
    background: rgba(91, 173, 216, 0.1);
}

.filter-btn.active {
    color: var(--white);
    background: var(--primary);
}

.products-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 39, 68, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.product-card:hover .product-overlay {
    opacity: 0;
}

.product-btn {
    padding: 12px 24px;
    background: var(--white);
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transform: translateY(10px);
    transition: all var(--transition);
}

.product-card:hover .product-btn {
    transform: translateY(0);
}

.product-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-content {
    padding: 20px;
}

.product-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.products-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
}

.products-cta p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* =====================================================
   Clients Section
   ===================================================== */
.clients {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.clients-showcase {
    display: grid;
    gap: 24px;
    margin-bottom: 60px;
}

@media (min-width: 640px) {
    .clients-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .clients-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

.client-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: all var(--transition-slow);
    border: 1px solid var(--gray-200);
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.client-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 173, 216, 0.1);
    color: var(--primary);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.client-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.client-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .trust-indicators {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact {
    padding: 100px 0;
    background: var(--secondary);
}

.contact-grid {
    display: grid;
    gap: 60px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }
}

.contact .section-tag {
    background: rgba(91, 173, 216, 0.2);
}

.contact .section-title {
    color: var(--white);
}

.contact-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--white);
}

.phone-icon {
    background: var(--primary);
}

.email-icon {
    background: var(--accent);
}

.method-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.method-value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--white);
}

.messengers-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.messenger-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.messenger-btn.telegram {
    background: #0088cc;
}

.messenger-btn.telegram:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.messenger-btn.whatsapp {
    background: #25D366;
}

.messenger-btn.whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.messenger-btn.viber {
    background: #7360F2;
}

.messenger-btn.viber:hover {
    background: #6050e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(115, 96, 242, 0.4);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 32px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: inherit;
    color: var(--secondary);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--gray-500);
    pointer-events: none;
    transition: all var(--transition);
    background: transparent;
    padding: 0 4px;
}

.form-group textarea + label {
    top: 20px;
    transform: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--primary);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.contact-form .btn {
    margin-top: 8px;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--dark);
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr 2fr;
        gap: 60px;
    }
}

/* footer-logo styles defined above in navigation section */

.footer-desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links {
    display: grid;
    gap: 32px;
}

@media (min-width: 640px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-500);
    padding: 6px 0;
    transition: all var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: all var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer-legal p {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-copyright {
    font-size: 14px;
    color: var(--gray-600);
}

/* =====================================================
   Back to Top Button
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* =====================================================
   Animations & Utilities
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll animations - optimized */
.section-header,
.about-content,
.about-visual,
.product-card,
.contact-info,
.contact-form-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
}

.section-header.visible,
.about-content.visible,
.about-visual.visible,
.product-card.visible,
.contact-info.visible,
.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =====================================================
   Problem Section
   ===================================================== */
.problem {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

.problem-intro {
    font-size: 1.125rem;
    color: var(--gray-700);
    max-width: 800px;
    margin-bottom: 48px;
    line-height: 1.8;
}

.problem-intro strong {
    color: var(--secondary);
}

.problem-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.problem-card {
    padding: 32px;
    border-radius: var(--radius-xl);
}

.problem-card.negative {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.problem-card.positive {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.problem-card.negative h3 {
    color: #991b1b;
}

.problem-card.positive h3 {
    color: #166534;
}

.problem-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.problem-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.problem-card.negative li {
    color: #7f1d1d;
}

.problem-card.positive li {
    color: #14532d;
}

.problem-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.problem-card.negative li::before {
    background: #ef4444;
}

.problem-card.positive li::before {
    background: #22c55e;
}

/* =====================================================
   Solutions Section
   ===================================================== */
.solutions {
    padding: 100px 0;
    background: var(--white);
}

.solutions-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 60px;
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border: 1px solid var(--gray-200);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.solution-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    padding: 28px;
}

.solution-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.solution-content > p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.solution-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: rgba(91, 173, 216, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235BADD8' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.benefits-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 48px;
    border-radius: var(--radius-2xl);
}

.benefits-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.benefit-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* =====================================================
   Results Section
   ===================================================== */
.results-section {
    margin-top: 60px;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 32px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
}

.result-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
}

.result-icon.positive {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* =====================================================
   Image Placeholders
   ===================================================== */
.image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.image-placeholder svg {
    opacity: 0.6;
}

.image-placeholder span {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

.image-placeholder.large svg {
    width: 80px;
    height: 80px;
}

.product-image .image-placeholder {
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    color: var(--gray-500);
}

.main-card .image-placeholder {
    background: linear-gradient(135deg, var(--gray-300) 0%, var(--gray-400) 100%);
    color: var(--gray-600);
}

/* Hide placeholder when image loads */
.product-image img:not([src=""]):not([src$=".jpg"]):not([src$=".png"]):not([src$=".webp"]) + .image-placeholder,
.solution-image img:not([src=""]):not([src$=".jpg"]):not([src$=".png"]):not([src$=".webp"]) + .image-placeholder,
.main-card img:not([src=""]):not([src$=".jpg"]):not([src$=".png"]):not([src$=".webp"]) + .image-placeholder {
    display: flex;
}

.product-image img[src$=".jpg"] + .image-placeholder,
.product-image img[src$=".png"] + .image-placeholder,
.product-image img[src$=".webp"] + .image-placeholder,
.solution-image img[src$=".jpg"] + .image-placeholder,
.solution-image img[src$=".png"] + .image-placeholder,
.solution-image img[src$=".webp"] + .image-placeholder,
.main-card img[src$=".jpg"] + .image-placeholder,
.main-card img[src$=".png"] + .image-placeholder,
.main-card img[src$=".webp"] + .image-placeholder {
    display: none;
}

/* Position product image for placeholder overlay */
.product-image {
    position: relative;
}

.product-image img {
    position: relative;
    z-index: 1;
}

.product-image img[src=""],
.product-image img:not([src]) {
    opacity: 0;
}

/* =====================================================
   Stat Number Animation Fix
   ===================================================== */
.stat-number::after {
    content: '+';
}

.stat-number[data-count="9"]::after {
    content: '';
}

/* =====================================================
   Solutions Section - New Layout
   ===================================================== */
.solutions-content-grid {
    display: grid;
    gap: 40px;
    align-items: start;
}

@media (min-width: 1024px) {
    .solutions-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }
}

.solutions-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.solutions-image img {
    width: 100%;
    height: auto;
    display: block;
}

.solutions-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.solutions .problem-card {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.solutions .problem-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.solutions .problem-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solutions .problem-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.solutions .problem-card.negative {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.solutions .problem-card.positive {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
}

.solutions .problem-card.negative h3 {
    color: #991b1b;
}

.solutions .problem-card.positive h3 {
    color: #166534;
}

.solutions .problem-card.negative li {
    color: #7f1d1d;
}

.solutions .problem-card.positive li {
    color: #14532d;
}

.solutions .problem-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.solutions .problem-card.negative li::before {
    background: #ef4444;
}

.solutions .problem-card.positive li::before {
    background: #22c55e;
}
