/* ==========================================================================
   GolfAppReview.com — Editorial Fairway Design System
   ========================================================================== */

:root {
    --bg-page: #F8F9FA;
    --bg-surface: #FFFFFF;
    --bg-dark-editorial: #0F2D20;
    --bg-dark-accent: #173E2E;
    --bg-soft: #F0F4F2;
    --border-subtle: #E1E7E4;
    --border-dark: #244C3B;
    
    --brand-fairway: #0F382A;
    --brand-fairway-light: #1E5440;
    --brand-gold: #C59B27;
    --brand-gold-soft: #FCF5E5;
    --brand-gold-dark: #9A771A;
    --brand-silver: #8D99AE;
    --brand-bronze: #C87D55;
    
    --text-main: #1C2723;
    --text-muted: #5F736A;
    --text-light: #F4F7F5;
    --text-light-muted: #A3B8B0;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-numeric: 'Outfit', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    --shadow-subtle: 0 2px 10px rgba(15, 56, 42, 0.04);
    --shadow-card: 0 10px 30px rgba(15, 56, 42, 0.08);
    --shadow-hover: 0 15px 35px rgba(15, 56, 42, 0.12);
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--font-serif);
    letter-spacing: -0.015em;
    color: var(--brand-fairway);
}

.font-sans { font-family: var(--font-sans); }
.font-numeric { font-family: var(--font-numeric); }

/* Navigation Bar */
.editorial-navbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
    box-shadow: var(--shadow-subtle);
}

.brand-title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.55rem;
    color: var(--brand-fairway) !important;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.brand-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-gold-dark);
    background-color: var(--brand-gold-soft);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

.nav-link-editorial {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link-editorial:hover, .nav-link-editorial.active {
    color: var(--brand-fairway) !important;
}

@media (max-width: 991.98px) {
    .editorial-navbar {
        padding: 0.75rem 0;
    }
    .editorial-navbar .navbar-collapse {
        background-color: #FFFFFF;
        border-top: 1px solid var(--border-subtle);
        margin-top: 0.75rem;
        padding: 0.75rem 0.25rem 0.5rem;
    }
    .nav-link-editorial {
        padding: 0.65rem 0.5rem !important;
        border-bottom: 1px solid #F3F7F5;
        font-size: 0.95rem;
    }
    .brand-title {
        font-size: 1.25rem;
    }
    .brand-tag {
        font-size: 0.58rem;
        padding: 2px 6px;
    }
}

@media (max-width: 400px) {
    .brand-title {
        font-size: 1.15rem;
    }
}

/* Hero Section */
.hero-editorial {
    background: linear-gradient(135deg, #0D2C20 0%, #154533 100%);
    color: #FFFFFF;
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero-editorial::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: radial-gradient(circle at top right, rgba(197, 155, 39, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F8E3A1;
}

.gold-spotlight-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    position: relative;
}

.gold-spotlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #C59B27 0%, #E6C566 50%, #C59B27 100%);
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
}

/* Score Circle Badge */
.score-badge-100 {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-numeric);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.score-badge-gold {
    background: linear-gradient(135deg, #103829 0%, #1A4D3A 100%);
    color: #FFFFFF;
    border: 3px solid #C59B27;
}

.score-badge-silver {
    background: #FFFFFF;
    color: var(--brand-fairway);
    border: 3px solid #8D99AE;
}

.score-badge-bronze {
    background: #FFFFFF;
    color: var(--brand-fairway);
    border: 3px solid #C87D55;
}

.score-badge-standard {
    background: #FFFFFF;
    color: var(--brand-fairway);
    border: 3px solid var(--border-subtle);
}

/* App Review Cards */
.editorial-app-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
}

.editorial-app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #B8C7C0;
}

.award-ribbon {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.award-gold { background: #FEF7E5; color: #9A771A; border: 1px solid #F3DC9B; }
.award-silver { background: #F1F3F5; color: #495057; border: 1px solid #CED4DA; }
.award-bronze { background: #FDF3ED; color: #9E532B; border: 1px solid #F0C4AC; }
.award-standard { background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border-subtle); }

/* Meter Bar */
.lab-meter {
    background-color: #E9EFEA;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.lab-meter-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #1E5440 0%, #2A7358 100%);
}

.lab-meter-gold {
    background: linear-gradient(90deg, #C59B27 0%, #DFB43F 100%);
}

/* Comparison Table */
.editorial-table-wrapper {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.editorial-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.editorial-table-wrapper::-webkit-scrollbar-track {
    background: #EDF3F0;
    border-radius: 4px;
}

.editorial-table-wrapper::-webkit-scrollbar-thumb {
    background: #173E2E;
    border-radius: 4px;
}

.editorial-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #C59B27;
}

.editorial-table {
    width: 100%;
    min-width: 1080px;
    margin-bottom: 0;
    border-collapse: collapse;
}

.editorial-table th {
    background-color: var(--brand-fairway);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.1rem 0.85rem;
    vertical-align: middle;
    border: none;
    white-space: nowrap;
    text-align: center;
}

.editorial-table th:first-child,
.editorial-table td:first-child {
    text-align: left;
}

.editorial-table td {
    padding: 1.15rem 0.85rem;
    vertical-align: middle;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
    text-align: center;
}

.editorial-table tbody tr {
    transition: background-color 0.15s ease;
}

.editorial-table tbody tr:hover {
    background-color: #F4F8F6;
}

.editorial-table tr.kodiak-gold-row {
    background-color: #FAFDFB;
    border-left: 4px solid #C59B27;
}

/* Buttons */
.btn-fairway {
    background-color: var(--brand-fairway);
    color: #FFFFFF !important;
    font-family: var(--font-sans);
    font-weight: 700;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-fairway:hover {
    background-color: #0A241B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 56, 42, 0.2);
}

.btn-gold {
    background-color: var(--brand-gold);
    color: #123023 !important;
    font-family: var(--font-sans);
    font-weight: 800;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    border: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-gold:hover {
    background-color: #B58B19;
    transform: translateY(-1px);
}

.btn-outline-fairway {
    border: 1.5px solid var(--brand-fairway);
    color: var(--brand-fairway) !important;
    background: transparent;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-outline-fairway:hover {
    background-color: var(--brand-fairway);
    color: #FFFFFF !important;
}

/* Markdown Container */
.editorial-article {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2D3A34;
}

.editorial-article h1, .editorial-article h2, .editorial-article h3 {
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}

.editorial-article h2 {
    font-size: 1.6rem;
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 0.4rem;
}

.editorial-article p {
    margin-bottom: 1.3rem;
}

.editorial-article ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.editorial-article li {
    margin-bottom: 0.5rem;
}

/* Footer */
.editorial-footer {
    background-color: var(--brand-fairway);
    color: var(--text-light-muted);
    padding: 3.5rem 0 2rem;
    border-top: 4px solid var(--brand-gold);
}

.footer-link {
    color: var(--text-light-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #FFFFFF;
}
