/* ============================================
   Избушка на Курьих Ножках — Premium Styles
   Dark Fairy-Tale Theme
   ============================================ */

/* --- Design Tokens --- */
:root {
    --bg-primary: #0b1a0e;
    --bg-secondary: #0f2315;
    --bg-card: #132a18;
    --bg-card-hover: #1a3520;
    --text-primary: #e8e0d4;
    --text-secondary: #a09882;
    --text-muted: #6b6356;
    --accent-gold: #c9a84c;
    --accent-gold-light: #e0c56e;
    --accent-gold-dark: #a07d2e;
    --accent-warm: #d4883a;
    --accent-green: #3a6b3a;
    --glass-bg: rgba(19, 42, 24, 0.7);
    --glass-border: rgba(201, 168, 76, 0.15);
    --shadow-glow: 0 0 40px rgba(201, 168, 76, 0.1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Raleway', 'Segoe UI', sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold-dark) var(--bg-primary);
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

/* --- Particles --- */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite ease-in-out;
    box-shadow: 0 0 6px var(--accent-gold), 0 0 12px rgba(201, 168, 76, 0.3);
}

@keyframes float-particle {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }

    20% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
        transform: translateY(-120px) translateX(30px);
    }

    80% {
        opacity: 0.5;
    }
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(11, 26, 14, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.4));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: var(--accent-gold);
}

.logo-text small {
    font-size: 0.7rem;
    font-weight: 300;
    font-family: var(--font-body);
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border: 1px solid var(--accent-gold) !important;
    border-radius: 50px !important;
    color: var(--accent-gold) !important;
}

.nav-cta:hover {
    background: var(--accent-gold) !important;
    color: var(--bg-primary) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 26, 14, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-link:hover,
.mobile-link.cta {
    color: var(--accent-gold);
}

/* --- Hero --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/images/forest_bg.png') center/cover no-repeat;
    transform: scale(1.1);
    animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center bottom, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at center, rgba(11, 26, 14, 0.3) 0%, rgba(11, 26, 14, 0.85) 70%),
        linear-gradient(to bottom, rgba(11, 26, 14, 0.4) 0%, rgba(11, 26, 14, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 32px;
}

.badge-icon {
    font-size: 1rem;
}

#hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-line.accent {
    color: var(--accent-gold);
    font-style: italic;
    text-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.btn-ghost:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-ozon {
    background: linear-gradient(135deg, #005bff, #003ccc);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 91, 255, 0.3);
    font-size: 1rem;
    padding: 18px 40px;
}

.btn-ozon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 91, 255, 0.4);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
    font-size: 1rem;
    padding: 18px 40px;
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 136, 204, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--accent-gold-dark), transparent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1px solid var(--accent-gold-dark);
    border-bottom: 1px solid var(--accent-gold-dark);
    transform: rotate(45deg);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: rotate(45deg) translateY(8px);
        opacity: 1;
    }
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
    position: relative;
    padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-gold-dark));
}

.section-tag::before {
    right: 100%;
}

.section-tag::after {
    left: 100%;
    transform: scaleX(-1);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-header h2 em {
    color: var(--accent-gold);
    font-style: italic;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.image-frame img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.image-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    box-shadow: inset 0 0 60px rgba(201, 168, 76, 0.1);
    pointer-events: none;
}

.about-text .lead {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.about-highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    margin-top: 32px;
}

.highlight-icon {
    font-size: 2rem;
}

.about-highlight strong {
    display: block;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.about-highlight span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Specs --- */
.specs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.specs-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.specs-dimensions {
    position: relative;
    width: 200px;
    height: 300px;
}

.specs-silhouette {
    font-size: 8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.2));
}

.dimension-line {
    position: absolute;
    display: flex;
    align-items: center;
}

.height-line {
    right: -40px;
    top: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    border-right: 1px dashed var(--accent-gold-dark);
    padding-right: 12px;
}

.width-line {
    bottom: -30px;
    left: 0;
    right: 0;
    justify-content: center;
    border-bottom: 1px dashed var(--accent-gold-dark);
    padding-bottom: 8px;
}

.dim-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-gold);
    white-space: nowrap;
}

.specs-list {
    padding: 20px 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.spec-key {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.spec-value {
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
    font-size: 0.9rem;
}

.spec-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold-dark), transparent);
    margin: 24px 0;
}

.spec-section-title {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-size: 1rem;
}

/* --- Personalization --- */
.section-accent {
    background: linear-gradient(135deg, var(--bg-secondary), #1a2e1a);
}

.personalize-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.personalize-text .section-tag {
    padding-left: 0;
}

.personalize-text .section-tag::before {
    display: none;
}

.personalize-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 24px;
}

.personalize-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.personalize-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.example-tag {
    padding: 8px 18px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-gold-light);
    font-family: var(--font-accent);
    font-style: italic;
}

.personalize-note {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
}

.personalize-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-card {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-card), #1f3d26);
    border: 2px solid var(--accent-gold-dark);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.gift-ribbon {
    position: absolute;
    top: -20px;
    font-size: 2.5rem;
}

.gift-text {
    text-align: center;
}

.gift-to {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.gift-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold);
    font-style: italic;
}

/* --- FAQ --- */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(201, 168, 76, 0.3);
}

.faq-item[open] {
    border-color: var(--accent-gold-dark);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.08);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

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

.faq-item summary h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

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

.faq-answer {
    padding: 0 24px 20px;
    animation: faq-open 0.3s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

@keyframes faq-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

/* --- Buy Section --- */
.section-buy {
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.05) 0%, var(--bg-primary) 70%);
}

.buy-layout {
    max-width: 600px;
    margin: 0 auto;
}

.buy-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.buy-card-header {
    padding: 40px 40px 32px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.buy-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
}

.buy-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 12px 0 8px;
}

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

.buy-actions {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buy-actions .btn {
    justify-content: center;
    width: 100%;
}

.buy-benefits {
    padding: 24px 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--glass-border);
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.benefit-icon {
    font-size: 1.2rem;
}

/* --- Footer --- */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
}

.footer-brand strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.footer-brand span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(201, 168, 76, 0.06);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal:nth-child(6) {
    transition-delay: 0.5s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .specs-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .specs-visual {
        display: none;
    }

    .personalize-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .buy-card-header,
    .buy-actions,
    .buy-benefits {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
/* БЛОГ СТИЛИ */
.blog-header {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
}
.blog-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}
.blog-meta {
    color: var(--text-muted);
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.1rem;
}
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}
.blog-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.blog-content h2, .blog-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.blog-content ul {
    margin-bottom: 2rem;
    padding-left: 20px;
}
.blog-content li {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.blog-image {
    width: 100%;
    border-radius: 12px;
    margin: 2rem 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.image-caption {
    text-align: center;
    font-size: 0.9rem !important;
    color: var(--text-muted);
    font-style: italic;
}
.blog-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 2rem 0;
    background: rgba(var(--surface-rgb), 0.5);
    border-radius: 0 8px 8px 0;
}
.cta-box {
    background: rgba(var(--surface-rgb), 0.8);
    border: 1px solid var(--accent);
    padding: 30px;
    border-radius: 12px;
    margin-top: 4rem;
}
.cta-box h3 {
    margin-top: 0;
    color: var(--accent);
}

/* ============================================
   Reviews Section
   ============================================ */

/* Rating Summary */
.reviews-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.rating-stars-big .star {
    font-size: 1.8rem;
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

.rating-stars-big .star.half {
    background: linear-gradient(90deg, var(--accent-gold) 50%, var(--text-muted) 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.rating-text strong {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(201, 168, 76, 0.25);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

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

.review-stars .star {
    color: var(--accent-gold);
    font-size: 1rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.review-media-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.media-placeholder {
    padding: 12px 18px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px dashed rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--accent-gold);
    cursor: pointer;
    transition: var(--transition);
}

.media-placeholder:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--accent-gold);
}

.review-badge {
    font-size: 0.75rem;
    color: #4caf50;
    letter-spacing: 0.5px;
}

/* Review Form */
.review-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
}

.review-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

/* Star Rating Input */
.star-rating-input {
    display: flex;
    gap: 6px;
    padding: 10px 0;
}

.star-btn {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
}

.star-btn.active,
.star-btn:hover {
    color: var(--accent-gold);
    transform: scale(1.2);
    text-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

/* Media Upload */
.media-upload-area {
    border: 2px dashed rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    overflow: hidden;
}

.media-upload-area.dragover {
    border-color: var(--accent-gold);
    background: rgba(201, 168, 76, 0.05);
}

.upload-placeholder {
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-placeholder:hover {
    background: rgba(201, 168, 76, 0.05);
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.upload-placeholder span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.upload-placeholder small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.upload-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px;
}

.upload-preview:empty {
    display: none;
}

.upload-preview .preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.upload-preview .preview-item img,
.upload-preview .preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview .preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit-review {
    align-self: flex-start;
}

.form-status {
    font-size: 0.9rem;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Responsive Reviews */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-rating-summary {
        flex-direction: column;
        gap: 8px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .review-form-wrapper {
        padding: 24px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Blog Article Grid
   ============================================ */
.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.blog-preview-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-preview-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(201, 168, 76, 0.25);
}

.blog-preview-card h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.4;
}

.blog-preview-card h2 a {
    color: var(--text-primary);
    transition: color 0.3s;
}

.blog-preview-card h2 a:hover {
    color: var(--accent-gold);
}

.blog-preview-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.blog-read-more {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--accent-gold-light);
    transform: translateX(4px);
    display: inline-block;
}

/* Comments Section */
.comments-section {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.comments-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 80px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-gold-dark);
}

.comment-author {
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.comment-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

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

.comment-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 20px;
}

@media (max-width: 768px) {
    .blog-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .comments-section {
        padding: 24px;
    }
}
