/* ============================================
   Whipper Snipper Australia - Styles
   Modern, Responsive Design 2026
   ============================================ */

/* CSS Variables */
:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #22c55e;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --lighter: #f8fafc;
    --white: #ffffff;
    --danger: #ef4444;
    --success: #22c55e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-amazon {
    background: #ff9900;
    color: #111;
}

.btn-amazon:hover {
    background: #e88b00;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--light);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    color: var(--dark);
}

.logo-au {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray);
}

.nav-link:hover {
    color: var(--primary);
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--light);
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    padding: 12px 16px;
    font-weight: 500;
    color: var(--gray);
    background: var(--lighter);
    border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: var(--light);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--lighter) 0%, var(--white) 100%);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--light);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: var(--lighter);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.quiz-progress {
    height: 6px;
    background: var(--light);
}

.quiz-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: width 0.5s ease;
}

.quiz-content {
    padding: 48px;
}

.quiz-question {
    text-align: center;
    margin-bottom: 32px;
}

.quiz-question h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.quiz-question p {
    color: var(--gray);
}

.quiz-options {
    display: grid;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--lighter);
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: rgba(22, 163, 74, 0.05);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(22, 163, 74, 0.1);
}

.quiz-option-icon {
    font-size: 1.5rem;
}

.quiz-option-text {
    flex: 1;
}

.quiz-option-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.quiz-option-desc {
    font-size: 0.875rem;
    color: var(--gray);
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.quiz-result {
    padding: 48px;
    text-align: center;
}

.quiz-result h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.quiz-result p {
    margin-bottom: 24px;
}

.quiz-recommendation {
    background: var(--lighter);
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
}

.quiz-recommendation-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--lighter);
    border-radius: var(--radius);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
}

.view-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.view-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-image {
    height: 200px;
    background: var(--lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.badge-bestseller {
    background: var(--accent);
    color: #111;
}

.badge-budget {
    background: var(--secondary);
    color: var(--white);
}

.badge-premium {
    background: var(--dark);
    color: var(--white);
}

.badge-new {
    background: var(--primary);
    color: var(--white);
}

.product-content {
    padding: 20px;
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    background: var(--lighter);
    border-radius: 50px;
    color: var(--gray);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--light);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.product-actions .btn {
    flex: 1;
}

/* Products Table */
.products-table-container {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.products-table th,
.products-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--light);
}

.products-table th {
    background: var(--lighter);
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

.products-table tr:hover {
    background: var(--lighter);
}

.products-table .product-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-table .product-icon {
    font-size: 2rem;
}

.table-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Compare Section */
.compare-section {
    padding: 80px 0;
    background: var(--lighter);
}

.compare-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.compare-slot {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.compare-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid var(--light);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.compare-select:focus {
    outline: none;
    border-color: var(--primary);
}

.compare-product {
    margin-top: 20px;
}

.compare-product-card {
    text-align: center;
}

.compare-product-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.compare-product-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.compare-product-brand {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.compare-table-container {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 32px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--light);
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: var(--lighter);
}

.compare-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.compare-table th:first-child {
    background: var(--primary-dark);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-check {
    color: var(--success);
    font-size: 1.25rem;
}

.compare-cross {
    color: var(--danger);
    font-size: 1.25rem;
}

/* Guide Section */
.guide-section {
    padding: 80px 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.guide-card {
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.guide-card h3 {
    margin-bottom: 12px;
}

.guide-card p {
    margin-bottom: 16px;
}

.guide-pros {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guide-pros li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.875rem;
}

.guide-pros li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background: var(--lighter);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--dark);
}

.seo-content h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
    color: var(--dark);
}

.seo-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.seo-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.seo-content ul li {
    margin-bottom: 8px;
    color: var(--gray);
    line-height: 1.6;
    list-style: disc;
}

.seo-content strong {
    color: var(--dark);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 64px 0 32px;
}

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

.footer-brand p {
    color: var(--gray-light);
    margin-top: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--gray-light);
    padding: 8px 0;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.affiliate-disclosure {
    font-size: 0.75rem !important;
    color: var(--gray) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .compare-selector {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .quiz-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .products-table {
        font-size: 0.875rem;
    }

    .products-table th,
    .products-table td {
        padding: 12px 8px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading State */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    color: var(--gray);
}

.loading::after {
    content: "";
    width: 24px;
    height: 24px;
    border: 3px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin-left: 12px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 48px;
    color: var(--gray);
}

.no-results h3 {
    margin-bottom: 8px;
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--dark);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   AUTHORITY SITE STYLES - Multi-Page Layout
   ============================================ */

/* Enhanced Typography for Authority Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-content h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    margin: 48px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--light);
}

.article-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin: 32px 0 16px;
}

.article-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--dark-light);
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 32px;
}

.article-content li {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--dark-light);
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

/* Page Hero Banner */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--lighter) 0%, var(--white) 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero .subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero .breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.page-hero .breadcrumb a {
    color: var(--primary);
}

.page-hero .breadcrumb span {
    color: var(--gray);
    margin: 0 8px;
}

/* Article Meta */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 24px 0 48px;
    padding: 20px;
    background: var(--lighter);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray);
}

/* Info Boxes */
.info-box {
    margin: 32px 0;
    padding: 24px 28px;
    border-radius: var(--radius);
    border-left: 4px solid;
}

.info-box.tip {
    background: rgba(22, 163, 74, 0.08);
    border-color: var(--primary);
}

.info-box.warning {
    background: rgba(245, 158, 11, 0.08);
    border-color: var(--accent);
}

.info-box.important {
    background: rgba(14, 165, 233, 0.08);
    border-color: var(--secondary);
}

.info-box.safety {
    background: rgba(239, 68, 68, 0.12);
    border-color: var(--danger);
}

.info-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.info-box p,
.info-box ul {
    margin-bottom: 0;
    font-size: 1rem;
}

.info-box ul {
    margin-top: 12px;
    padding-left: 20px;
}

.info-box li {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Key Takeaway Card */
.key-takeaway {
    margin: 40px 0;
    padding: 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.key-takeaway-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.key-takeaway p {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--white);
    margin: 0;
}

/* Author Bio */
.author-bio {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 48px 0;
    padding: 28px;
    background: var(--lighter);
    border-radius: var(--radius);
    border: 1px solid var(--light);
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.author-info p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    padding: 0 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card h3 a {
    color: var(--dark);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--gray-light);
}

/* Latest Guides Section (Home Page) */
.latest-guides {
    padding: 100px 0;
    background: var(--lighter);
}

.latest-guides .section-header {
    margin-bottom: 56px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    font-weight: 600;
    color: var(--primary);
}

.view-all-link:hover {
    gap: 12px;
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-story {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-story p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--dark-light);
}

.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.value-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--light);
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    font-size: 1rem;
    margin: 0;
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--light);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

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

.contact-info {
    margin-top: 48px;
    padding: 28px;
    background: var(--lighter);
    border-radius: var(--radius);
    text-align: center;
}

.contact-info p {
    margin: 0;
    font-size: 1rem;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-text h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--dark);
}

.legal-text h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
}

.legal-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--dark-light);
}

.legal-text ul {
    margin: 16px 0;
    padding-left: 28px;
}

.legal-text li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: var(--dark-light);
    list-style: disc;
}

.legal-text .last-updated {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 32px;
}

/* Internal Link Styling */
.internal-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(22, 163, 74, 0.3);
    text-underline-offset: 3px;
}

.internal-link:hover {
    text-decoration-color: var(--primary);
}

/* Related Articles */
.related-articles {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--light);
}

.related-articles h3 {
    margin-bottom: 24px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--lighter);
    border-radius: var(--radius);
    transition: var(--transition);
}

.related-card:hover {
    background: var(--light);
}

.related-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.related-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.related-card h4 a {
    color: var(--dark);
}

.related-card h4 a:hover {
    color: var(--primary);
}

.related-card p {
    font-size: 0.8125rem;
    color: var(--gray);
    margin: 0;
}

/* Article Page Specific */
.article-page {
    padding-bottom: 80px;
}

.article-body {
    padding-top: 48px;
}

/* Responsive Updates for Authority Site */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .article-meta {
        flex-direction: column;
        gap: 12px;
    }

    .team-values {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 120px 0 40px;
    }
}

@media (max-width: 480px) {
    .article-content h1 {
        font-size: 1.75rem;
    }

    .article-content h2 {
        font-size: 1.375rem;
    }

    .info-box {
        padding: 20px;
    }

    .key-takeaway {
        padding: 24px;
    }

    .key-takeaway p {
        font-size: 1.125rem;
    }
}
