/* ===== NAVBAR FIX ===== */
#top_menu,
#top_menu ul,
.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 8px;
}
#top_menu li,
.navbar-nav > li {
    display: inline-flex !important;
    list-style: none !important;
    align-items: center;
}
#top_menu li a,
.navbar-nav > li > a {
    color: white !important;
    padding: 8px 14px !important;
    white-space: nowrap;
}
/* ============================================================
   HITRIDGE — Complete Theme CSS
   Forest green #1B3A2D | Amber #D4880F | Playfair Display
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

/* ----------------------------------------
   Global
   ---------------------------------------- */
body {
    background-color: #FAF7F2;
    color: #2C2C2C;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #1B3A2D;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: #2A5940;
    transition: color 0.25s ease;
}
a:hover {
    color: #D4880F;
    text-decoration: none;
}

#wrapwrap {
    background-color: #FAF7F2;
}

/* ----------------------------------------
   Topbar
   ---------------------------------------- */
.hr-topbar {
    background-color: #1B3A2D;
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-family: 'Lato', Arial, sans-serif;
    padding: 0.4rem 0;
    text-align: center;
}
.hr-topbar a {
    color: #F2C46A;
    font-weight: 700;
}
.hr-topbar a:hover {
    color: #fff;
}

/* ----------------------------------------
   Navbar
   ---------------------------------------- */
#top,
.o_header_standard {
    background-color: #fff !important;
    border-bottom: 3px solid #1B3A2D !important;
    box-shadow: 0 2px 8px rgba(27,58,45,0.12);
}

.navbar-brand {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    color: #1B3A2D !important;
    letter-spacing: -0.02em;
}

#top_menu .nav-link,
.navbar-nav .nav-link {
    font-family: 'Lato', Arial, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1B3A2D !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.25s ease;
}
#top_menu .nav-link:hover,
.navbar-nav .nav-link:hover {
    color: #D4880F !important;
}

.dropdown-menu {
    border-top: 3px solid #D4880F !important;
    box-shadow: 0 6px 24px rgba(27,58,45,0.18);
}
.dropdown-item:hover {
    background-color: #EAF2EC !important;
    color: #1B3A2D !important;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn-primary {
    background-color: #D4880F !important;
    border-color: #D4880F !important;
    color: #fff !important;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.75rem 2rem;
    transition: background-color 0.25s ease;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #A86A0A !important;
    border-color: #A86A0A !important;
    color: #fff !important;
}

.btn-secondary {
    background-color: transparent !important;
    border: 2px solid #1B3A2D !important;
    color: #1B3A2D !important;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.7rem 1.9rem;
    transition: all 0.25s ease;
}
.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #1B3A2D !important;
    color: #FAF7F2 !important;
}

.btn-hitridge-ghost {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff !important;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.7rem 1.9rem;
    transition: all 0.25s ease;
}
.btn-hitridge-ghost:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff !important;
}

/* ----------------------------------------
   Hero
   ---------------------------------------- */
.hr-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #1B3A2D;
}
.hr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,58,45,0.92) 0%, rgba(27,58,45,0.65) 60%, rgba(27,58,45,0.35) 100%);
    z-index: 1;
}
.hr-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.hr-hero-label {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #F2C46A;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hr-hero-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background-color: #D4880F;
    flex-shrink: 0;
}
.hr-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}
.hr-hero h1 em {
    font-style: italic;
    color: #F2C46A;
}
.hr-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.65;
}
.hr-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.hr-hero-stats {
    margin-top: 3rem;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hr-hero-stats .hr-stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 900;
    color: #F2C46A;
    line-height: 1;
}
.hr-hero-stats .hr-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-top: 0.25rem;
}

/* ----------------------------------------
   Features section
   ---------------------------------------- */
.hr-features-section {
    padding: 6rem 0;
    background-color: #FAF7F2;
}
.hr-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}
.hr-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hr-section-header p {
    color: #6B7280;
    font-size: 1.05rem;
}
.hr-label {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4880F;
    display: block;
    margin-bottom: 0.5rem;
}
.hr-feature-card {
    background: #fff;
    border: 1px solid #D6CFC3;
    border-radius: 8px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.hr-feature-card:hover {
    box-shadow: 0 6px 24px rgba(27,58,45,0.18);
    transform: translateY(-3px);
    border-color: #2A5940;
}
.hr-feature-icon {
    width: 56px;
    height: 56px;
    background: #EAF2EC;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: #1B3A2D;
    transition: background 0.25s ease;
}
.hr-feature-card:hover .hr-feature-icon {
    background: #1B3A2D;
    color: #F2C46A;
}
.hr-feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #1B3A2D;
}
.hr-feature-card p {
    font-size: 0.9rem;
    color: #6B7280;
    margin: 0;
}

/* ----------------------------------------
   Stats bar
   ---------------------------------------- */
.s_hr_stats {
    background: #1B3A2D;
    padding: 2rem 0;
}
.hr-stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
}
.hr-stat-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #F2C46A;
    line-height: 1;
}
.hr-stat-unit {
    font-size: 1.2rem;
    color: #D4880F;
    vertical-align: super;
}
.hr-stat-label {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 0.4rem;
}

/* ----------------------------------------
   Pricing
   ---------------------------------------- */
.hr-pricing-section {
    padding: 6rem 0;
    background-color: #F0EBE1;
}
.hr-pricing-card {
    background: #fff;
    border: 2px solid #D6CFC3;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.25s ease;
    position: relative;
}
.hr-pricing-name {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 0.5rem;
}
.hr-pricing-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 900;
    color: #1B3A2D;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.hr-pricing-price sup {
    font-size: 1.2rem;
    vertical-align: super;
}
.hr-pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #6B7280;
    font-family: 'Lato', Arial, sans-serif;
}
.hr-pricing-desc {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 2rem;
}
ul.hr-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}
ul.hr-pricing-features li {
    font-size: 0.9rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #D6CFC3;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #2C2C2C;
}
ul.hr-pricing-features li::before {
    content: '✓';
    color: #2A5940;
    font-weight: 700;
    flex-shrink: 0;
}
ul.hr-pricing-features li.hr-feature-disabled {
    color: #6B7280;
}
ul.hr-pricing-features li.hr-feature-disabled::before {
    content: '–';
    color: #D6CFC3;
}
ul.hr-pricing-features li:last-child {
    border-bottom: none;
}
.hr-pricing-card.hr-pricing-featured {
    border-color: #D4880F;
    box-shadow: 0 6px 24px rgba(27,58,45,0.18);
    transform: scale(1.03);
}
.hr-pricing-card.hr-pricing-featured .hr-pricing-price {
    color: #D4880F;
}
.hr-pricing-card.hr-pricing-featured .hr-pricing-name {
    color: #D4880F;
}
.hr-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #D4880F;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3em 1.2em;
    border-radius: 20px;
    white-space: nowrap;
    font-family: 'Lato', Arial, sans-serif;
}

/* ----------------------------------------
   CTA section
   ---------------------------------------- */
.hr-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1B3A2D 0%, #2A5940 100%);
    text-align: center;
}
.hr-cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.hr-cta-section p {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 2rem;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
#footer,
.o_footer {
    background-color: #1B3A2D !important;
    color: rgba(255,255,255,0.80);
    font-family: 'Lato', Arial, sans-serif;
    font-size: 0.9rem;
    padding-top: 4rem;
}
.hr-footer-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.75rem;
}
.hr-brand-accent {
    color: #D4880F;
}
.hr-footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    font-style: italic;
}
#footer h5,
.o_footer h5 {
    font-family: 'Lato', Arial, sans-serif !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #F2C46A !important;
    margin-bottom: 1rem;
}
#footer a,
.o_footer a {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    transition: color 0.25s ease;
}
#footer a:hover,
.o_footer a:hover {
    color: #F2C46A !important;
}
#footer ul.list-unstyled li,
.o_footer ul.list-unstyled li {
    margin-bottom: 0.4rem;
}
.hr-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.hr-social-links a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: rgba(255,255,255,0.8) !important;
    transition: all 0.25s ease;
}
.hr-social-links a:hover {
    background-color: #D4880F !important;
    border-color: #D4880F !important;
    color: #fff !important;
}
.hr-footer-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.hr-tier-badge {
    padding: 0.2em 0.8em;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.hr-tier-badge.free  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.hr-tier-badge.pro   { background: #D4880F; color: #fff; }
.hr-tier-badge.elite { background: #A86A0A; color: #fff; }
.hr-tier-badge.club  { background: #6B4C2A; color: #fff; }
.hr-footer-divider {
    border-color: rgba(255,255,255,0.12) !important;
    margin: 2rem 0;
}
.hr-footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 1rem 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}
.hr-footer-bottom a {
    color: rgba(255,255,255,0.6) !important;
}
.hr-footer-bottom a:hover {
    color: #F2C46A !important;
}

/* ----------------------------------------
   Utility
   ---------------------------------------- */
.hr-divider {
    border: none;
    border-top: 2px solid #D4880F;
    width: 60px;
    margin: 1rem 0 1.5rem;
}

/* Navbar dark green background */
header#top, header.o_header_standard, .navbar {
    background-color: #1B3A2D !important;
}
.navbar-nav .nav-link, #top_menu .nav-link {
    color: #FAF7F2 !important;
}
.navbar-nav .nav-link:hover, #top_menu .nav-link:hover {
    color: #D4880F !important;
}
/* Hide phone from navbar */
.o_header_standard .o_phone {
    display: none !important;
}

/* ============================================
   HITRIDGE DASHBOARD
   ============================================ */
.hr-dashboard { min-height: 100vh; background: #FAF7F2; }
.hr-dash-app { display: flex; height: calc(100vh - 0px); overflow: hidden; }

/* Sidebar */
.hr-dash-sidebar {
    width: 260px; background: #122819; flex-shrink: 0;
    display: flex; flex-direction: column; padding: 0; overflow-y: auto;
}
.hr-dash-logo {
    padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; gap: 10px;
}
.hr-logo-mark {
    width: 36px; height: 36px; background: #D4880F;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%); flex-shrink: 0;
}
.hr-logo-text { font-family: 'Playfair Display', serif; color: white; font-size: 18px; }
.hr-logo-text span { color: #D4880F; }
.hr-dash-nav { padding: 12px 0; flex: 1; }
.hr-nav-section {
    padding: 8px 20px 4px; font-size: 10px; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.hr-nav-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 20px;
    color: rgba(255,255,255,0.6); font-size: 14px; cursor: pointer;
    transition: all 0.2s; border-left: 3px solid transparent;
    text-decoration: none;
}
.hr-nav-item:hover { color: white; background: rgba(255,255,255,0.05); text-decoration: none; }
.hr-nav-item.active {
    color: #F2C46A; border-left-color: #D4880F;
    background: rgba(212,136,15,0.1);
}
.hr-nav-icon { font-size: 16px; width: 20px; text-align: center; }
.hr-tier-badge {
    margin: 16px; padding: 12px 16px; background: rgba(212,136,15,0.15);
    border: 1px solid rgba(212,136,15,0.3); border-radius: 8px;
}
.hr-tier-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #F2C46A; }
.hr-tier-name { font-family: 'Playfair Display', serif; color: white; font-size: 16px; margin-top: 2px; }
.hr-tier-sub { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* Main */
.hr-dash-main { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.hr-dash-topbar {
    background: white; padding: 16px 28px; display: flex;
    align-items: center; justify-content: space-between;
    border-bottom: 1px solid #e5e7eb; flex-shrink: 0;
}
.hr-dash-title { font-family: 'Playfair Display', serif; font-size: 22px; color: #1B3A2D; }
.hr-dash-content { padding: 24px 28px; flex: 1; }

/* Stats */
.hr-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.hr-stat-card {
    background: white; border-radius: 10px; padding: 18px 20px;
    border: 1px solid #e9ecef; display: flex; align-items: center; gap: 14px;
}
.hr-stat-icon {
    width: 44px; height: 44px; border-radius: 10px; display: flex;
    align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.hr-stat-icon.green { background: rgba(27,58,45,0.1); }
.hr-stat-icon.amber { background: rgba(212,136,15,0.1); }
.hr-stat-icon.blue { background: rgba(59,130,246,0.1); }

/* Buttons */
.hr-btn {
    padding: 8px 18px; border-radius: 6px; font-size: 13px;
    cursor: pointer; border: none; font-weight: 700; letter-spacing: 0.3px;
    transition: all 0.2s; text-decoration: none; display: inline-block;
}
.hr-btn-primary { background: #1B3A2D; color: white; }
.hr-btn-primary:hover { background: #254d3c; color: white; text-decoration: none; }
.hr-btn-outline { background: transparent; color: #1B3A2D; border: 1.5px solid #1B3A2D; }
.hr-btn-outline:hover { background: #1B3A2D; color: white; text-decoration: none; }
.hr-btn-sm { padding: 5px 12px; font-size: 11px; }

/* Section headers */
.hr-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hr-section-title { font-family: 'Playfair Display', serif; font-size: 18px; color: #1B3A2D; }

/* Area cards */
.hr-areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hr-area-card {
    background: white; border-radius: 12px; overflow: hidden;
    border: 1px solid #e9ecef; transition: all 0.2s;
}
.hr-area-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,58,45,0.12); }
.hr-area-card-img {
    height: 120px; display: flex; align-items: center; justify-content: center;
}
.hr-area-card-img.forest { background: linear-gradient(135deg, #1B3A2D 0%, #2d5a3d 100%); }
.hr-area-terrain-icon { font-size: 40px; opacity: 0.5; }
.hr-area-card-body { padding: 14px; }
.hr-area-card-name { font-family: 'Playfair Display', serif; font-size: 15px; color: #1B3A2D; margin-bottom: 4px; }
.hr-area-card-location { font-size: 12px; color: #6b7280; }
.hr-area-card-footer { padding: 10px 14px; background: #F0EBE1; display: flex; justify-content: flex-end; }

/* Harvest list */
.hr-harvest-list { display: flex; flex-direction: column; gap: 10px; }
.hr-harvest-item {
    background: white; border-radius: 8px; padding: 14px 18px;
    border: 1px solid #e9ecef; display: flex; align-items: center; gap: 14px;
}
.hr-harvest-icon { font-size: 24px; }
.hr-harvest-name { font-weight: 700; color: #1B3A2D; font-size: 14px; }
.hr-harvest-date { font-size: 12px; color: #6b7280; margin-top: 2px; }

/* Empty state */
.hr-empty-state {
    background: white; border-radius: 12px; border: 1px solid #e9ecef;
    padding: 40px; text-align: center;
}
.hr-empty-icon { font-size: 48px; margin-bottom: 12px; }
.hr-empty-title { font-family: 'Playfair Display', serif; font-size: 18px; color: #1B3A2D; margin-bottom: 6px; }
.hr-empty-sub { font-size: 13px; color: #6b7280; margin-bottom: 16px; }

/* ============================================
   ABOUT US PAGE
   ============================================ */

/* Hero */
.hr-about-hero {
    background: #1B3A2D; padding: 100px 0 80px; text-align: center;
}
.hr-about-hero-inner { max-width: 700px; margin: 0 auto; }
.hr-about-tag {
    display: inline-block; background: rgba(212,136,15,0.2);
    color: #D4880F; font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase; padding: 6px 16px; border-radius: 20px;
    margin-bottom: 24px;
}
.hr-about-title {
    font-family: 'Playfair Display', serif; font-size: 52px;
    color: white; line-height: 1.15; margin-bottom: 24px;
}
.hr-about-title em { color: #D4880F; font-style: italic; }
.hr-about-subtitle {
    font-size: 17px; color: rgba(255,255,255,0.75);
    line-height: 1.7; max-width: 600px; margin: 0 auto;
}

/* Stats */
.hr-about-stats { background: #122819; padding: 48px 0; }
.hr-about-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; text-align: center;
}
.hr-about-stat { padding: 24px; border-right: 1px solid rgba(255,255,255,0.08); }
.hr-about-stat:last-child { border-right: none; }
.hr-about-stat-value {
    font-family: 'Playfair Display', serif; font-size: 42px;
    color: #D4880F; line-height: 1;
}
.hr-about-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; text-transform: uppercase; letter-spacing: 1px; }

/* Story */
.hr-about-story { padding: 80px 0; background: #FAF7F2; }
.hr-about-story-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.hr-about-section-tag {
    display: inline-block; color: #D4880F; font-size: 11px;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.hr-about-section-title {
    font-family: 'Playfair Display', serif; font-size: 36px;
    color: #1B3A2D; margin-bottom: 24px; line-height: 1.2;
}
.hr-about-story-content p {
    color: #4a5568; line-height: 1.8; margin-bottom: 16px; font-size: 15px;
}
.hr-about-story-visual { display: flex; flex-direction: column; gap: 16px; }
.hr-about-story-card {
    background: white; border-radius: 12px; padding: 20px 24px;
    border: 1px solid #e9ecef; display: flex; gap: 16px; align-items: flex-start;
}
.hr-about-story-icon { font-size: 28px; flex-shrink: 0; }
.hr-about-story-card-title { font-family: 'Playfair Display', serif; font-size: 16px; color: #1B3A2D; margin-bottom: 4px; }
.hr-about-story-card-text { font-size: 13px; color: #6b7280; line-height: 1.6; }

/* Values */
.hr-about-values { padding: 80px 0; background: white; }
.hr-about-values-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hr-about-value-card {
    background: #FAF7F2; border-radius: 12px; padding: 28px 24px;
    border: 1px solid #e9ecef; text-align: center;
}
.hr-about-value-icon { font-size: 36px; margin-bottom: 16px; }
.hr-about-value-card h3 {
    font-family: 'Playfair Display', serif; font-size: 18px;
    color: #1B3A2D; margin-bottom: 10px;
}
.hr-about-value-card p { font-size: 13px; color: #6b7280; line-height: 1.7; }

/* Team */
.hr-about-team { padding: 80px 0; background: #FAF7F2; }
.hr-about-team-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 32px; max-width: 800px; margin: 0 auto;
}
.hr-about-team-card {
    background: white; border-radius: 16px; padding: 36px 32px;
    border: 1px solid #e9ecef; text-align: center;
}
.hr-about-team-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: #1B3A2D; color: white; font-family: 'Playfair Display', serif;
    font-size: 24px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.hr-about-team-name { font-family: 'Playfair Display', serif; font-size: 20px; color: #1B3A2D; margin-bottom: 4px; }
.hr-about-team-role { font-size: 12px; color: #D4880F; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.hr-about-team-bio { font-size: 13px; color: #6b7280; line-height: 1.7; }

/* CTA */
.hr-about-cta { background: #1B3A2D; padding: 80px 0; text-align: center; }
.hr-about-cta-inner { max-width: 600px; margin: 0 auto; }
.hr-about-cta h2 {
    font-family: 'Playfair Display', serif; font-size: 40px;
    color: white; margin-bottom: 16px;
}
.hr-about-cta p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.7; }
.hr-about-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hr-btn-amber { background: #D4880F; color: white; }
.hr-btn-amber:hover { background: #A86A0A; color: white; text-decoration: none; }
.hr-btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.4); }
.hr-btn-outline-white:hover { background: rgba(255,255,255,0.1); color: white; text-decoration: none; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {

    /* Navbar */
    header#top, header.o_header_standard, .navbar {
        padding: 8px 16px !important;
    }

    /* About Us */
    .hr-about-title { font-size: 36px; }
    .hr-about-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hr-about-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .hr-about-story-grid { grid-template-columns: 1fr; gap: 32px; }
    .hr-about-values-grid { grid-template-columns: repeat(2, 1fr); }
    .hr-about-team-grid { grid-template-columns: 1fr; }
    .hr-about-cta h2 { font-size: 28px; }
    .hr-about-cta-buttons { flex-direction: column; align-items: center; }

    /* Dashboard */
    .hr-dash-app { flex-direction: column; height: auto; }
    .hr-dash-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 12px; }
    .hr-dash-logo { padding: 12px; border-bottom: none; }
    .hr-dash-nav { display: flex; flex-wrap: wrap; padding: 0; flex: 1; }
    .hr-nav-section { display: none; }
    .hr-nav-item { padding: 8px 12px; font-size: 12px; border-left: none; border-bottom: 3px solid transparent; }
    .hr-nav-item.active { border-left-color: transparent; border-bottom-color: #D4880F; }
    .hr-tier-badge { display: none; }
    .hr-stats-row { grid-template-columns: repeat(2, 1fr); }
    .hr-areas-grid { grid-template-columns: 1fr; }
    .hr-dash-content { padding: 16px; }
    .hr-dash-topbar { padding: 12px 16px; }
    .hr-dash-title { font-size: 18px; }

    /* Homepage hero */
    .hr-hero-title, h1 { font-size: 36px !important; }

    /* Footer tier badges */
    .hr-footer-tiers { flex-wrap: wrap; gap: 8px; }

    /* General */
    .container { padding: 0 16px; }
    section { padding: 48px 0 !important; }
}

@media (max-width: 480px) {
    .hr-about-stats-grid { grid-template-columns: 1fr; }
    .hr-about-values-grid { grid-template-columns: 1fr; }
    .hr-stats-row { grid-template-columns: 1fr; }
    .hr-about-title { font-size: 28px; }
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.oe_website_login_container {
    max-width: 480px !important;
    margin: 60px auto !important;
    background: white;
    border-radius: 16px;
    padding: 40px !important;
    box-shadow: 0 8px 32px rgba(27,58,45,0.12);
    border: 1px solid #e9ecef;
}
.oe_website_login_container h2 {
    font-family: 'Playfair Display', serif;
    color: #1B3A2D;
    margin-bottom: 24px;
    text-align: center;
}
.oe_website_login_container .btn-primary {
    background: #D4880F !important;
    border-color: #D4880F !important;
    width: 100%;
    padding: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.oe_website_login_container .btn-primary:hover {
    background: #A86A0A !important;
    border-color: #A86A0A !important;
}
.oe_website_login_container .form-control {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 10px 14px;
}
.oe_website_login_container .form-control:focus {
    border-color: #1B3A2D;
    box-shadow: 0 0 0 3px rgba(27,58,45,0.1);
}

/* ============================================
   LOGIN PAGE FIX
   ============================================ */
.oe_website_login_container,
.oe_website_login_container .oe_login_form {
    max-width: 480px !important;
    width: 100% !important;
    margin: 0 auto !important;
}
.oe_website_login_container > div {
    max-width: 480px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background: white;
    border-radius: 16px;
    padding: 40px !important;
    box-shadow: 0 8px 32px rgba(27,58,45,0.12);
}
/* Wrap the login container in a centered block */
body .oe_website_login_container {
    display: flex !important;
    justify-content: center !important;
    padding: 60px 16px !important;
    background: #FAF7F2 !important;
    min-height: 70vh !important;
    align-items: center !important;
}

/* Hide admin-only login links from website */
.oe_website_login_container .btn-link,
.oe_website_login_container owl-component {
    display: none !important;
}
/* Login card white background */
.oe_website_login_container > div {
    background: white !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 8px 32px rgba(27,58,45,0.12) !important;
    border: 1px solid #e9ecef !important;
}

/* Login card background fix */
.oe_website_login_container .oe_login_form,
.oe_website_login_container form {
    background: white !important;
    border-radius: 16px !important;
    padding: 32px !important;
    box-shadow: 0 8px 32px rgba(27,58,45,0.12) !important;
    border: 1px solid #e9ecef !important;
}
/* Login Hitridge branding */
.oe_website_login_container::before {
    content: 'Sign in to Hitridge';
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #1B3A2D;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 700;
}

/* Fix login title positioning */
.oe_website_login_container::before {
    position: static !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}
.oe_website_login_container {
    flex-direction: column !important;
    align-items: center !important;
}
.oe_website_login_container .oe_login_form,
.oe_website_login_container form {
    width: 100% !important;
    max-width: 400px !important;
}

/* ============================================================
   FEATURES PAGE
   ============================================================ */

/* Hero */
.htr-features-hero {
  background: #1B3A2D;
  padding: 100px 0 80px;
  color: #fff;
}
.htr-features-hero-badge {
  display: inline-block;
  background: rgba(212,136,15,0.15);
  color: #D4880F;
  border: 1px solid rgba(212,136,15,0.4);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.htr-features-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.htr-features-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.htr-features-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.htr-btn-outline-dark {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s;
}
.htr-btn-outline-dark:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

/* Feature rows */
.htr-feature-row {
  padding: 90px 0;
  background: #FAF7F2;
}
.htr-feature-row--alt {
  background: #fff;
}
.htr-feature-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.htr-feature-inner--reverse {
  flex-direction: row-reverse;
}
.htr-feature-text {
  flex: 1;
  min-width: 0;
}
.htr-feature-visual {
  flex: 1;
  min-width: 0;
}
.htr-feature-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(27,58,45,0.08);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}
.htr-feature-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #D4880F;
  margin-bottom: 12px;
}
.htr-feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #1B3A2D;
  line-height: 1.25;
  margin-bottom: 16px;
}
.htr-feature-desc {
  font-size: 16px;
  color: #5a6a5e;
  line-height: 1.75;
  margin-bottom: 20px;
}
.htr-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.htr-feature-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 15px;
  color: #3d4f43;
}
.htr-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #D4880F;
  font-weight: 700;
}
.htr-feature-tier {
  font-size: 13px;
  color: #8a9a8e;
}
.htr-tier-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.htr-tier-free { background: #e8f0ea; color: #1B3A2D; }
.htr-tier-pro { background: #fff3dc; color: #A86A0A; }
.htr-tier-elite { background: #1B3A2D; color: #F2C46A; }
.htr-tier-club { background: #D4880F; color: #fff; }

/* Mockup shell */
.htr-mockup {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(27,58,45,0.12);
  overflow: hidden;
  border: 1px solid #e8ede9;
}
.htr-mockup--dark {
  background: #1a1f1b;
}
.htr-mockup-topbar {
  background: #f0ebe1;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e0dbd0;
}
.htr-mockup--dark .htr-mockup-topbar {
  background: #2a2f2b;
  border-bottom-color: #3a3f3b;
}
.htr-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.htr-mockup-title {
  font-size: 11px;
  color: #8a9a8e;
  margin-left: 8px;
  font-weight: 500;
}
.htr-mockup--dark .htr-mockup-title { color: #6a7a6e; }
.htr-mockup-footer {
  background: #f0ebe1;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8a9a8e;
  border-top: 1px solid #e0dbd0;
}
.htr-mockup-status { color: #2d7a4f; font-weight: 600; }

/* Map mockup */
.htr-mockup-map-body {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.htr-map-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8d8b0 0%, #a8c890 30%, #88b870 60%, #6a9850 100%);
}
.htr-map-zone {
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  bottom: 15%;
  border: 2px dashed rgba(27,58,45,0.5);
  border-radius: 40% 60% 55% 45% / 45% 50% 55% 50%;
  background: rgba(27,58,45,0.08);
}
.htr-map-poi {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}
.htr-poi-icon {
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.htr-poi-label {
  font-size: 9px;
  font-weight: 700;
  background: rgba(255,255,255,0.9);
  color: #1B3A2D;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 2px;
}

/* Harvest list mockup */
.htr-mockup-list-body {
  padding: 8px 0;
}
.htr-harvest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0ebe1;
}
.htr-harvest-row:last-child { border-bottom: none; }
.htr-harvest-icon { font-size: 20px; flex-shrink: 0; }
.htr-harvest-info { flex: 1; min-width: 0; }
.htr-harvest-name { font-size: 13px; font-weight: 600; color: #1B3A2D; }
.htr-harvest-meta { font-size: 11px; color: #8a9a8e; margin-top: 2px; }
.htr-harvest-score { font-size: 12px; font-weight: 700; color: #D4880F; white-space: nowrap; }
.htr-sight-badge {
  background: #e8f0ea;
  color: #1B3A2D;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
}

/* Species mockup */
.htr-species-body { padding: 16px; }
.htr-species-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.htr-species-emoji { font-size: 32px; }
.htr-species-name { font-size: 16px; font-weight: 700; color: #1B3A2D; }
.htr-species-latin { font-size: 12px; color: #8a9a8e; font-style: italic; }
.htr-species-cat-badge {
  margin-left: auto;
  background: #fff3dc;
  color: #A86A0A;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.htr-species-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.htr-species-stat {
  background: #f8f5f0;
  border-radius: 6px;
  padding: 8px 10px;
}
.htr-stat-label { font-size: 10px; color: #8a9a8e; text-transform: uppercase; letter-spacing: 0.5px; }
.htr-stat-value { font-size: 13px; font-weight: 700; color: #1B3A2D; margin-top: 2px; }
.htr-species-season-bar { margin-top: 4px; }
.htr-season-label { font-size: 10px; color: #8a9a8e; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.htr-season-months {
  display: flex;
  gap: 3px;
}
.htr-season-months span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  padding: 4px 0;
  border-radius: 3px;
  background: #f0ebe1;
  color: #8a9a8e;
}
.htr-season-months span.active {
  background: #1B3A2D;
  color: #F2C46A;
}

/* Weather mockup */
.htr-weather-body { padding: 16px; }
.htr-weather-today {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0ebe1;
}
.htr-weather-icon { font-size: 32px; }
.htr-weather-temp { font-size: 28px; font-weight: 700; color: #1B3A2D; }
.htr-weather-desc { font-size: 12px; color: #8a9a8e; }
.htr-weather-forecast {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.htr-forecast-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 6px;
  background: #f8f5f0;
  font-size: 11px;
  color: #5a6a5e;
}
.htr-forecast-best {
  background: #e8f4ec;
  color: #1B3A2D;
  font-weight: 600;
}
.htr-solunar-row { margin-bottom: 12px; }
.htr-solunar-label { font-size: 11px; font-weight: 600; color: #1B3A2D; margin-bottom: 6px; }
.htr-solunar-periods { display: flex; flex-wrap: wrap; gap: 6px; }
.htr-sol-major {
  background: #fff3dc;
  color: #A86A0A;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}
.htr-sol-minor {
  background: #f0ebe1;
  color: #5a6a5e;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 10px;
}
.htr-activity-label { font-size: 10px; color: #8a9a8e; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.htr-activity-track {
  height: 6px;
  background: #f0ebe1;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}
.htr-activity-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4880F, #F2C46A);
  border-radius: 3px;
}
.htr-activity-score { font-size: 11px; font-weight: 700; color: #D4880F; }

/* Event mockup */
.htr-event-body { padding: 16px; }
.htr-event-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: #5a6a5e;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.htr-event-live {
  background: #e8f4ec;
  color: #2d7a4f;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}
.htr-event-participants { margin-bottom: 12px; }
.htr-participant {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0ebe1;
  font-size: 12px;
}
.htr-participant:last-child { border-bottom: none; }
.htr-p-avatar {
  width: 28px;
  height: 28px;
  background: #1B3A2D;
  color: #F2C46A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.htr-p-name { flex: 1; font-weight: 600; color: #1B3A2D; }
.htr-p-stand { color: #8a9a8e; }
.htr-p-bag { font-weight: 600; color: #D4880F; }
.htr-event-bag-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8f5f0;
  border-radius: 6px;
  font-size: 13px;
  color: #5a6a5e;
}
.htr-bag-count { font-weight: 700; color: #1B3A2D; }

/* API mockup */
.htr-api-body { padding: 16px; }
.htr-api-request {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #2a2f2b;
  border-radius: 6px;
}
.htr-api-method {
  background: #2d7a4f;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.htr-api-url { font-size: 11px; color: #8a9a8e; font-family: monospace; }
.htr-api-code {
  background: #0f1210;
  border-radius: 6px;
  padding: 14px;
  font-size: 11px;
  line-height: 1.8;
  font-family: 'Courier New', monospace;
  margin: 0;
  overflow-x: auto;
}
.htr-api-brace { color: #8a9a8e; }
.htr-api-key { color: #7ec8a0; }
.htr-api-str { color: #F2C46A; }
.htr-api-num { color: #79b8ff; }

/* CTA section */
.htr-features-cta {
  background: #1B3A2D;
  padding: 90px 0;
  color: #fff;
}
.htr-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.htr-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}

/* Responsive */
@media (max-width: 768px) {
  .htr-features-hero-title { font-size: 34px; }
  .htr-feature-inner,
  .htr-feature-inner--reverse { flex-direction: column; gap: 40px; }
  .htr-feature-title { font-size: 26px; }
  .htr-cta-title { font-size: 30px; }
  .htr-feature-row { padding: 60px 0; }
}

/* ============================================================
   FEATURES PAGE — DESIGN V2 IMPROVEMENTS
   ============================================================ */

/* Hero — dramatic forest atmosphere */
.htr-features-hero {
  background:
    linear-gradient(180deg, rgba(10,24,16,0.85) 0%, rgba(27,58,45,0.92) 60%, rgba(27,58,45,1) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(45,90,60,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(20,50,30,0.5) 0%, transparent 50%);
  background-color: #0d1f14;
  position: relative;
  overflow: hidden;
}
.htr-features-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 60%, rgba(255,255,255,0.1) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 35%, rgba(255,255,255,0.12) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 100%),
    radial-gradient(2px 2px at 50% 15%, rgba(242,196,106,0.2) 0%, transparent 100%),
    radial-gradient(60px 120px at 10% 80%, rgba(27,58,45,0.6) 0%, transparent 100%),
    radial-gradient(80px 160px at 90% 90%, rgba(15,35,22,0.7) 0%, transparent 100%),
    radial-gradient(100px 200px at 50% 100%, rgba(10,25,15,0.8) 0%, transparent 100%);
  pointer-events: none;
}
.htr-features-hero .container {
  position: relative;
  z-index: 1;
}
.htr-features-hero-badge {
  background: rgba(212,136,15,0.2);
  border: 1px solid rgba(212,136,15,0.5);
  box-shadow: 0 0 20px rgba(212,136,15,0.1);
}
.htr-features-hero-title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.htr-features-hero-sub {
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Satellite terrain map mockup — replaces flat green */
.htr-mockup-map-body {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.htr-map-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, #4a6741 0%, #2d4a28 25%, #1e3518 50%, #152810 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 8px,
      rgba(255,255,255,0.015) 8px,
      rgba(255,255,255,0.015) 9px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 12px,
      rgba(0,0,0,0.04) 12px,
      rgba(0,0,0,0.04) 13px
    );
}
.htr-map-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(90,120,60,0.4) 0%, transparent 40%),
    radial-gradient(ellipse at 20% 70%, rgba(30,60,20,0.6) 0%, transparent 35%),
    radial-gradient(ellipse at 55% 65%, rgba(60,90,40,0.3) 0%, transparent 30%),
    linear-gradient(135deg, rgba(100,140,70,0.15) 0%, transparent 50%);
}
/* Topographic contour lines */
.htr-map-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(
      ellipse at 45% 55%,
      transparent 20px,
      transparent 28px,
      rgba(255,255,255,0.04) 28px,
      rgba(255,255,255,0.04) 29px
    ),
    repeating-radial-gradient(
      ellipse at 60% 35%,
      transparent 15px,
      transparent 22px,
      rgba(255,255,255,0.03) 22px,
      rgba(255,255,255,0.03) 23px
    );
}
.htr-map-zone {
  position: absolute;
  top: 12%;
  left: 8%;
  right: 8%;
  bottom: 12%;
  border: 2px solid rgba(80,220,120,0.7);
  border-radius: 38% 62% 55% 45% / 42% 48% 58% 52%;
  background: rgba(80,220,120,0.06);
  box-shadow: 0 0 15px rgba(80,220,120,0.15), inset 0 0 20px rgba(80,220,120,0.05);
}

/* Real-looking colored drop pins */
.htr-map-poi {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
  cursor: default;
}
.htr-poi-icon {
  width: 28px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  position: relative;
}
.htr-poi-icon::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
}
.htr-map-poi:nth-child(3) .htr-poi-icon { background: #e8793a; }
.htr-map-poi:nth-child(4) .htr-poi-icon { background: #3a7adc; }
.htr-map-poi:nth-child(5) .htr-poi-icon { background: #3aaa6a; }
.htr-map-poi:nth-child(6) .htr-poi-icon { background: #9b59b6; }
.htr-poi-label {
  font-size: 9px;
  font-weight: 700;
  background: rgba(15,25,18,0.9);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 6px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Pin icon inner symbol */
.htr-map-poi:nth-child(3) .htr-poi-icon::before { content: '🎯'; font-size: 10px; transform: rotate(45deg); display: block; }
.htr-map-poi:nth-child(4) .htr-poi-icon::before { content: '🌾'; font-size: 10px; transform: rotate(45deg); display: block; }
.htr-map-poi:nth-child(5) .htr-poi-icon::before { content: '💧'; font-size: 10px; transform: rotate(45deg); display: block; }
.htr-map-poi:nth-child(6) .htr-poi-icon::before { content: '🥾'; font-size: 10px; transform: rotate(45deg); display: block; }

/* Feature row improvements — subtle texture on alt rows */
.htr-feature-row {
  position: relative;
}
.htr-feature-row--alt {
  background: #fff;
}
.htr-feature-row--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(27,58,45,0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Feature number — more dramatic */
.htr-feature-number {
  font-size: 72px;
  color: rgba(27,58,45,0.06);
  letter-spacing: -2px;
}

/* Feature title — stronger */
.htr-feature-title {
  font-size: 34px;
  letter-spacing: -0.5px;
}

/* Mockup — deeper shadow, more premium */
.htr-mockup {
  box-shadow:
    0 4px 6px rgba(27,58,45,0.04),
    0 12px 24px rgba(27,58,45,0.08),
    0 30px 60px rgba(27,58,45,0.12),
    0 0 0 1px rgba(27,58,45,0.06);
  border-radius: 14px;
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.htr-feature-inner--reverse .htr-mockup {
  transform: perspective(1000px) rotateY(2deg) rotateX(1deg);
}
.htr-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow:
    0 8px 12px rgba(27,58,45,0.06),
    0 20px 40px rgba(27,58,45,0.12),
    0 50px 80px rgba(27,58,45,0.15),
    0 0 0 1px rgba(27,58,45,0.06);
}

/* Garmin/GPS mockup for feature 6 */
.htr-gear-body { padding: 16px; }
.htr-gear-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0ebe1;
}
.htr-gear-icon-big {
  width: 48px;
  height: 48px;
  background: #1B3A2D;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.htr-gear-title { font-size: 15px; font-weight: 700; color: #1B3A2D; }
.htr-gear-subtitle { font-size: 12px; color: #8a9a8e; margin-top: 2px; }
.htr-gear-status {
  margin-left: auto;
  background: #e8f4ec;
  color: #2d7a4f;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
}
.htr-gear-devices { margin-bottom: 14px; }
.htr-gear-device {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8f5f0;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid #ede8df;
}
.htr-device-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.htr-device-dot--green { background: #2d7a4f; box-shadow: 0 0 6px rgba(45,122,79,0.5); }
.htr-device-dot--amber { background: #D4880F; box-shadow: 0 0 6px rgba(212,136,15,0.5); }
.htr-device-name { font-size: 13px; font-weight: 600; color: #1B3A2D; flex: 1; }
.htr-device-type { font-size: 11px; color: #8a9a8e; }
.htr-device-signal {
  font-size: 10px;
  font-weight: 700;
  color: #2d7a4f;
}
.htr-gear-sync {
  background: #1B3A2D;
  color: #F2C46A;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.htr-sync-label { font-weight: 600; }
.htr-sync-time { color: rgba(242,196,106,0.7); font-size: 11px; }

/* CTA section — add subtle terrain texture */
.htr-features-cta {
  background:
    linear-gradient(180deg, #1B3A2D 0%, #142e22 100%);
  position: relative;
  overflow: hidden;
}
.htr-features-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(45,90,60,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(15,40,25,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.htr-features-cta .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   FEATURES PAGE v2 - Atmospheric Layout
   ============================================ */

.htr-features-page { font-family: 'Lato', sans-serif; background: #FAF7F2; overflow-x: hidden; }
.htr-feat-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0d2218; }
.htr-feat-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0d2218 0%, #1B3A2D 40%, #2d5a3d 100%); }
.htr-feat-hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(212,136,15,0.08) 0%, transparent 70%); }
.htr-feat-hero-content { position: relative; z-index: 2; padding: 120px 20px 80px; }
.htr-feat-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: #D4880F; border: 1px solid rgba(212,136,15,0.4); border-radius: 20px; padding: 5px 16px; margin-bottom: 24px; text-transform: uppercase; }
.htr-feat-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.htr-feat-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.72); max-width: 600px; margin: 0 auto 36px; line-height: 1.7; }
.htr-feat-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.htr-btn-amber { background: #D4880F; color: #fff; padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.2s; }
.htr-btn-amber:hover { background: #A86A0A; color: #fff; text-decoration: none; }
.htr-btn-ghost { background: transparent; color: #fff; padding: 14px 32px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid rgba(255,255,255,0.35); transition: border-color 0.2s, background 0.2s; }
.htr-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.htr-feat-hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.htr-feat-stat { display: flex; flex-direction: column; align-items: center; }
.htr-feat-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #D4880F; }
.htr-feat-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; text-transform: uppercase; }
.htr-feat-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.htr-feat-hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.45); font-size: 0.75rem; letter-spacing: 0.1em; }
.htr-scroll-arrow { width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.35); border-bottom: 2px solid rgba(255,255,255,0.35); transform: rotate(45deg); animation: scrollBounce 1.5s infinite; }
@keyframes scrollBounce { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(5px); } }
.htr-feat-section { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.htr-feat-section-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.htr-feat-bg--map { background: linear-gradient(135deg, #0d2218 0%, #1a3828 60%, #243d2e 100%); }
.htr-feat-bg--harvest { background: linear-gradient(135deg, #1a1a0d 0%, #2d2a1a 60%, #3d3520 100%); }
.htr-feat-bg--species { background: linear-gradient(135deg, #0d1a0d 0%, #1a2d1a 60%, #243d24 100%); }
.htr-feat-bg--weather { background: linear-gradient(135deg, #0d1a2d 0%, #1a2d3d 60%, #1e3548 100%); }
.htr-feat-bg--events { background: linear-gradient(135deg, #1a0d0d 0%, #2d1a1a 60%, #3d2424 100%); }
.htr-feat-bg--gear { background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2d 60%, #24243d 100%); }
.htr-feat-section-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%, transparent 100%); }
.htr-overlay--right { background: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%, transparent 100%); }
.htr-feat-section-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 100px 20px; width: 100%; }
.htr-feat-section-inner--reverse { direction: rtl; }
.htr-feat-section-inner--reverse > * { direction: ltr; }
.htr-feat-text--light { color: #fff; }
.htr-feat-num { font-size: 4rem; font-weight: 900; color: rgba(212,136,15,0.25); line-height: 1; margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.htr-feat-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; color: #D4880F; text-transform: uppercase; margin-bottom: 16px; }
.htr-feat-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.htr-feat-desc { font-size: 1rem; color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: 24px; }
.htr-feat-list { list-style: none; padding: 0; margin: 0 0 28px; }
.htr-feat-list li { padding: 7px 0 7px 24px; position: relative; color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.htr-feat-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: #D4880F; border-radius: 50%; }
.htr-feat-tier-row { display: flex; align-items: center; gap: 10px; }
.htr-tier-pill { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; }
.htr-tier-free { background: rgba(255,255,255,0.15); color: #fff; }
.htr-tier-pro { background: #D4880F; color: #fff; }
.htr-tier-elite { background: #1B3A2D; color: #D4880F; border: 1px solid #D4880F; }
.htr-feat-tier-text { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.htr-feat-section-visual { display: flex; justify-content: center; align-items: center; }
.htr-phone-frame { width: 260px; height: 520px; background: #0d1f15; border-radius: 36px; border: 3px solid rgba(255,255,255,0.15); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.6); position: relative; }
.htr-phone-screen { width: 100%; height: 100%; position: relative; overflow: hidden; }
.htr-phone-screen--map { background: linear-gradient(160deg, #1a3828 0%, #2d5a3d 50%, #1B3A2D 100%); }
.htr-phone-map-terrain { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 20px); }
.htr-phone-map-zone { position: absolute; top: 20%; left: 15%; right: 15%; bottom: 25%; border: 2px dashed rgba(212,136,15,0.5); border-radius: 40% 60% 50% 70% / 60% 40% 70% 50%; background: rgba(212,136,15,0.06); }
.htr-phone-pin { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); z-index: 3; }
.htr-pin-head { font-size: 1.2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.htr-pin-stem { width: 2px; height: 8px; background: rgba(255,255,255,0.5); }
.htr-pin-label { font-size: 0.6rem; background: rgba(0,0,0,0.7); color: #fff; padding: 2px 6px; border-radius: 10px; white-space: nowrap; margin-top: 2px; }
.htr-phone-map-bar { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.75); padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: rgba(255,255,255,0.8); }
.htr-map-bar-live { background: #2ecc71; color: #fff; font-size: 0.6rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.htr-logbook-card, .htr-species-card, .htr-weather-card, .htr-event-card, .htr-gear-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 20px; width: 100%; max-width: 360px; backdrop-filter: blur(10px); }
.htr-logbook-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.htr-logbook-title { font-weight: 700; color: #fff; font-size: 0.95rem; }
.htr-logbook-count { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.htr-logbook-entry { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.htr-entry--trophy { background: rgba(212,136,15,0.06); border-radius: 8px; padding: 10px 8px; }
.htr-entry-animal { font-size: 1.4rem; }
.htr-entry-name { font-size: 0.82rem; font-weight: 600; color: #fff; }
.htr-entry-meta { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.htr-entry-weather { font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.htr-score-label { font-size: 0.62rem; color: rgba(255,255,255,0.4); text-align: center; }
.htr-score-value { font-size: 1rem; font-weight: 700; color: #D4880F; text-align: center; }
.htr-logbook-footer { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.htr-logbook-footer span { font-size: 0.68rem; color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.07); padding: 3px 10px; border-radius: 10px; }
.htr-species-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.htr-species-emoji-lg { font-size: 2.4rem; }
.htr-species-card-name { font-size: 1rem; font-weight: 700; color: #fff; }
.htr-species-card-latin { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-style: italic; }
.htr-species-card-badge { margin-left: auto; font-size: 0.68rem; font-weight: 700; background: rgba(212,136,15,0.2); color: #D4880F; padding: 4px 10px; border-radius: 10px; border: 1px solid rgba(212,136,15,0.3); }
.htr-species-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.htr-species-cell { background: rgba(255,255,255,0.04); border-radius: 8px; padding: 10px; }
.htr-cell-label { font-size: 0.65rem; color: rgba(255,255,255,0.45); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.htr-cell-value { font-size: 0.85rem; font-weight: 600; color: #fff; }
.htr-cell-amber { color: #D4880F; }
.htr-season-strip { background: rgba(255,255,255,0.04); border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.htr-season-strip-label { font-size: 0.65rem; color: rgba(255,255,255,0.45); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.htr-season-months { display: flex; gap: 4px; }
.htr-season-months span { flex: 1; text-align: center; font-size: 0.62rem; color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); border-radius: 4px; padding: 4px 2px; font-weight: 600; }
.htr-season-months span.on { background: rgba(212,136,15,0.3); color: #D4880F; }
.htr-species-related { display: flex; gap: 8px; flex-wrap: wrap; }
.htr-related-pill { font-size: 0.7rem; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); padding: 4px 10px; border-radius: 10px; }
.htr-weather-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.htr-weather-main { display: flex; align-items: center; gap: 12px; }
.htr-weather-icon-lg { font-size: 2rem; }
.htr-weather-temp-lg { font-size: 1.8rem; font-weight: 700; color: #fff; }
.htr-weather-loc { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.htr-wind-compass { font-size: 1.1rem; font-weight: 700; color: #D4880F; background: rgba(212,136,15,0.15); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 4px; }
.htr-wind-speed { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.htr-weather-days { display: flex; gap: 6px; margin-bottom: 16px; }
.htr-weather-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 8px; background: rgba(255,255,255,0.04); font-size: 0.68rem; color: rgba(255,255,255,0.6); }
.htr-day-best { background: rgba(212,136,15,0.15); }
.htr-day-tag { font-size: 0.55rem; background: #D4880F; color: #fff; padding: 1px 5px; border-radius: 6px; font-weight: 700; }
.htr-solunar-block { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.htr-solunar-title { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.htr-solunar-times { display: flex; gap: 6px; flex-wrap: wrap; }
.htr-sol-major-pill { font-size: 0.65rem; background: rgba(212,136,15,0.2); color: #D4880F; padding: 3px 8px; border-radius: 10px; border: 1px solid rgba(212,136,15,0.3); }
.htr-sol-minor-pill { font-size: 0.65rem; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); padding: 3px 8px; border-radius: 10px; }
.htr-activity-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.htr-activity-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.htr-activity-pct { font-size: 0.72rem; font-weight: 700; color: #2ecc71; }
.htr-activity-bar-track { background: rgba(255,255,255,0.1); border-radius: 4px; height: 6px; }
.htr-activity-bar-fill { background: linear-gradient(to right, #1B3A2D, #2ecc71); border-radius: 4px; height: 6px; }
.htr-event-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.htr-event-card-title { font-size: 1rem; font-weight: 700; color: #fff; }
.htr-event-card-live { font-size: 0.65rem; font-weight: 800; background: #e74c3c; color: #fff; padding: 3px 10px; border-radius: 10px; animation: livePulse 1.5s infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.htr-event-card-meta { display: flex; gap: 12px; font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.htr-event-stands { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.htr-stand-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; background: rgba(255,255,255,0.04); }
.htr-stand-active { background: rgba(27,58,45,0.4); border: 1px solid rgba(255,255,255,0.08); }
.htr-stand-avatar { width: 32px; height: 32px; border-radius: 50%; background: #D4880F; color: #fff; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.htr-stand-name { font-size: 0.82rem; font-weight: 600; color: #fff; }
.htr-stand-loc { font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.htr-stand-bag { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.htr-bag-has { color: #2ecc71; font-weight: 600; }
.htr-event-total { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(212,136,15,0.1); border-radius: 8px; border: 1px solid rgba(212,136,15,0.2); }
.htr-total-count { font-weight: 700; color: #D4880F; }
.htr-gear-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.htr-gear-card-title { font-size: 0.95rem; font-weight: 700; color: #fff; }
.htr-gear-online { font-size: 0.68rem; font-weight: 700; color: #2ecc71; background: rgba(46,204,113,0.12); padding: 3px 10px; border-radius: 10px; }
.htr-gear-device-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.htr-gear-device-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; }
.htr-gear-device-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 800; color: rgba(255,255,255,0.8); }
.htr-gear-device-name { font-size: 0.82rem; font-weight: 600; color: #fff; }
.htr-gear-device-sub { font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.htr-gear-signal { font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.htr-signal-green { background: rgba(46,204,113,0.15); color: #2ecc71; }
.htr-signal-amber { background: rgba(212,136,15,0.15); color: #D4880F; }
.htr-gear-last-sync { display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(255,255,255,0.4); padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.08); }
.htr-feat-cta { position: relative; padding: 120px 20px; text-align: center; overflow: hidden; }
.htr-feat-cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0d2218 0%, #1B3A2D 50%, #0d2218 100%); }
.htr-feat-cta-content { position: relative; z-index: 2; }
.htr-feat-cta-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; margin: 16px 0 20px; }
.htr-feat-cta-sub { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
@media (max-width: 991px) {
    .htr-feat-section-inner { grid-template-columns: 1fr; padding: 80px 20px; gap: 40px; }
    .htr-feat-section-inner--reverse { direction: ltr; }
    .htr-feat-section-visual { order: -1; }
    .htr-phone-frame { width: 200px; height: 400px; }
}
@media (max-width: 575px) {
    .htr-feat-hero-stats { gap: 20px; }
    .htr-feat-stat-divider { display: none; }
}

/* ============================================
   DASHBOARD MAP LAYOUT
   ============================================ */
.hr-dashboard--map { height: 100vh; overflow: hidden; }
.hr-dash-main--map { display: flex; flex-direction: column; overflow: hidden; }
.hr-dash-topbar--map { flex-shrink: 0; }
.hr-map-container { flex: 1; position: relative; overflow: hidden; }
#hitridge-dashboard-map { width: 100%; height: 100%; }

.hr-map-stats { display: flex; gap: 16px; align-items: center; }
.hr-map-stat { font-size: 0.82rem; color: #6b7280; }
.hr-map-stat strong { color: #1B3A2D; font-size: 1rem; margin-right: 3px; }

.hr-map-controls {
    position: absolute; top: 12px; right: 12px; z-index: 1000;
    display: flex; flex-direction: column; gap: 6px;
}
.hr-map-btn {
    width: 36px; height: 36px; border-radius: 8px;
    background: white; border: 1px solid #e5e7eb;
    cursor: pointer; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: all 0.2s;
}
.hr-map-btn:hover { background: #1B3A2D; border-color: #1B3A2D; }

/* Empty state overlay on map */
.hr-map-empty-overlay {
    position: absolute; inset: 0; z-index: 500;
    display: flex; align-items: center; justify-content: center;
    background: rgba(27,58,45,0.7); backdrop-filter: blur(4px);
}
.hr-map-empty-card {
    background: white; border-radius: 16px; padding: 40px;
    text-align: center; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hr-map-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.hr-map-empty-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #1B3A2D; margin-bottom: 10px; }
.hr-map-empty-sub { font-size: 0.9rem; color: #6b7280; margin-bottom: 24px; line-height: 1.6; }

/* Area slide panel */
.hr-area-panel {
    position: absolute; top: 0; right: -320px; width: 300px; height: 100%;
    background: white; border-left: 1px solid #e9ecef;
    z-index: 1000; transition: right 0.3s ease;
    display: flex; flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.hr-area-panel.open { right: 0; }
.hr-area-panel-header {
    background: #1B3A2D; padding: 16px 20px;
    display: flex; justify-content: space-between; align-items: center;
    flex-shrink: 0;
}
.hr-area-panel-title { color: #fff; font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; }
.hr-area-panel-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.1rem; cursor: pointer; }
.hr-area-panel-body { flex: 1; overflow-y: auto; padding: 16px; }
.hr-area-panel-footer {
    padding: 12px 16px; border-top: 1px solid #e9ecef;
    display: flex; gap: 8px; flex-shrink: 0;
}
.hr-panel-stats { display: flex; gap: 12px; margin-bottom: 16px; }
.hr-panel-stat { flex: 1; text-align: center; background: #FAF7F2; border-radius: 8px; padding: 10px; }
.hr-panel-stat strong { display: block; font-size: 1.3rem; color: #1B3A2D; font-family: 'Playfair Display', serif; }
.hr-panel-stat span { font-size: 0.7rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.hr-panel-poi-list { display: flex; flex-direction: column; gap: 6px; }
.hr-panel-poi-item {
    display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    background: #FAF7F2; border-radius: 8px; font-size: 0.82rem;
}
.hr-panel-poi-item small { margin-left: auto; color: #6b7280; font-size: 0.72rem; }

/* ============================================
   DASHBOARD FORMS
   ============================================ */
.hr-form-card {
    background: white; border-radius: 12px; padding: 32px;
    border: 1px solid #e9ecef; max-width: 800px;
}
.hr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.hr-form-group { display: flex; flex-direction: column; gap: 6px; }
.hr-form-group--full { grid-column: 1 / -1; }
.hr-form-label { font-size: 0.82rem; font-weight: 700; color: #1B3A2D; letter-spacing: 0.02em; }
.hr-form-input, .hr-form-select, .hr-form-textarea {
    padding: 10px 14px; border: 1.5px solid #e5e7eb; border-radius: 7px;
    font-size: 0.9rem; font-family: 'Lato', sans-serif; color: #1a1a1a;
    background: #fff; transition: border-color 0.2s;
    width: 100%;
}
.hr-form-input:focus, .hr-form-select:focus, .hr-form-textarea:focus {
    outline: none; border-color: #1B3A2D;
}
.hr-form-textarea { resize: vertical; }
.hr-form-actions { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; border-top: 1px solid #e9ecef; }

/* ============================================
   DASHBOARD AREA CARDS (full)
   ============================================ */
.hr-areas-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.hr-area-card-full {
    background: white; border-radius: 12px; border: 1px solid #e9ecef;
    overflow: hidden; transition: box-shadow 0.2s;
}
.hr-area-card-full:hover { box-shadow: 0 8px 24px rgba(27,58,45,0.12); }
.hr-area-card-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px; border-bottom: 1px solid #F0EBE1;
}
.hr-area-terrain-badge { font-size: 1.8rem; }
.hr-area-card-name { font-family: 'Playfair Display', serif; font-size: 1rem; color: #1B3A2D; font-weight: 600; }
.hr-area-card-ref { font-size: 0.72rem; color: #6b7280; margin-top: 2px; }
.hr-area-tier-pill {
    margin-left: auto; font-size: 0.65rem; font-weight: 800;
    background: rgba(212,136,15,0.12); color: #D4880F;
    padding: 3px 10px; border-radius: 10px; letter-spacing: 0.05em;
}
.hr-area-card-stats { display: flex; padding: 14px 16px; gap: 8px; }
.hr-area-mini-stat { flex: 1; text-align: center; }
.hr-mini-val { display: block; font-size: 1.2rem; font-weight: 700; color: #1B3A2D; }
.hr-mini-label { font-size: 0.65rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.hr-area-season { padding: 8px 16px; font-size: 0.78rem; color: #6b7280; background: #FAF7F2; }
.hr-area-card-actions { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid #F0EBE1; }

/* Upgrade banner */
.hr-upgrade-banner {
    display: flex; align-items: center; gap: 16px; padding: 20px 24px;
    background: rgba(212,136,15,0.08); border: 1px solid rgba(212,136,15,0.25);
    border-radius: 10px; margin-bottom: 24px;
}
.hr-upgrade-icon { font-size: 2rem; flex-shrink: 0; }
.hr-upgrade-title { font-weight: 700; color: #1B3A2D; font-size: 0.95rem; }
.hr-upgrade-sub { font-size: 0.82rem; color: #6b7280; margin-top: 3px; }
.hr-upgrade-text { flex: 1; }

/* Leaflet popup overrides */
.hitridge-area-popup h4 { font-family: 'Playfair Display', serif; color: #1B3A2D; margin: 0 0 4px; font-size: 14px; }
.hitridge-area-popup .area-stats { display: flex; gap: 12px; margin-top: 8px; }
.hitridge-area-popup .area-stat { font-size: 11px; color: #6b7280; }
.hitridge-area-popup .area-stat strong { color: #1B3A2D; display: block; font-size: 14px; }

@media (max-width: 767px) {
    .hr-map-stats { display: none; }
    .hr-form-grid { grid-template-columns: 1fr; }
    .hr-area-panel { width: 100%; right: -100%; }
}

/* Leaflet attribution — minimized */
.leaflet-control-attribution {
    font-size: 9px !important;
    opacity: 0.5 !important;
    background: rgba(255,255,255,0.6) !important;
}
.leaflet-control-attribution:hover {
    opacity: 1 !important;
}

/* Hide Leaflet attribution behind brand bar */
.leaflet-control-attribution {
    display: none !important;
}
.hr-map-brand-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 22px;
    background: rgba(27,58,45,0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    pointer-events: none;
}
.hr-map-brand-bar span { color: #D4880F; font-weight: 700; margin-right: 6px; }

/* ============================================
   HITRIDGE DASHBOARD v2 — GLASSMORPHISM + DARK MODE
   ============================================ */

/* Dark mode toggle button */
.hr-dark-toggle {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(27,58,45,0.9); border: 1px solid rgba(255,255,255,0.15);
    color: white; cursor: pointer; display: flex; align-items: center;
    justify-content: center; backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: all 0.2s;
    font-size: 16px;
}
.hr-dark-toggle:hover { transform: scale(1.1); }

/* ── LIGHT MODE (default) ── */
:root {
    --hr-bg: #F4F1EC;
    --hr-sidebar-bg: rgba(18, 40, 25, 0.97);
    --hr-sidebar-border: rgba(255,255,255,0.06);
    --hr-card-bg: rgba(255,255,255,0.85);
    --hr-card-border: rgba(0,0,0,0.06);
    --hr-card-shadow: 0 2px 16px rgba(27,58,45,0.08);
    --hr-topbar-bg: rgba(255,255,255,0.9);
    --hr-topbar-border: rgba(0,0,0,0.06);
    --hr-text-primary: #1B3A2D;
    --hr-text-secondary: #6b7280;
    --hr-text-muted: rgba(107,114,128,0.7);
    --hr-stat-bg: rgba(255,255,255,0.9);
    --hr-input-bg: rgba(255,255,255,0.9);
    --hr-input-border: rgba(0,0,0,0.1);
    --hr-nav-active-bg: rgba(212,136,15,0.12);
    --hr-empty-bg: rgba(255,255,255,0.7);
    --hr-harvest-bg: rgba(255,255,255,0.85);
    --hr-amber: #D4880F;
    --hr-green: #1B3A2D;
    --hr-gold: #F2C46A;
}

/* ── DARK MODE ── */
body.hr-dark {
    --hr-bg: #0f1a14;
    --hr-sidebar-bg: rgba(8, 16, 10, 0.98);
    --hr-sidebar-border: rgba(255,255,255,0.04);
    --hr-card-bg: rgba(27,45,32,0.6);
    --hr-card-border: rgba(255,255,255,0.06);
    --hr-card-shadow: 0 2px 20px rgba(0,0,0,0.3);
    --hr-topbar-bg: rgba(12,22,15,0.95);
    --hr-topbar-border: rgba(255,255,255,0.05);
    --hr-text-primary: #e8f0eb;
    --hr-text-secondary: rgba(200,220,205,0.6);
    --hr-text-muted: rgba(200,220,205,0.4);
    --hr-stat-bg: rgba(27,58,45,0.4);
    --hr-input-bg: rgba(27,58,45,0.3);
    --hr-input-border: rgba(255,255,255,0.1);
    --hr-nav-active-bg: rgba(212,136,15,0.15);
    --hr-empty-bg: rgba(27,58,45,0.3);
    --hr-harvest-bg: rgba(27,58,45,0.4);
}

body.hr-dark { background: var(--hr-bg); }

/* Apply CSS vars to dashboard */
.hr-dashboard { background: var(--hr-bg) !important; }

.hr-dash-sidebar {
    background: var(--hr-sidebar-bg) !important;
    border-right: 1px solid var(--hr-sidebar-border) !important;
    backdrop-filter: blur(20px);
}

.hr-dash-topbar {
    background: var(--hr-topbar-bg) !important;
    border-bottom: 1px solid var(--hr-topbar-border) !important;
    backdrop-filter: blur(12px);
}

.hr-dash-title { color: var(--hr-text-primary) !important; }

.hr-stat-card {
    background: var(--hr-card-bg) !important;
    border: 1px solid var(--hr-card-border) !important;
    box-shadow: var(--hr-card-shadow) !important;
    backdrop-filter: blur(12px);
    border-radius: 14px !important;
}

.hr-stat-value { color: var(--hr-text-primary) !important; }
.hr-stat-label { color: var(--hr-text-secondary) !important; }

.hr-area-card {
    background: var(--hr-card-bg) !important;
    border: 1px solid var(--hr-card-border) !important;
    box-shadow: var(--hr-card-shadow) !important;
    backdrop-filter: blur(12px);
    border-radius: 16px !important;
}

.hr-area-card-name { color: var(--hr-text-primary) !important; }
.hr-area-card-location { color: var(--hr-text-secondary) !important; }

.hr-harvest-item {
    background: var(--hr-harvest-bg) !important;
    border: 1px solid var(--hr-card-border) !important;
    backdrop-filter: blur(8px);
    border-radius: 12px !important;
}

.hr-harvest-name { color: var(--hr-text-primary) !important; }
.hr-harvest-date { color: var(--hr-text-secondary) !important; }

.hr-empty-state {
    background: var(--hr-empty-bg) !important;
    border: 1px solid var(--hr-card-border) !important;
    backdrop-filter: blur(8px);
    border-radius: 16px !important;
}

.hr-empty-title { color: var(--hr-text-primary) !important; }
.hr-empty-sub { color: var(--hr-text-secondary) !important; }

/* SVG icon sizing */
.hr-nav-icon svg { width: 16px; height: 16px; display: block; }
.hr-stat-icon svg { width: 22px; height: 22px; }
.hr-empty-icon svg { width: 48px; height: 48px; opacity: 0.4; }
.hr-empty-icon { margin-bottom: 16px; display: flex; justify-content: center; }

/* Nav active state with vars */
.hr-nav-item.hr-nav-active,
.hr-nav-item.active {
    color: var(--hr-gold) !important;
    background: var(--hr-nav-active-bg) !important;
    border-left-color: var(--hr-amber) !important;
}

/* Form inputs dark mode */
body.hr-dark .hr-form-input,
body.hr-dark .hr-form-select,
body.hr-dark select.hr-form-input,
body.hr-dark textarea.hr-form-input {
    background: var(--hr-input-bg) !important;
    border-color: var(--hr-input-border) !important;
    color: var(--hr-text-primary) !important;
}

body.hr-dark .hr-form-label { color: var(--hr-text-secondary) !important; }

/* Form card dark */
body.hr-dark .hr-dash-content > div > form > div,
body.hr-dark [style*="background:#fff"] {
    background: var(--hr-card-bg) !important;
    border: 1px solid var(--hr-card-border) !important;
}

/* Area card footer dark */
body.hr-dark .hr-area-card-footer { background: rgba(27,58,45,0.3) !important; }

/* Topbar background subtle glass */
.hr-dash-topbar { transition: background 0.3s; }

/* Smooth dark mode transition */
body, .hr-dashboard, .hr-dash-sidebar, .hr-stat-card,
.hr-area-card, .hr-harvest-item, .hr-empty-state,
.hr-dash-topbar, .hr-dash-content {
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}


/* Fix sidebar background — must override CSS var conflicts */
.hr-dash-sidebar {
    background: #122819 !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
}
body.hr-dark .hr-dash-sidebar {
    background: #0a1410 !important;
}

/* Fix event list emoji icons — replace with text labels */
.hr-event-card-dash {
    background: var(--hr-card-bg);
    border: 1px solid var(--hr-card-border);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
    backdrop-filter: blur(8px);
}
.hr-event-card-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.hr-event-name {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--hr-text-primary);
}
.hr-event-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--hr-text-secondary);
}
.hr-state-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(212,136,15,0.15);
    color: #D4880F;
    border: 1px solid rgba(212,136,15,0.3);
}

/* Drag and drop */
.hr-area-card-full.hr-dragging { opacity: 0.4; transform: scale(0.97); }
.hr-area-card-full.hr-drag-over { border: 2px dashed #D4880F !important; }
.hr-areas-grid-full { min-height: 200px; }

/* ============================================
   AREA CARDS v2 — Airbnb/Dark Premium Style
   ============================================ */
.hr-areas-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.hr-area-card-v2 {
    background: #1a2e21;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hr-area-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.hr-area-card-v2.hr-dragging { opacity: 0.4; transform: scale(0.97); }
.hr-area-card-v2.hr-drag-over { border: 2px dashed #D4880F !important; }

/* Delete button */
.hr-card-delete-form {
    position: absolute; top: 10px; right: 10px;
    z-index: 10; margin: 0;
}
.hr-card-delete-btn {
    background: rgba(0,0,0,0.5);
    border: none; border-radius: 50%;
    width: 26px; height: 26px;
    color: #fff; font-size: 18px; line-height: 1;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; backdrop-filter: blur(4px);
    transition: background 0.15s;
}
.hr-card-delete-btn:hover { background: rgba(220,38,38,0.85); }

/* Map thumbnail */
.hr-card-map-thumb {
    height: 160px;
    background: #0f1a14;
    position: relative;
    overflow: hidden;
}
.hr-card-map-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s;
}
.hr-area-card-v2:hover .hr-card-map-thumb img { transform: scale(1.04); }

.hr-card-map-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f1a14 0%, #1a2e21 100%);
}

/* Gradient overlay on map */
.hr-card-map-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    display: flex; justify-content: flex-end;
}
.hr-card-tier-pill {
    font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
    padding: 3px 8px; border-radius: 20px;
    background: rgba(212,136,15,0.9);
    color: #fff;
}

/* Card body */
.hr-card-body-v2 {
    padding: 14px 16px 16px;
}
.hr-card-title-row {
    margin-bottom: 12px;
}
.hr-card-name-v2 {
    font-family: 'Playfair Display', serif;
    font-size: 15px; font-weight: 600;
    color: #e8f0eb;
    margin-bottom: 2px;
}
.hr-card-ref-v2 {
    font-size: 11px; color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}

/* Stats row */
.hr-card-stats-v2 {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 4px; margin-bottom: 14px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hr-card-stat-v2 {
    display: flex; flex-direction: column;
    align-items: center; gap: 2px;
}
.hr-card-stat-num {
    font-size: 18px; font-weight: 700;
    color: #F2C46A;
}
.hr-card-stat-lbl {
    font-size: 9px; text-transform: uppercase;
    letter-spacing: 0.5px; color: rgba(255,255,255,0.35);
}

/* Action buttons */
.hr-card-actions-v2 {
    display: flex; gap: 8px;
}
.hr-card-btn-primary {
    flex: 1; text-align: center;
    padding: 8px 12px; border-radius: 8px;
    background: #D4880F; color: #fff;
    font-size: 12px; font-weight: 600;
    text-decoration: none; transition: background 0.15s;
}
.hr-card-btn-primary:hover { background: #b8730d; color: #fff; text-decoration: none; }
.hr-card-btn-secondary {
    padding: 8px 12px; border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 12px; font-weight: 600;
    text-decoration: none; transition: all 0.15s;
    white-space: nowrap;
}
.hr-card-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: #fff; text-decoration: none;
}

/* Light mode overrides */
body:not(.hr-dark) .hr-area-card-v2 {
    background: #1e3528;
}
body:not(.hr-dark) .hr-card-map-placeholder {
    background: linear-gradient(135deg, #122819 0%, #1e3528 100%);
}

/* ============================================
   LIGHT MODE — Area Cards v2
   ============================================ */
body:not(.hr-dark) .hr-area-card-v2 {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(27,58,45,0.08);
}
body:not(.hr-dark) .hr-card-name-v2 { color: #1B3A2D; }
body:not(.hr-dark) .hr-card-ref-v2 { color: #9ca3af; }
body:not(.hr-dark) .hr-card-stat-num { color: #D4880F; }
body:not(.hr-dark) .hr-card-stat-lbl { color: #9ca3af; }
body:not(.hr-dark) .hr-card-stats-v2 {
    border-top: 1px solid #f0ebe1;
    border-bottom: 1px solid #f0ebe1;
}
body:not(.hr-dark) .hr-card-btn-secondary {
    background: #f9f7f4;
    border: 1px solid #e5e0d8;
    color: #1B3A2D;
}
body:not(.hr-dark) .hr-card-btn-secondary:hover {
    background: #f0ebe1;
    color: #1B3A2D;
}
body:not(.hr-dark) .hr-card-map-placeholder {
    background: linear-gradient(135deg, #e8f5e9 0%, #f0ebe1 100%);
}
body:not(.hr-dark) .hr-card-map-placeholder svg { color: #1B3A2D !important; opacity: 0.2; }
body:not(.hr-dark) .hr-card-map-placeholder div { color: #9ca3af !important; }

/* Dashboard background light mode */
body:not(.hr-dark) .hr-dashboard { background: #F4F1EC !important; }
body:not(.hr-dark) .hr-dash-topbar { background: rgba(255,255,255,0.95) !important; }
body:not(.hr-dark) .hr-stat-card { background: #fff !important; }

/* Fix dark mode persistence across pages */
body.hr-dark .hr-areas-grid-v2 .hr-card-map-placeholder {
    background: linear-gradient(135deg, #0f1a14 0%, #1a2e21 100%) !important;
}

/* ============================================
   LIGHT MODE CARD OVERHAUL
   ============================================ */
body:not(.hr-dark) .hr-area-card-v2 {
    background: #fff !important;
    border: 1px solid rgba(27,58,45,0.08) !important;
    box-shadow: 0 2px 16px rgba(27,58,45,0.08) !important;
}
body:not(.hr-dark) .hr-card-map-thumb {
    background: #e8f0e9;
}
body:not(.hr-dark) .hr-card-map-placeholder {
    background: linear-gradient(135deg, #dceee0 0%, #f0ebe1 100%) !important;
}
body:not(.hr-dark) .hr-card-name-v2 { color: #1B3A2D !important; }
body:not(.hr-dark) .hr-card-ref-v2 { color: #9ca3af !important; }
body:not(.hr-dark) .hr-card-stat-num { color: #D4880F !important; }
body:not(.hr-dark) .hr-card-stat-lbl { color: #9ca3af !important; }
body:not(.hr-dark) .hr-card-stats-v2 {
    border-top-color: #f0ebe1 !important;
    border-bottom-color: #f0ebe1 !important;
}
body:not(.hr-dark) .hr-card-btn-secondary {
    background: #f5f2ee !important;
    border: 1px solid #e5e0d8 !important;
    color: #1B3A2D !important;
}
body:not(.hr-dark) .hr-card-btn-secondary:hover {
    background: #ede8e0 !important;
}
body:not(.hr-dark) .hr-card-delete-btn {
    background: rgba(27,58,45,0.15) !important;
    color: #1B3A2D !important;
}
body:not(.hr-dark) .hr-card-delete-btn:hover {
    background: rgba(220,38,38,0.8) !important;
    color: #fff !important;
}
body:not(.hr-dark) .hr-areas-grid-v2 {
    background: transparent;
}
/* Topbar dark mode button — adapt to dark mode */
body.hr-dark #hr-dark-btn-top {
    border-color: rgba(255,255,255,0.15) !important;
    color: #F2C46A !important;
    background: rgba(212,136,15,0.15) !important;
}

/* ============================================
   FONT SIZE IMPROVEMENTS — Better readability
   ============================================ */
.hr-card-name-v2 { font-size: 17px !important; }
.hr-card-ref-v2 { font-size: 12px !important; }
.hr-card-stat-num { font-size: 20px !important; }
.hr-card-stat-lbl { font-size: 10px !important; }
.hr-card-btn-primary { font-size: 13px !important; padding: 9px 14px !important; }
.hr-card-btn-secondary { font-size: 13px !important; padding: 9px 12px !important; }
.hr-nav-item { font-size: 14px !important; }
.hr-stat-value { font-size: 28px !important; }
.hr-stat-label { font-size: 12px !important; }
.hr-dash-title { font-size: 24px !important; }
.hr-area-card-ref { font-size: 12px !important; }

/* Fix button layout in cards */
.hr-card-actions-v2 {
    display: flex !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
}
.hr-card-btn-primary {
    font-size: 12px !important;
    padding: 8px 10px !important;
    white-space: nowrap !important;
    flex: 1 !important;
}
.hr-card-btn-secondary {
    font-size: 11px !important;
    padding: 8px 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* ============================================
   HITRIDGE DESIGN SYSTEM — Apple HIG
   ============================================ */
:root {
    --hr-font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    --hr-radius-sm: 8px;
    --hr-radius-md: 12px;
    --hr-radius-lg: 16px;
    --hr-radius-xl: 20px;
    --hr-shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --hr-shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
    --hr-shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
    --hr-shadow-dark-md: 0 4px 12px rgba(0,0,0,0.35), 0 2px 4px rgba(0,0,0,0.2);
    --hr-shadow-dark-lg: 0 12px 32px rgba(0,0,0,0.4), 0 4px 8px rgba(0,0,0,0.25);
}
.hr-dashboard, .hr-dashboard * {
    font-family: var(--hr-font-system) !important;
    -webkit-font-smoothing: antialiased;
}
.hr-dash-title { font-size: 20px !important; font-weight: 600 !important; letter-spacing: -0.4px !important; }
.hr-nav-item { font-size: 13px !important; font-weight: 500 !important; padding: 8px 16px !important; border-radius: 8px !important; margin: 1px 8px !important; border-left: none !important; }
.hr-nav-item:hover { background: rgba(255,255,255,0.06) !important; }
.hr-nav-item.active, .hr-nav-item.hr-nav-active { background: rgba(212,136,15,0.15) !important; color: #F2C46A !important; border-left: none !important; }
.hr-nav-section { font-size: 11px !important; font-weight: 600 !important; letter-spacing: 0.8px !important; padding: 16px 16px 4px !important; color: rgba(255,255,255,0.25) !important; }
.hr-dash-topbar { padding: 12px 20px !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; }
.hr-stat-card { border-radius: 16px !important; box-shadow: var(--hr-shadow-sm) !important; }
.hr-stat-value { font-size: 28px !important; font-weight: 700 !important; letter-spacing: -0.5px !important; }
.hr-stat-label { font-size: 11px !important; font-weight: 600 !important; letter-spacing: 0.5px !important; text-transform: uppercase !important; }
.hr-area-card-v2 { border-radius: 20px !important; box-shadow: var(--hr-shadow-md) !important; }
.hr-area-card-v2:hover { box-shadow: var(--hr-shadow-lg) !important; transform: translateY(-2px) !important; }
body.hr-dark .hr-area-card-v2 { box-shadow: var(--hr-shadow-dark-md) !important; }
body.hr-dark .hr-area-card-v2:hover { box-shadow: var(--hr-shadow-dark-lg) !important; }
.hr-card-map-thumb { border-radius: 20px 20px 0 0 !important; height: 140px !important; }
.hr-card-name-v2 { font-size: 17px !important; font-weight: 600 !important; letter-spacing: -0.3px !important; }
.hr-card-ref-v2 { font-size: 11px !important; font-weight: 500 !important; letter-spacing: 0.3px !important; text-transform: uppercase !important; }
.hr-card-stat-num { font-size: 20px !important; font-weight: 700 !important; letter-spacing: -0.5px !important; }
.hr-card-stat-lbl { font-size: 10px !important; font-weight: 600 !important; letter-spacing: 0.4px !important; text-transform: uppercase !important; }
.hr-card-btn-primary { border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; }
.hr-card-btn-secondary { border-radius: 8px !important; font-size: 13px !important; font-weight: 500 !important; }
.hr-logo-text { font-family: var(--hr-font-system) !important; font-weight: 700 !important; font-size: 18px !important; letter-spacing: -0.5px !important; }
.hr-form-input, .hr-form-select, textarea.hr-form-input { border-radius: 8px !important; font-size: 15px !important; font-family: var(--hr-font-system) !important; padding: 10px 14px !important; }

/* ============================================
   SMOOTH PAGE TRANSITIONS — Apple-style
   ============================================ */
.hr-dash-main {
    animation: hr-fade-in 0.2s ease-out !important;
}
.hr-dash-content {
    animation: hr-slide-up 0.25s ease-out !important;
}
@keyframes hr-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes hr-slide-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth nav link transitions */
.hr-nav-item {
    transition: background 0.15s ease, color 0.15s ease !important;
}

/* Card hover transition */
.hr-area-card-v2 {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Button transitions */
.hr-card-btn-primary, .hr-card-btn-secondary,
.hr-btn, .hr-btn-primary, .hr-btn-outline {
    transition: all 0.15s ease !important;
}

/* Smooth dark mode transition */
.hr-dashboard, .hr-dash-sidebar, .hr-dash-topbar,
.hr-stat-card, .hr-area-card-v2, .hr-dash-content {
    transition: background 0.25s ease, border-color 0.25s ease, color 0.2s ease !important;
}
