/* ============================================
   PhoneSpec Pro - Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: var(--primary);
    --primary-600: var(--primary-dark);
    --primary-700: #1e40af;
    --primary-800: #1e3a8a;
    --primary-900: #172554;
    --secondary: #0f172a;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius: 0.5rem;
    --radius-sm: 0.25rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: 0.2s ease;
    --container-max: 1180px;
    --container-padding: 1rem;
}

/* --- Professional Article FAQ Styles --- */
.article-faq {
    margin: 2.5rem 0;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 4px 24px 0 rgba(16,30,54,0.08), 0 1.5px 4px 0 rgba(16,30,54,0.04);
    border: none;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.article-faq__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.01em;
    text-align: center;
}

.article-faq__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Header layout for decorated title */
.article-faq__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.5rem;
    text-align: center;
}

.article-faq__decor {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--primary);
}

.article-faq__titles { text-align: left; }

.article-faq__title--with-decor {
    font-size: 1.6rem;
    margin: 0;
    text-align: left;
}

.article-faq__subtitle {
    margin: 6px 0 0 0;
    color: var(--gray-500);
    font-size: 0.98rem;
}

@media (max-width: 700px) {
    .article-faq__header { flex-direction: column; align-items: center; }
    .article-faq__titles { text-align: center; }
    .article-faq__title--with-decor { text-align: center; }
}

.article-faq__item {
    border-radius: 12px;
    background: var(--gray-50);
    box-shadow: 0 1.5px 8px 0 rgba(16,30,54,0.06);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.18s, border-color 0.18s;
}
.article-faq__item:focus-within,
.article-faq__item:hover {
    box-shadow: 0 4px 16px 0 rgba(16,30,54,0.10);
    border-color: var(--primary-100);
}

.article-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: none;
    border: none;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--gray-900);
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background 0.15s;
    border-radius: 12px 12px 0 0;
    position: relative;
}
.article-faq__question:focus {
    background: var(--primary-50);
    box-shadow: 0 0 0 2px var(--primary-100);
}
.article-faq__question:hover {
    background: var(--primary-50);
}

.article-faq__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    margin-left: 0.5em;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), color 0.18s;
    color: var(--primary);
    font-size: 1.1em;
}
.article-faq__question[aria-expanded="true"] .article-faq__chevron {
    transform: rotate(90deg);
    color: var(--primary-dark);
}

.article-faq__answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 1rem;
    background: var(--white);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 1px 4px 0 rgba(16,30,54,0.04);
    transition: max-height 0.32s cubic-bezier(.2,.9,.3,1), opacity 0.22s, padding 0.22s;
    overflow: hidden;
    will-change: max-height, opacity;
}
.article-faq__answer p {
    margin: 0;
    font-size: 1em;
}

/* Collapsible behavior based on [hidden] attribute for smooth animation */
.article-faq__answer[hidden] {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
}
.article-faq__answer:not([hidden]) {
    opacity: 1;
    max-height: 640px; /* generous max so content can expand */
}
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    line-height: 1.3;
    font-weight: 700;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (min-width: 640px) {
    .container {
        --container-padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        --container-padding: 2rem;
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    gap: 1rem;
}

/* Ensure header height is stable across pages to avoid layout shift */
.header__inner {
    min-height: 56px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    flex-shrink: 0;
}

.logo:hover {
    color: var(--secondary);
}

.logo__icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.logo__img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo__text {
    display: none;
}

@media (min-width: 480px) {
    .logo__text {
        display: inline;
    }
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav--desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav--desktop {
        display: flex;
        gap: 0.5rem;
    }
}

.nav__link {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}

/* Keep nav link box sizing and vertical alignment stable when active/focused */
.nav__link,
.nav__dropdown-toggle {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav__link:focus,
.nav__link:active,
.nav__dropdown-toggle:focus {
    outline: none;
}

.nav__link:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.nav__link--active {
    color: var(--primary);
    background: var(--primary-50);
}

/* User Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav__dropdown-toggle:hover {
    background: var(--gray-100);
}

.nav__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.nav__avatar-initial {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    display: none;
    z-index: 1000;
}

.nav__dropdown-menu.is-open {
    display: block;
}

.nav__dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    color: var(--gray-700);
    font-size: 0.875rem;
    transition: background 0.15s;
}

.nav__dropdown-menu .dropdown-item:hover {
    background: var(--gray-50);
}

.nav__dropdown-menu .dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--gray-500);
}

.nav__dropdown-menu .dropdown-item.text-danger {
    color: var(--error);
}

.nav__dropdown-menu .dropdown-divider {
    border: none;
    border-top: 1px solid var(--gray-100);
    margin: 0.5rem 0;
}

.nav__register-btn {
    margin-left: 0.5rem;
}

.nav__divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 0.75rem 0;
}

.nav__link--danger {
    color: var(--error) !important;
}

.nav__link--primary {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Mobile Navigation */
.nav--mobile {
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-100);
}

.nav--mobile.is-open {
    display: flex;
}

@media (min-width: 768px) {
    .nav--mobile {
        display: none !important;
    }
}

.nav--mobile .nav__link {
    padding: 0.75rem 0;
    border-radius: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-600);
    border-radius: 1px;
    transition: all var(--transition);
}

.mobile-menu-btn.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    flex: 1;
    max-width: 280px;
    transition: all var(--transition);
}

.search-box:focus-within {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.search-box__input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9375rem;
    width: 100%;
    color: var(--gray-800);
}

.search-box__input::placeholder {
    color: var(--gray-400);
}

.search-box__icon {
    color: var(--gray-400);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .search-box {
        max-width: 160px;
        padding: 0.375rem 0.75rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
}

.hero__title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero__title span {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: 1.125rem;
    }
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .hero__stats {
        gap: 3rem;
    }
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}

@media (min-width: 768px) {
    .stat__number {
        font-size: 2rem;
    }
}

.stat__label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

.section--alt {
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
}

@media (min-width: 768px) {
    .section__title {
        font-size: 1.5rem;
    }
}

.section__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap var(--transition);
}

.section__link:hover {
    gap: 0.5rem;
}

/* ============================================
   PHONE GRID
   ============================================ */
.phone-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
}

@media (min-width: 480px) {
    .phone-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .phone-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .phone-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   PHONE CARD
   ============================================ */
.phone-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.phone-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.phone-card__image {
    aspect-ratio: 1;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.phone-card__image img {
    max-height: 180px;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.phone-card:hover .phone-card__image img {
    transform: scale(1.05);
}

.phone-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.phone-card__content {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.phone-card__brand {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.phone-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.phone-card__name a {
    color: inherit;
    transition: color var(--transition);
}

.phone-card__name a:hover {
    color: var(--primary);
}

.phone-card__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex: 1;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.spec-item__icon {
    color: var(--gray-400);
    flex-shrink: 0;
}

.phone-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.phone-card__price {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
}

.phone-card__price--na {
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn--secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn--secondary:hover {
    background: var(--gray-200);
}

.btn--outline {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn--sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn--lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

/* ============================================
   BRANDS GRID
   ============================================ */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition);
}

.brand-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.brand-tag__count {
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__about {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer__section h4 {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1.5rem;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer__disclaimer {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-placeholder {
    width: 120px;
    height: 160px;
    background: var(--gray-200);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   STATIC PAGES LAYOUT
   ============================================ */
.main-content.page-static {
    padding: 2rem 0 3rem;
}

.main-content.page-static > * {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1024px) {
    .main-content.page-static > * {
        max-width: 820px;
    }
}


/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
}

.page-header__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.page-header__subtitle {
    color: var(--gray-300);
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--gray-400);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb__separator {
    color: var(--gray-600);
}

.breadcrumb__current {
    color: var(--gray-300);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}

.empty-state svg {
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}


/* Header Search */
.header-search {
    position: relative;
    flex: 1;
    max-width: 320px;
}

.header-search__suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    z-index: 100;
    max-height: 350px;
    overflow-y: auto;
}

.header-search__suggestions.is-active {
    display: block;
}

/* ============================================
   FEATURED COLLECTIONS (Home Page)
   ============================================ */
.featured-collections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .featured-collections {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .featured-collections {
        grid-template-columns: repeat(6, 1fr);
    }
}

.featured-collection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.2s ease;
}

.featured-collection:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.featured-collection__icon {
    font-size: 2rem;
    line-height: 1;
}

.featured-collection__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.featured-collection:hover .featured-collection__title {
    color: var(--primary);
}


/* =====================================================
   ARTICLES STYLES
   ===================================================== */

/* Hero Section */
.articles-hero {
    /* Use the same dark hero background as the site main hero for consistency */
    background: linear-gradient(135deg, var(--secondary) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.articles-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.articles-hero__subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Layout */
.articles-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    padding: 3rem 0;
}

@media (max-width: 1024px) {
    .articles-layout {
        grid-template-columns: 1fr;
    }
    
    .articles-sidebar {
        order: -1;
    }
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.articles-grid__ad {
    grid-column: 1 / -1;
    padding: 1rem 0;
}

/* Article Card */
.article-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.article-card__image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gray-100);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.05);
}

.article-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.article-card__category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
}

.article-card__content {
    padding: 1.25rem;
}

.article-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.article-card__title a {
    color: var(--gray-900);
    text-decoration: none;
}

.article-card__title a:hover {
    color: var(--primary);
}

.article-card__excerpt {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.article-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Sidebar */
.articles-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar-widget__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.15s;
}

.category-link:last-child {
    border-bottom: none;
}

.category-link:hover {
    color: var(--primary);
}

.category-link--active {
    color: var(--primary);
    font-weight: 600;
}

.category-link__icon {
    font-size: 1.25rem;
}

.category-link__name {
    flex: 1;
}

.category-link__count {
    font-size: 0.75rem;
    background: var(--gray-100);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    color: var(--gray-500);
}

/* Popular Articles */
.popular-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-article {
    display: flex;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.popular-article:last-child {
    border-bottom: none;
}

.popular-article__image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-article__content {
    flex: 1;
    min-width: 0;
}

.popular-article__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.popular-article__title:hover {
    color: var(--primary);
}

.popular-article__views {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Newsletter Widget */
.sidebar-widget--newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: white;
}

.sidebar-widget--newsletter .sidebar-widget__title {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.sidebar-widget--newsletter p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.newsletter-form input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.newsletter-form .btn {
    width: 100%;
}

/* Pagination */
.articles-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* Empty State */
.empty-articles {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.empty-articles__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-articles h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-articles p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* =====================================================
   SINGLE ARTICLE STYLES
   ===================================================== */

/* Article Header */
.article-header {
    padding: 3rem 0;
    text-align: center;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: color-mix(in srgb, var(--cat-color) 10%, white);
    color: var(--cat-color);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    margin-bottom: 1rem;
}

.article-category:hover {
    background: color-mix(in srgb, var(--cat-color) 20%, white);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.75rem;
    }
}

.article-excerpt {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.article-meta__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
}

.article-date {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.article-meta__stats {
    display: flex;
    gap: 1rem;
}

.article-meta__stats span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 3rem;
}

.article-featured-image figure {
    margin: 0;
}

.article-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.article-featured-image figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

/* Article Content */
.container--narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container--wide {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2.5rem 0 1rem;
}

.article-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 2rem 0 0.75rem;
}

.article-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 1.5rem 0 0.5rem;
}

.article-content p {
    margin: 0 0 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin: 0.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-600);
}

.article-content pre {
    background: var(--gray-900);
    color: #f1f5f9;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.article-content code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

.article-content hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 2.5rem 0;
}

/* Article Ad Slots */
.article-ad {
    margin: 2rem -1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 8px;
    text-align: center;
}

/* Phone Widget Inline */
.phone-widget-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid var(--gray-200);
}

.phone-widget__image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.phone-widget__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.phone-widget__info {
    flex: 1;
}

.phone-widget__brand {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.phone-widget__name {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.phone-widget__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.phone-widget__specs span {
    background: var(--white);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    color: var(--gray-600);
}

.phone-widget__price {
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.25rem;
}

.phone-widget__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

/* Compare Widget Inline */
.compare-widget-inline {
    padding: 1.25rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid #bae6fd;
}

.compare-widget__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.compare-widget__phones {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.compare-widget__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.compare-widget__phone img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.compare-widget__phone span {
    font-size: 0.8125rem;
    font-weight: 500;
}

.compare-widget__btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.article-tags__label {
    font-weight: 600;
    color: var(--gray-700);
}

.article-tag {
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.875rem;
    border-radius: 9999px;
    text-decoration: none;
}

.article-tag:hover {
    background: var(--primary);
    color: white;
}

/* Share Buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.article-share__label {
    font-weight: 600;
    color: var(--gray-700);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.15s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn--twitter { background: #000; }
.share-btn--facebook { background: #1877f2; }
.share-btn--linkedin { background: #0a66c2; }
.share-btn--whatsapp { background: #25d366; }
.share-btn--copy { background: var(--gray-600); }

/* Author Box */
.author-box {
    background: var(--gray-50);
    padding: 2rem 0;
    margin-top: 3rem;
}

.author-box__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-box__avatar {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-box__label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.author-box__name {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin: 0.25rem 0 0.5rem;
}

.author-box__bio {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* Article Navigation */
.article-nav {
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
}

.article-nav__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .article-nav__inner {
        grid-template-columns: 1fr;
    }
}

.article-nav__link {
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s;
}

.article-nav__link:hover {
    background: var(--gray-100);
}

.article-nav__link--next {
    text-align: right;
}

.article-nav__link--empty {
    background: transparent;
}

.article-nav__label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.375rem;
}

.article-nav__link--next .article-nav__label {
    justify-content: flex-end;
}

.article-nav__title {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
}

/* Related Articles */
.related-articles {
    background: var(--gray-100);
    padding: 4rem 0;
}

.related-articles__title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.related-articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, color-mix(in srgb, var(--cat-color) 80%, black) 0%, var(--cat-color) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.category-header__icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.category-header__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.category-header__description {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.category-header__count {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Tag Header */
.tag-header {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.tag-header__badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.tag-header__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tag-header__count {
    opacity: 0.7;
}

/* Button Block */
.btn--block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ============================================
   Widget System Styles
   ============================================ */

/* Base Widget Container */
.widget {
    margin: 1.5rem 0;
}

.widget:first-child {
    margin-top: 0;
}

.widget:last-child {
    margin-bottom: 0;
}

/* Widget Error States */
.widget-error {
    margin: 1rem 0;
}

.widget-error--debug details summary {
    cursor: pointer;
    user-select: none;
}

.widget-error--debug details[open] summary {
    margin-bottom: 0.5rem;
}

.widget-error--prod {
    opacity: 0.6;
}

/* Phone Score Widget */
.widget-phone-score-card {
    max-width: 320px;
}

.widget-phone-score-card svg path[stroke-dasharray] {
    transition: stroke-dasharray 0.5s ease;
}

.widget-phone-score-minimal {
    display: inline-flex;
}

.widget-phone-score-badge {
    display: inline-flex;
    vertical-align: middle;
}

/* Camera Evolution Widget */
.widget-camera-evolution {
    overflow: hidden;
}

.widget-camera-evolution canvas {
    max-width: 100%;
}

/* Comparison Table Widget */
.widget-comparison-table {
    overflow: hidden;
}

.widget-comparison-table table {
    border-collapse: collapse;
    width: 100%;
}

.widget-comparison-table th,
.widget-comparison-table td {
    border-bottom: 1px solid var(--gray-200);
}

.widget-comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
}

.widget-comparison-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
}

/* Phone Spec Widget (Inline) */
.widget-phone-spec {
    display: inline-flex;
    vertical-align: baseline;
}

.widget-phone-spec svg {
    flex-shrink: 0;
}

/* Widget Animations */
@keyframes widget-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget[data-widget] {
    animation: widget-fade-in 0.3s ease;
}

/* Widget Loading State */
.widget-loading {
    position: relative;
    min-height: 100px;
}

.widget-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: widget-shimmer 1.5s infinite;
}

@keyframes widget-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Widget Print Styles */
@media print {
    .widget-error {
        display: none;
    }
    
    .widget-camera-evolution canvas {
        max-height: 300px;
    }
    
    .widget-comparison-table {
        font-size: 10pt;
    }
}

/* Widget Responsive */
@media (max-width: 640px) {
    .widget-phone-score-card {
        max-width: 100%;
    }
    
    .widget-comparison-table {
        font-size: 0.875rem;
    }
    
    .widget-comparison-table th,
    .widget-comparison-table td {
        padding: 0.5rem;
    }
}

/* ... duplicate FAQ styles removed (consolidated above) */