
:root {
    --bg-color: #f4f7f6;
    --surface-color: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --danger: #ef4444;
    --border-color: #e2e8f0;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; font-size: 16px; }

/* Header */
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 15px 20px; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 28px; font-weight: 900; color: var(--text-main); text-decoration: none; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;}
.logo span { color: var(--accent); }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: 0.3s; padding: 8px 12px; border-radius: 8px; }
nav a:hover, nav a.active { color: var(--accent); background: var(--accent-light); }

.main-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; flex-grow: 1; width: 100%; }

/* Sections */
.section { margin-bottom: 80px; }
.section-title { font-size: 36px; margin-bottom: 40px; text-align: center; color: var(--text-main); font-weight: 800; letter-spacing: 1px; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent); margin: 15px auto 0; border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%); padding: 100px 20px; text-align: center; border-radius: 24px; margin-bottom: 60px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); border: 1px solid #fff; }
.hero h1 { font-size: 52px; margin-bottom: 25px; color: var(--text-main); font-weight: 900; letter-spacing: -1px; }
.hero p { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #ffffff; padding: 16px 32px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 16px; transition: all 0.3s ease; text-align: center; border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.feature-card { background: var(--surface-color); padding: 40px 30px; border-radius: 20px; text-align: center; border: 1px solid var(--border-color); transition: 0.3s; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: var(--accent); }
.feature-icon { font-size: 50px; margin-bottom: 20px; }
.feature-card h3 { color: var(--text-main); font-size: 20px; margin-bottom: 12px; font-weight: 700; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* Catalog Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.card { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; transition: 0.3s; text-align: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.card-img { width: 100%; height: 260px; object-fit: contain; border-radius: 12px; margin-bottom: 20px; background: #f8fafc; display: block; padding: 15px; border: 1px solid #f1f5f9;}
.card-placeholder { width: 100%; height: 260px; background: #f8fafc; border-radius: 12px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; padding: 10px; border: 2px dashed #cbd5e1;}
.card h3 { margin-bottom: 15px; font-size: 22px; flex-grow: 1; color: var(--text-main); font-weight: 700; }
.price { font-size: 28px; color: var(--text-main); font-weight: 900; margin-bottom: 25px; }

/* Steps */
.steps-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.step { flex: 1; min-width: 220px; text-align: center; padding: 20px; }
.step span { display: inline-flex; width: 70px; height: 70px; background: var(--accent-light); color: var(--accent); border-radius: 50%; font-size: 28px; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 20px; }
.step h3 { color: var(--text-main); font-size: 20px; margin-bottom: 12px; font-weight: 700; }

/* Exchange Block */
.exchange-block { background: linear-gradient(135deg, var(--accent-light) 0%, #e0e7ff 100%); padding: 60px 40px; border-radius: 24px; border: 1px solid #dbeafe; text-align: center; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); }
.exchange-block p { font-size: 18px; color: #334155; max-width: 800px; margin: 0 auto 30px; }

/* SEO & Content */
.seo-text-block { background: var(--surface-color); padding: 50px; border-radius: 20px; border: 1px solid var(--border-color); margin-top: 60px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.seo-text-block h2 { color: var(--text-main); margin-bottom: 25px; font-size: 32px; font-weight: 800; }
.seo-text-block h3 { color: var(--text-main); margin-top: 35px; margin-bottom: 15px; font-size: 22px; font-weight: 700; }
.seo-text-block p { margin-bottom: 15px; text-align: justify; color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.seo-text-block a {color: var(--text-muted);}

/* Products */
.product-detail { display: flex; gap: 50px; flex-wrap: wrap; margin-bottom: 50px; }
.product-gallery { flex: 1; min-width: 300px; background: #f8fafc; min-height: 450px; border-radius: 20px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); color: var(--text-muted); text-align:center; padding:30px; flex-direction:column; overflow: hidden; }
.product-gallery img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-info { flex: 1; min-width: 300px; }
.product-info h1 { font-size: 40px; margin-bottom: 20px; color: var(--text-main); font-weight: 800; }
.product-info .desc { color: var(--text-muted); font-size: 18px; margin-bottom: 30px; line-height: 1.7; text-align: justify; }
.buy-options { background: var(--surface-color); padding: 30px; border-radius: 20px; border: 1px solid var(--border-color); margin-bottom: 30px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.buy-options label { display: block; margin-bottom: 18px; font-size: 18px; cursor: pointer; color: var(--text-main); font-weight: 600; }
.buy-options input { margin-right: 12px; transform: scale(1.3); cursor: pointer; accent-color: var(--accent); }

/* Footer */
footer { background: #f8fafc; padding: 60px 20px 40px; margin-top: auto; border-top: 1px solid var(--border-color); }
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.disclaimer { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); padding: 25px; border-radius: 16px; margin-bottom: 40px; font-weight: 500; font-size: 15px; text-align: left; line-height: 1.6; }

/* Floating */
.floating-contacts { position: fixed; bottom: 40px; right: 40px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #ffffff; border: 1px solid var(--border-color); color: var(--accent); text-decoration: none; font-size: 28px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transition: 0.3s; }
.float-btn:hover { background: var(--accent); color: #fff; transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(37,99,235,0.3); }

/* Breadcrumbs & Articles */
.breadcrumb { margin-bottom: 25px; font-size: 15px; display:inline-block; }
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
.breadcrumb span { color: var(--text-muted); margin: 0 12px; }
.article-content { font-size: 18px; line-height: 1.8; color: var(--text-main); text-align: justify; margin-bottom: 50px; background: var(--surface-color); padding: 50px; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.article-content h1 { color: var(--text-main); margin-bottom: 30px; font-size: 40px; line-height: 1.3; font-weight: 800; }

/* New Blog Grid Styles */
.article-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.article-list li { background: var(--surface-color); padding: 35px 30px; border-radius: 20px; border: 1px solid var(--border-color); transition: 0.3s; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.article-list li:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1); }
.article-list a { font-size: 22px; color: var(--text-main); text-decoration: none; font-weight: 800; display: block; margin-bottom: 15px; line-height: 1.35; transition: color 0.3s;}
.article-list a:hover { color: var(--accent); }
.article-list p { flex-grow: 1; color: var(--text-muted); font-size: 16px; margin-bottom: 20px; }
.article-read-more { color: var(--accent) !important; font-size: 16px !important; font-weight: 700 !important; margin-bottom: 0 !important; display: inline-flex !important; align-items: center; gap: 5px; width: fit-content; }
.article-read-more:hover { gap: 10px; }

@media (max-width: 768px) { 
    .hero h1 { font-size: 36px; } 
    .nav-container { flex-direction: column; align-items: center; } 
    nav { justify-content: center; gap: 10px; }
    .product-detail { flex-direction: column; }
    .seo-text-block, .article-content { padding: 30px 20px; }
    .exchange-block { padding: 40px 20px; }
    .floating-contacts { bottom: 20px; right: 20px; }
    .article-list { grid-template-columns: 1fr; }
}
