/* ============================================
   AlgoMatrix — Professional Trading Tools
   Company Website Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --brand: #0A84FF;
    --brand-dark: #0066CC;
    --brand-light: #4DA6FF;
    --gold: #F5A623;
    --gold-dark: #D4891A;
    --bg-primary: #0B0E14;
    --bg-secondary: #111621;
    --bg-card: #161B26;
    --bg-card-hover: #1C2333;
    --text-primary: #E8ECF1;
    --text-secondary: #8B95A5;
    --text-muted: #5A6577;
    --border: #1E2535;
    --border-light: #2A3345;
    --success: #34C759;
    --danger: #FF3B30;
    --warning: #FFD60A;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
    --transition: 0.25s ease;
    --max-width: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--brand-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
    font-size: 1.15rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--brand);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-logo span {
    color: var(--brand);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand);
    border-radius: 1px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--brand);
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(10, 132, 255, 0.1);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-light);
    margin-bottom: 28px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--brand);
}

.hero h1 .gold {
    color: var(--gold);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-stat .label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    font-family: var(--font);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 132, 255, 0.3);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.btn-gold {
    background: var(--gold);
    color: #111;
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Trust Bar --- */
.trust-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-icon {
    font-size: 1.2rem;
    color: var(--success);
}

/* --- Product Cards --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.product-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    padding-top: 56%;
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-indicator {
    background: rgba(10, 132, 255, 0.9);
    color: #fff;
}

.badge-ea {
    background: rgba(52, 199, 89, 0.9);
    color: #fff;
}

.badge-utility {
    background: rgba(245, 166, 35, 0.9);
    color: #111;
}

.badge-new {
    background: rgba(255, 59, 48, 0.9);
    color: #fff;
}

.product-card-body {
    padding: 20px;
}

.product-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card-body h3 .product-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-card-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
}

.product-price .from {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* --- Feature Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 132, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--brand);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.88rem;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Steps (How It Works) --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.step-number {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    color: var(--text-primary);
}

.step-number--gold {
    background: rgba(245, 166, 35, 0.12);
    color: var(--gold);
}

.step-number--blue {
    background: rgba(10, 132, 255, 0.12);
    color: var(--brand);
}

.step-number--green {
    background: rgba(52, 199, 89, 0.12);
    color: var(--success);
}

.step-card h4 {
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* --- Latest Blog (Homepage) --- */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-preview-card:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.blog-preview-card .blog-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-preview-card .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-preview-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-preview-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-preview-body .blog-tag {
    align-self: flex-start;
    margin-bottom: 10px;
}

.blog-preview-body h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-preview-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.blog-preview-body .blog-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: auto;
}

.blog-preview-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

@media (max-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-item.active {
    border-color: var(--brand);
}

.faq-question {
    width: 100%;
    background: var(--bg-card);
    border: none;
    padding: 22px 56px 22px 24px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '\2212';
    color: var(--brand);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 22px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- About / Story --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* --- FAQ --- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--brand);
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 0 24px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.92rem;
}

/* --- CTA Banner --- */
.cta-banner {
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.06) 0%, rgba(245, 166, 35, 0.04) 100%);
    pointer-events: none;
}

.cta-banner h2 {
    margin-bottom: 16px;
    position: relative;
}

.cta-banner p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .hero-actions {
    position: relative;
}

/* --- Blog Cards --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.blog-card-image {
    padding-top: 52%;
    position: relative;
    background: var(--bg-secondary);
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 24px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(10, 132, 255, 0.1);
    color: var(--brand);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Product Detail Page --- */
.product-hero {
    padding: 120px 0 60px;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-gallery {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.product-gallery img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.gallery-thumbs img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color var(--transition);
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    border-color: var(--brand);
}

.product-info h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 12px;
}

.product-info .product-price {
    font-size: 2rem;
    margin-bottom: 24px;
}

.product-features-list {
    list-style: none;
    margin-bottom: 28px;
}

.product-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.product-features-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

.product-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.product-meta-item .meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-meta-item .meta-value {
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Article / Blog Detail --- */
.article-header {
    padding: 140px 0 40px;
    text-align: center;
}

.article-header h1 {
    max-width: 720px;
    margin: 0 auto 16px;
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 100px;
}

.article-content h2 {
    font-size: 1.5rem;
    margin: 48px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.article-content h3 {
    margin: 32px 0 12px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.85;
}

.article-content ul,
.article-content ol {
    margin: 16px 0 24px 24px;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-content blockquote {
    border-left: 3px solid var(--brand);
    padding: 16px 0 16px 24px;
    margin: 24px 0;
    background: rgba(10, 132, 255, 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-content blockquote p {
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 0;
}

.article-content img {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin: 24px 0;
}

.article-hero-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 32px;
}

.article-disclaimer {
    margin-top: 48px;
    padding: 24px;
    background: var(--surface-alt);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.article-disclaimer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    color: var(--text-muted);
    font-style: italic;
}

.article-header .back-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
}

.article-header .blog-tag {
    margin: 16px 0 8px;
    display: inline-block;
}

.article-header .blog-meta {
    margin-top: 12px;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: var(--font);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--brand);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select option {
    background: var(--bg-card);
}

.support-channels {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.support-channel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color var(--transition);
}

.support-channel:hover {
    border-color: var(--brand);
}

.support-channel .icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.support-channel h4 {
    margin-bottom: 8px;
}

.support-channel p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.support-channel a {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 600;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(52, 199, 89, 0.08);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 500;
    margin-bottom: 24px;
}

.contact-hero {
    padding-bottom: 40px;
}

.contact-form-heading {
    margin-bottom: 8px;
}

.contact-form-subtext {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.92rem;
}

.contact-form .btn-submit {
    align-self: flex-start;
}

.quick-fixes-box {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.quick-fixes-box h4 {
    margin-bottom: 12px;
}

.quick-fixes-list {
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.quick-fixes-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.quick-fixes-list li:last-child {
    border-bottom: none;
}

.quick-fixes-list strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-col ul a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--brand);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cookie-banner .btn {
    padding: 8px 20px;
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 20px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .section {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .product-meta-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Misc --- */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-brand {
    color: var(--brand);
}

.mt-2 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 32px;
}

/* Price tag styling */
.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Warranty / guarantee box */
.guarantee-box {
    background: rgba(52, 199, 89, 0.06);
    border: 1px solid rgba(52, 199, 89, 0.2);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.guarantee-box .icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.guarantee-box h4 {
    color: var(--success);
    margin-bottom: 4px;
}

.guarantee-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}