/* ============================================
   APPRIQO — Premium Theme with Dark/Light Mode
   ============================================ */

/* CSS Variables - Dark Theme (Default) */
:root {
    --color-bg: #0a0a0f;
    --color-bg-elevated: #12121a;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-card-hover: rgba(255, 255, 255, 0.06);
    
    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.6);
    --color-text-muted: rgba(255, 255, 255, 0.4);
    
    --color-accent: #6366f1;
    --color-accent-light: #818cf8;
    --color-accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    --color-success: #22c55e;
    
    --gradient-bg-1: rgba(99, 102, 241, 0.15);
    --gradient-bg-2: rgba(139, 92, 246, 0.1);
    --gradient-bg-3: rgba(168, 85, 247, 0.08);
    
    --navbar-bg: rgba(10, 10, 15, 0.8);
    --navbar-bg-scrolled: rgba(10, 10, 15, 0.95);
    
    --noise-opacity: 0.03;
    --floating-icon-opacity: 0.15;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 0 60px rgba(99, 102, 241, 0.15);
    
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* Light Theme */
[data-theme="light"] {
    --color-bg: #ffffff;
    --color-bg-elevated: #ffffff;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #f8fafc;
    
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    
    --color-border: #e2e8f0;
    --color-border-hover: #cbd5e1;
    
    --gradient-bg-1: rgba(99, 102, 241, 0.08);
    --gradient-bg-2: rgba(139, 92, 246, 0.06);
    --gradient-bg-3: rgba(168, 85, 247, 0.04);
    
    --navbar-bg: rgba(255, 255, 255, 0.9);
    --navbar-bg-scrolled: rgba(255, 255, 255, 0.98);
    
    --noise-opacity: 0;
    --floating-icon-opacity: 0.25;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 40px rgba(99, 102, 241, 0.15);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Animated Background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, var(--gradient-bg-1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, var(--gradient-bg-2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 100%, var(--gradient-bg-3) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    transition: opacity var(--transition-normal);
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: var(--noise-opacity);
    pointer-events: none;
    z-index: 0;
    transition: opacity var(--transition-normal);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 60px);
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: var(--navbar-bg-scrolled);
    box-shadow: var(--shadow-md);
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
    z-index: 1003;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-gradient);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.navbar__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gradient);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.navbar__links a:hover {
    color: var(--color-text);
}

.navbar__links a:hover::after {
    width: 100%;
}

/* Theme Switcher */
.theme-switcher {
    position: relative;
    margin-left: 8px;
}

.theme-switcher button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-switcher button:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    color: var(--color-text);
}

.theme-switcher svg {
    width: 20px;
    height: 20px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 8px;
}

.lang-switcher button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switcher button:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    color: var(--color-text);
}

.lang-switcher button svg {
    opacity: 0.7;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 6px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    padding: 10px 14px;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-menu li:hover {
    background: var(--color-bg-card-hover);
    color: var(--color-text);
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1003;
    position: relative;
}


.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

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

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

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

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

.hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--color-text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero__cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.hero__cta--primary {
    background: var(--color-accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.hero__cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.hero__cta--secondary {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.hero__cta--secondary:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
}

/* Floating Icons */
.hero__floating {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: var(--floating-icon-opacity);
    animation: float 20s ease-in-out infinite;
}

.floating-icon--1 { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon--2 { top: 30%; right: 15%; animation-delay: -4s; }
.floating-icon--3 { bottom: 30%; left: 8%; animation-delay: -8s; }
.floating-icon--4 { top: 50%; right: 10%; animation-delay: -12s; }
.floating-icon--5 { bottom: 20%; right: 20%; animation-delay: -16s; }

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

/* ============================================
   SECTIONS
   ============================================ */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section__label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-light);
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card--featured {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.product-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* важно */
}

.product-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* без искажений */
    border-radius: 16px;
}

.product-card__icon--moviepro { background: linear-gradient(135deg, #ef4444 0%, #f97316 100%); }
.product-card__icon--photolab { background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%); }
.product-card__icon--videoshot { background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%); }
.product-card__icon--lovemp3 { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }
.product-card__icon--cleaner { background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%); }

.product-card__content {
    flex: 1;
}

.product-card__badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-bg-elevated);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.product-card__subtitle {
    font-size: 0.9rem;
    color: var(--color-accent-light);
    font-weight: 500;
    margin-bottom: 12px;
}

.product-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.product-card__arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    border-radius: 50%;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all var(--transition-normal);
}

.product-card:hover .product-card__arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.products-note {
    text-align: center;
    margin-top: 40px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.section--about {
    padding-top: 120px;
    padding-bottom: 120px;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-visual__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: grid;
    gap: 32px;
    box-shadow: var(--shadow-card);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.about-content .section__label {
    margin-bottom: 16px;
}

.about-content .section__title {
    text-align: left;
    margin-bottom: 24px;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-desc strong {
    color: var(--color-text);
}

.about-desc--secondary {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.section--benefits {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    margin: 0 auto;
    padding: 80px 40px;
    max-width: 1200px;
}

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

.benefit-card {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-card);
}

.benefit-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.benefit-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-gradient);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: white;
}

.benefit-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.benefit-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   CONTACTS SECTION
   ============================================ */
.section--contacts {
    padding: 120px 24px;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contacts-info .section__label {
    margin-bottom: 12px;
}

.contacts-info .section__title {
    text-align: left;
    margin-bottom: 16px;
}

.contacts-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contacts-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.contact-link:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
}

.contact-link__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-gradient);
    border-radius: var(--radius-sm);
    color: white;
}

.contact-link__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-link__label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-link__value {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    background: var(--color-accent-gradient);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    padding: 60px 24px 24px;
    position: relative;
    z-index: 1;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.footer__links {
    display: flex;
    gap: 32px;
}

.footer__links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-text);
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    color: var(--color-text);
}

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    text-align: center;
}

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

/* ============================================
   SUCCESS POPUP
   ============================================ */
.success-popup {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--color-success);
    border-radius: var(--radius-md);
    color: white;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    transition: all var(--transition-normal);
}

.success-popup.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 100;
}

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

.to-top:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

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

/* Intersection Observer animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

    .product-card__standart {
        margin-top: 32px;
    }
    

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card--featured {
        grid-column: span 2;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual__card {
        display: flex;
        justify-content: space-around;
        text-align: center;
    }
    
    .about-content .section__title,
    .about-content .section__label {
        text-align: center;
    }
    
    .about-desc {
        text-align: center;
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts-info {
        text-align: center;
    }
    
    .contacts-info .section__title,
    .contacts-info .section__label {
        text-align: center;
    }
    
    .contacts-desc {
        text-align: center;
    }
    
    .contacts-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .navbar__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        height: calc(100dvh - 72px);;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 24px 24px 40px;
        background: var(--color-bg);
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 1001;
    }
    
    .navbar__links.active {
        opacity: 1;
        visibility: visible;
    }
    
    .navbar__links a {
        padding: 20px 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--color-text);
        border-bottom: none;
    }
    
    .navbar__links a::after {
        display: none;
    }
    
    .theme-switcher {
        margin: 32px 0 0;
    }
    
    .lang-switcher {
        margin: 16px 0 0;
    }
    
    .lang-switcher button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .lang-menu {
        position: absolute;
        bottom: calc(100% + 8px);
        top: auto;
        right: 50%;
        transform: translateX(50%);
        width: 160px;
    }
    
    .lang-menu.active {
        transform: translateX(50%) translateY(0);
    }
    
    .burger {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero__title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .hero__floating {
        display: none;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
  .product-card--featured {
        grid-column: span 1;   /* 🔥 FIX */
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

.product-card--featured .product-card__icon {
    margin-bottom: 6px;
}

.product-card--featured .product-card__badge {
    margin-bottom: 8px;
    align-self: center;
}

.product-card--featured .product-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}
    
 .product-card {
        padding: 24px; /* чуть компактнее */
    }

     .product-card {
        align-items: center;
        text-align: center;
    }

    .product-card__content {
        align-items: center;
        text-align: center;
    }

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

    .section--benefits {
        margin: 0 auto;
        padding: 80px 40px;
        max-width: 1200px;
    }
    
    .about-visual__card {
        flex-direction: column;
        gap: 24px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .footer__content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__brand {
        order: 1;
    }
    
    .footer__links {
        order: 3;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .footer__social {
        order: 2;
    }
    
    .to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section__title,
    .about-content .section__label,
    .about-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero__cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__cta {
        width: 100%;
        justify-content: center;
    }
    
    .contacts-links {
        flex-direction: column;
    }
    
    .contact-link {
        width: 100%;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    [data-theme="dark"] .bg-noise {
        opacity: 0.02;
    }
}

/* 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;
    }
}

[data-theme="light"] {
    --gradient-bg-1: rgba(255, 255, 255, 0.40);
    --gradient-bg-2: rgba(255, 255, 255, 0.25);
    --gradient-bg-3: rgba(255, 255, 255, 0.15);
}

/* Dark theme — мягкий тёмный градиент */
[data-theme="dark"] {
    --gradient-bg-1: rgba(0, 0, 0, 0.35);
    --gradient-bg-2: rgba(0, 0, 0, 0.25);
    --gradient-bg-3: rgba(0, 0, 0, 0.15);
}