/**
 * SOFTZA Design System — Core Stylesheet (main.css)
 * Brand Tokens, Global Reset, Typography, Sticky Header, and Footer
 */

:root {
    /* ========================================================
       PRIMARY BRAND COLORS
       ======================================================== */
    --sz-primary: #00B67A;
    /* Vibrant Green */
    --sz-vibrant-green: #00B67A;
    --sz-navy: #0B1F33;
    /* Dark Navy */
    --sz-dark-navy: #0B1F33;
    --sz-secondary: #0B1F33;
    --sz-secondary-hover: #06121E;
    --sz-secondary-light: #F0F4F8;
    --sz-secondary-100: #E1E8F0;
    --sz-secondary-200: #CBD5E1;

    /* ========================================================
       SECONDARY BRAND COLORS
       ======================================================== */
    --sz-primary-hover: #009966;
    /* Green Hover - used for interactivity */
    --sz-green-hover: #009966;
    --sz-primary-dark: #009966;
    --sz-primary-light: #E6F8F2;
    --sz-primary-100: #C3EFE0;
    --sz-primary-glow: rgba(0, 182, 122, 0.25);

    --sz-grey: #6B7280;
    /* Grey - used for neutral elements like text */
    --sz-text-secondary: #6B7280;
    --sz-meta: #6B7280;
    --sz-slate: #17212B;
    /* Dark Charcoal for high readability body copy */
    --sz-body: #17212B;

    /* Brand Gradients (Vibrant Green #00B67A to Green Hover #009966) */
    --sz-gradient: linear-gradient(135deg, #00B67A 0%, #009966 100%);
    --sz-gradient-hover: linear-gradient(135deg, #009966 0%, #007A52 100%);
    --sz-gradient-subtle: linear-gradient(135deg, rgba(0, 182, 122, 0.08) 0%, rgba(11, 31, 51, 0.04) 100%);
    --sz-gradient-glow: radial-gradient(circle at 50% 0%, rgba(0, 182, 122, 0.12) 0%, rgba(11, 31, 51, 0.03) 40%, #FFFFFF 80%);

    /* Heading Colors */
    --sz-heading-primary: #0B1F33;
    /* Dark Navy (H1, H2) */
    --sz-heading-secondary: #0B1F33;
    /* Dark Navy (H3, H4) */
    --sz-forest-green: #009966;

    /* Rating Stars (Golden Amber) */
    --sz-star: #F59E0B;
    --sz-star-bg: #FEF3C7;

    --sz-bg: #FFFFFF;
    --sz-white: #FFFFFF;
    --sz-border: #E2E8F0;
    --sz-border-light: #F1F5F9;
    --sz-success: #00B67A;
    --sz-warning: #00B67A;
    --sz-error: #DC2626;

    /* Typography */
    --sz-font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --sz-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Shadows */
    --sz-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --sz-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
    --sz-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --sz-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Radii */
    --sz-radius-sm: 6px;
    --sz-radius-md: 10px;
    --sz-radius-lg: 16px;
    --sz-radius-xl: 24px;
    --sz-radius-full: 9999px;

    /* Layout */
    --sz-max-width: 1280px;
    --sz-header-height: 76px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--sz-font-sans);
    background-color: #FFFFFF;
    color: var(--sz-slate);
    line-height: 1.6;
    overflow-x: hidden;
}

input,
button,
select,
textarea,
optgroup {
    font-family: var(--sz-font-sans);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--sz-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--sz-primary-hover);
}

/* Typography & Headings Hierarchy */
h1,
.sz-h1 {
    color: var(--sz-heading-primary);
    /* Deep Navy #0B1F33 */
    font-weight: 600;
}

h2,
.sz-h2 {
    color: var(--sz-heading-primary);
    /* Deep Navy #0B1F33 */
    font-weight: 600;
}

h3,
h4,
.sz-h3,
.sz-h4 {
    color: var(--sz-heading-primary);
    /* Deep Navy #0B1F33 */
    font-weight: 600;
}

h5,
h6,
.sz-h5,
.sz-h6 {
    color: var(--sz-heading-secondary);
    /* Forest Green #009966 */
    font-weight: 600;
}

p {
    color: var(--sz-slate);
    /* Charcoal #17212B */
}

/* Containers */
.sz-container {
    width: 100%;
    max-width: var(--sz-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.sz-section {
    padding: 64px 0;
}

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

.sz-section-tag {
    display: inline-block;
    background: var(--sz-primary-light);
    color: var(--sz-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: var(--sz-radius-full);
    margin-bottom: 12px;
}

.sz-section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--sz-navy);
    letter-spacing: -0.5px;
    line-height: 1.25;
}

/* Universal Section Main Titles (All Pages) */
.sz-section-title,
.sz-section-header h2,
.sz-detail-block h2,
.sz-compare-arena h2,
.sz-step-title,
.sz-related-heading,
section h2,
.sz-section h2 {
    font-weight: 600 !important;
}

.sz-section-subtitle {
    font-size: 17px;
    color: var(--sz-text-secondary);
    max-width: 650px;
    margin: 12px auto 0 auto;
}

/* Breadcrumbs */
.sz-breadcrumbs {
    padding: 16px 0;
    font-size: 13px;
    color: var(--sz-text-secondary);
}

.sz-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 8px;
}

.sz-breadcrumb-list li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #CBD5E1;
}

.sz-breadcrumb-list a {
    color: var(--sz-text-secondary);
}

.sz-breadcrumb-list a:hover {
    color: var(--sz-primary);
}

.sz-breadcrumb-list li[aria-current="page"] {
    color: var(--sz-navy);
    font-weight: 600;
}

/* ========================================================
   STICKY HEADER & NAVIGATION
   ======================================================== */
.sz-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--sz-header-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sz-border);
    z-index: 1000;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.sz-header .sz-container {
    max-width: 1440px;
    padding: 0 28px;
}

.sz-header.is-scrolled {
    box-shadow: 0 4px 20px -2px rgba(11, 31, 51, 0.08);
}

.sz-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

.sz-header-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sz-header-brand img {
    height: 48px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform var(--sz-transition);
}

.sz-header-brand:hover img {
    transform: scale(1.02);
}

/* Desktop Nav Menu */
.sz-nav-desktop-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.sz-nav-desktop {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sz-nav-item {
    position: relative;
    white-space: nowrap;
}

.sz-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sz-navy);
    padding: 10px 4px;
    white-space: nowrap;
    position: relative;
    transition: color 0.15s ease;
    text-decoration: none;
}

.sz-nav-link:hover,
.sz-nav-item.active .sz-nav-link {
    color: var(--sz-primary);
}

.sz-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sz-primary);
    border-radius: 2px;
    transition: width 0.2s ease;
}

.sz-nav-item:hover .sz-nav-link::after,
.sz-nav-item.active .sz-nav-link::after {
    width: 100%;
}

.sz-dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sz-nav-item:hover .sz-dropdown-arrow {
    transform: rotate(180deg);
}

/* Mega Dropdown */
.sz-mega-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--sz-white);
    border: 1px solid var(--sz-border);
    border-radius: var(--sz-radius-lg);
    box-shadow: 0 16px 36px -4px rgba(11, 31, 51, 0.12), 0 4px 12px rgba(11, 31, 51, 0.05);
    padding: 18px 20px;
    width: 580px;
    min-width: 580px;
    max-width: 90vw;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1050;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.sz-mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.sz-nav-item:hover .sz-mega-menu,
.sz-nav-item:focus-within .sz-mega-menu,
.sz-nav-item.is-open .sz-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sz-mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.15s ease, transform 0.15s ease;
    text-decoration: none;
    box-sizing: border-box;
    min-width: 0;
}

.sz-mega-item:hover {
    background: var(--sz-primary-light);
}

.sz-mega-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sz-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sz-mega-desc {
    font-size: 12px;
    color: var(--sz-text-secondary);
    margin-top: 2px;
    white-space: nowrap;
}

/* Header CTAs */
.sz-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sz-header-actions .sz-btn,
.sz-header-actions .sz-btn.sz-btn-sm {
    border-radius: 9999px;
    padding: 8px 18px;
}

.sz-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--sz-navy);
    cursor: pointer;
    padding: 6px;
}

/* ========================================================
   FOOTER STYLES
   ======================================================== */
.sz-footer {
    background: var(--sz-navy);
    color: #94A3B8;
    padding: 72px 0 36px 0;
    border-top: 1px solid #14293E;
}

.sz-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.sz-footer-brand img {
    height: 54px;
    max-height: 54px;
    width: auto;
    object-fit: contain;
}

.sz-footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 300px;
    color: #94A3B8;
}

.sz-footer-col h4 {
    color: var(--sz-white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.sz-footer-col ul {
    list-style: none;
}

.sz-footer-col li {
    margin-bottom: 12px;
}

.sz-footer-col a {
    color: #94A3B8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sz-footer-col a:hover {
    color: var(--sz-primary-hover);
}

.sz-footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #14293E;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--sz-text-secondary);
}

.sz-footer-legal-links {
    display: flex;
    gap: 20px;
}

.sz-footer-legal-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sz-footer-legal-links a:hover {
    color: var(--sz-primary-hover);
}

color: var(--sz-text-secondary);
}

.sz-footer-legal-links a:hover {
    color: var(--sz-white);
}
/* ========================================================
   UNIVERSAL TYPOGRAPHY STANDARD — ALL BOLD TEXT FONT-WEIGHT: 600
   ======================================================== */
b,
strong,
th,
dt,
h1, h2, h3, h4, h5, h6,
.sz-h1, .sz-h2, .sz-h3, .sz-h4, .sz-h5, .sz-h6,
.sz-section-title,
.sz-section-header h2,
.sz-detail-block h2,
.sz-compare-arena h2,
.sz-step-title,
.sz-related-heading,
.sz-grid-title,
.sz-card-title,
.sz-cat-title,
.sz-hero-title,
.sz-impact-label strong,
.sz-price-val-bold,
[style*="font-weight: 700"],
[style*="font-weight:700"],
[style*="font-weight: 800"],
[style*="font-weight:800"],
[style*="font-weight: 900"],
[style*="font-weight:900"],
[style*="font-weight: bold"],
[style*="font-weight:bold"] {
    font-weight: 600 !important;
}
