/* ----------------------------------------------------
   Hunter Plus - Premium Glassmorphic Design System
---------------------------------------------------- */

/* Design Tokens & Theme Variables */
:root[data-theme="dark"] {
    --bg-primary: #08090e;
    --bg-secondary: #0f101a;
    --bg-tertiary: #161726;
    --card-bg: rgba(15, 16, 26, 0.65);
    --glass-bg: rgba(22, 23, 38, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-hover-bg: rgba(255, 255, 255, 0.04);
    --glass-hover-border: rgba(255, 255, 255, 0.1);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-cyan: #00f2fe;
    --accent-purple: #9d4edd;
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --accent-gradient-purple: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
    --glow-cyan: rgba(0, 242, 254, 0.15);
    --glow-purple: rgba(157, 78, 221, 0.18);
    
    --input-bg: rgba(15, 16, 26, 0.8);
    --input-border: rgba(255, 255, 255, 0.08);
    --input-focus-border: #00f2fe;
    
    --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 30px -4px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px -8px rgba(0, 0, 0, 0.7);
    --scroll-thumb: rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] {
    --bg-primary: #f4f6fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eaeff8;
    --card-bg: rgba(255, 255, 255, 0.75);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-hover-bg: rgba(0, 0, 0, 0.02);
    --glass-hover-border: rgba(0, 0, 0, 0.12);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-cyan: #0284c7;
    --accent-purple: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #0284c7 0%, #3b82f6 100%);
    --accent-gradient-purple: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    --glow-cyan: rgba(2, 132, 199, 0.08);
    --glow-purple: rgba(124, 58, 237, 0.1);
    
    --input-bg: rgba(255, 255, 255, 0.9);
    --input-border: rgba(0, 0, 0, 0.1);
    --input-focus-border: #0284c7;
    
    --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px -4px rgba(99, 102, 241, 0.05);
    --shadow-lg: 0 20px 40px -10px rgba(99, 102, 241, 0.1);
    --scroll-thumb: rgba(0, 0, 0, 0.15);
}

/* Base Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 72px; /* For sticky navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Layout Core Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: var(--accent-gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hidden {
    display: none !important;
}

/* ----------------------------------------------------
   Sticky Navbar Styles
---------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 10px var(--glow-cyan);
}

.logo-icon i {
    width: 16px;
    height: 16px;
}

/* Nav Search Bar */
.nav-search-wrapper {
    position: relative;
    width: 280px;
    display: none; /* Desktop only check */
}

@media(min-width: 992px) {
    .nav-search-wrapper {
        display: block;
    }
}

.nav-search-wrapper input {
    width: 100%;
    height: 38px;
    border-radius: 20px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-primary);
    padding: 0 40px 0 16px;
    font-size: 0.85rem;
    outline: none;
}

.nav-search-wrapper input:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 10px var(--glow-cyan);
}

.nav-search-wrapper .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    pointer-events: none;
}

.nav-search-wrapper .shortcut {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    pointer-events: none;
}

/* Dropdown Search Results */
.search-dropdown {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 110;
    padding: 8px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.search-result-item:hover {
    background: var(--glass-hover-bg);
    color: var(--text-primary);
}

.search-result-item i {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

.search-result-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-left: auto;
}

.search-dropdown-no-results {
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Nav Menu Links */
.nav-menu {
    display: none;
    align-items: center;
    gap: 8px;
}

@media(min-width: 992px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--glass-hover-bg);
}

/* Hover Dropdown Category */
.nav-dropdown-trigger {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 200px;
    padding: 8px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-trigger:hover .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}

.nav-dropdown a {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.nav-dropdown a:hover {
    background: var(--glass-hover-bg);
    color: var(--text-primary);
}

/* Nav Actions Theme Switch */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-btn:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    transform: scale(1.05);
}

.icon-btn i {
    width: 18px;
    height: 18px;
}

.mobile-only {
    display: flex;
}

@media(min-width: 992px) {
    .mobile-only {
        display: none;
    }
}

/* ----------------------------------------------------
   Mobile Drawer Sidebar Styles
---------------------------------------------------- */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    pointer-events: none;
}

.mobile-drawer.open {
    pointer-events: auto;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open .drawer-content {
    right: 0;
}

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

.mobile-search-wrapper {
    position: relative;
    width: 100%;
}

.mobile-search-wrapper input {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-primary);
    padding: 0 16px 0 40px;
    font-size: 0.9rem;
    outline: none;
}

.mobile-search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    flex-grow: 1;
}

.drawer-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: 8px;
}

.drawer-link:hover, .drawer-link.active {
    color: var(--text-primary);
    background: var(--glass-hover-bg);
}

.drawer-category-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 16px;
    margin-bottom: 8px;
    padding-left: 16px;
}

.drawer-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 8px;
}

.drawer-cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-bg);
}

.drawer-cat-link:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    color: var(--text-primary);
}

.drawer-cat-link i {
    width: 12px;
    height: 12px;
    color: var(--accent-cyan);
}

.drawer-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 16px 0;
}

/* ----------------------------------------------------
   General Page Layout Elements
---------------------------------------------------- */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.section-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    display: inline-block;
    padding: 4px 12px;
    background: var(--glow-cyan);
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.section-title {
    font-size: 1.85rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Premium Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px var(--glow-cyan);
}

.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.25);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    transform: translateY(-2px);
}

.btn i {
    width: 14px;
    height: 14px;
}

/* Standard Premium Glass Card */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--glass-hover-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* ----------------------------------------------------
   1. Homepage Hero Section
---------------------------------------------------- */
.hero {
    position: relative;
    padding: 100px 0 80px 0;
    overflow: hidden;
    text-align: center;
}

.hero-glow-1 {
    position: absolute;
    top: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.hero-tagline i {
    width: 12px;
    height: 12px;
    color: var(--accent-cyan);
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

@media(min-width: 768px) {
    .hero-title {
        font-size: 3.8rem;
    }
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 36px auto;
}

/* Large Hero Search bar */
.hero-search-wrapper {
    max-width: 600px;
    margin: 0 auto 40px auto;
    position: relative;
    box-shadow: var(--shadow-md);
    border-radius: 30px;
}

.hero-search-wrapper input {
    width: 100%;
    height: 60px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary);
    padding: 0 150px 0 28px;
    font-size: 1rem;
    outline: none;
}

.hero-search-wrapper input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--glow-cyan);
}

.hero-search-wrapper .search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
    border-radius: 22px;
}

/* Quick Search Suggestions */
.hero-suggestions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-suggestions .suggest-tag {
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.hero-suggestions .suggest-tag:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    color: var(--text-primary);
}

/* ----------------------------------------------------
   2. Popular Categories Grid
---------------------------------------------------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media(min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media(min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    border-color: var(--glass-hover-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--glow-cyan);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 242, 254, 0.1);
}

.category-card:nth-child(even) .category-icon {
    background: var(--glow-purple);
    color: var(--accent-purple);
    border: 1px solid rgba(157, 78, 221, 0.1);
}

.category-icon i {
    width: 22px;
    height: 22px;
}

.category-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   3. Modern Tools Card Grids
---------------------------------------------------- */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width: 576px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media(min-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.tool-card:hover {
    border-color: var(--glass-hover-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tool-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.tool-card:nth-child(even) .tool-card-icon {
    color: var(--accent-purple);
}

.tool-card-icon i {
    width: 20px;
    height: 20px;
}

.tool-card-meta {
    flex-grow: 1;
}

.tool-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.tool-card-category {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--glow-cyan);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.tool-card:nth-child(even) .tool-card-badge {
    background: var(--glow-purple);
    color: var(--accent-purple);
    border-color: rgba(157, 78, 221, 0.15);
}

.tool-card-badge.simulated {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-color: var(--glass-border);
}

.tool-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

.tool-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    padding-top: 8px;
    border-top: 1px solid var(--glass-border);
}

.tool-card:nth-child(even) .tool-card-action {
    color: var(--accent-purple);
}

.tool-card-action .stats {
    color: var(--text-muted);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tool-card-action i {
    width: 14px;
    height: 14px;
}

/* Featured Section Highlights */
.section-features-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media(min-width: 768px) {
    .section-features-banner {
        grid-template-columns: 2fr 1fr;
    }
}

.featured-mega-card {
    background: linear-gradient(135deg, rgba(22, 23, 38, 0.8) 0%, rgba(9, 10, 16, 0.9) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    box-shadow: var(--shadow-lg);
}

.featured-mega-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.mega-badge {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--glow-cyan);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.15);
    z-index: 1;
}

.mega-content {
    margin-top: 40px;
    z-index: 1;
}

.mega-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.mega-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    max-width: 480px;
    margin-bottom: 20px;
}

/* ----------------------------------------------------
   4. Why Choose Us Section
---------------------------------------------------- */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 576px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.why-card {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.why-card:nth-child(even) .why-icon {
    color: var(--accent-purple);
}

.why-icon i {
    width: 20px;
    height: 20px;
}

.why-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ----------------------------------------------------
   5. Stats Counter Section
---------------------------------------------------- */
.stats-banner {
    background: var(--accent-gradient);
    border-radius: 20px;
    padding: 40px 24px;
    color: #fff;
    box-shadow: 0 10px 30px var(--glow-cyan);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

@media(min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.85;
}

/* ----------------------------------------------------
   6. Blog Grid Section
---------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media(min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.blog-card:hover {
    border-color: var(--glass-hover-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-img {
    height: 180px;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--accent-gradient);
    color: #fff;
}

.blog-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.blog-meta-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.blog-readmore {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.blog-readmore i {
    width: 12px;
    height: 12px;
}

/* ----------------------------------------------------
   7. FAQ Accordion Section
---------------------------------------------------- */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
}

.faq-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.faq-header i {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.faq-card.open .faq-header i {
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 24px 20px 24px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-card.open .faq-body {
    display: block;
}

/* ----------------------------------------------------
   8. AdSense Spacing Utilities
---------------------------------------------------- */
.adsense-banner-container {
    margin: 20px auto;
}

.adsense-card {
    background: var(--glass-bg);
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.ads-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.adsense-placeholder {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   9. Premium Footer
---------------------------------------------------- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px 0;
}

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

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media(min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-btn:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    color: var(--text-primary);
    transform: scale(1.05);
}

.social-btn i {
    width: 16px;
    height: 16px;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.footer-newsletter-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    position: relative;
    max-width: 320px;
}

.newsletter-form input {
    width: 100%;
    height: 44px;
    border-radius: 22px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-primary);
    padding: 0 54px 0 18px;
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--input-focus-border);
}

.newsletter-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    outline: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.newsletter-submit i {
    width: 14px;
    height: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media(min-width: 768px) {
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* ----------------------------------------------------
   10. All Tools & Category Subpage Styles
---------------------------------------------------- */
.tools-page-header {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
    padding: 60px 0;
    text-align: center;
}

.tools-page-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.tools-page-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* Filtering Container */
.filter-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: 16px;
}

@media(min-width: 768px) {
    .filter-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.filter-categories-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.filter-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
}

.filter-chip:hover, .filter-chip.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}

.filter-search {
    position: relative;
    width: 100%;
}

@media(min-width: 768px) {
    .filter-search {
        width: 260px;
    }
}

.filter-search input {
    width: 100%;
    height: 38px;
    border-radius: 19px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-primary);
    padding: 0 16px 0 40px;
    font-size: 0.85rem;
    outline: none;
}

.filter-search input:focus {
    border-color: var(--accent-cyan);
}

.filter-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   11. Single Tool View & Functional Interface Style
---------------------------------------------------- */
.tool-view-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

@media(min-width: 992px) {
    .tool-view-layout {
        grid-template-columns: 3fr 1fr;
    }
}

.tool-view-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

@media(min-width: 768px) {
    .tool-view-card {
        padding: 40px;
    }
}

.tool-header-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.tool-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-header-icon i {
    width: 26px;
    height: 26px;
}

.tool-header-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tool-header-breadcrumbs {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.tool-header-breadcrumbs a:hover {
    color: var(--accent-cyan);
}

/* Base Form Styling for Tools */
.tool-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.tool-form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tool-form-control {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    outline: none;
}

.tool-form-control:focus {
    border-color: var(--input-focus-border);
}

textarea.tool-form-control {
    resize: vertical;
    min-height: 120px;
}

.tool-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width: 576px) {
    .tool-form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tool-button-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

/* Tool Result Box */
.tool-result-container {
    margin-top: 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
}

.tool-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tool-result-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-result-title i {
    width: 14px;
    height: 14px;
    color: var(--accent-cyan);
}

.tool-copy-badge {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tool-copy-badge:hover {
    opacity: 0.8;
}

.tool-result-box {
    background: var(--bg-primary);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 16px;
    font-size: 0.85rem;
    overflow-x: auto;
    word-break: break-all;
    max-height: 400px;
}

/* Side Info Panel for Single Tool */
.tool-side-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tool-info-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
}

.tool-info-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-info-title i {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

.tool-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.tool-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tool-info-list i {
    width: 14px;
    height: 14px;
    color: var(--accent-cyan);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ----------------------------------------------------
   Specific Individual Tool Layout Adjustments
---------------------------------------------------- */

/* Password Generator Strengths */
.strength-meter-bar {
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.strength-meter-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: right;
    margin-top: 4px;
}

.strength-weak { background-color: #ef4444; }
.strength-medium { background-color: #f59e0b; }
.strength-strong { background-color: #10b981; }

.checkbox-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-cyan);
}

/* Image Compressor Drop Zone */
.drop-zone {
    border: 2px dashed var(--input-border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-tertiary);
    transition: border-color 0.2s ease;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent-cyan);
}

.drop-zone-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    color: var(--text-secondary);
}

.drop-zone-icon i {
    width: 20px;
    height: 20px;
}

.drop-zone p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.drop-zone input {
    display: none;
}

/* Image Compare Columns */
.image-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media(min-width: 576px) {
    .image-compare-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.compare-card {
    background: var(--bg-primary);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.compare-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.compare-img-box {
    height: 160px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border: 1px dashed var(--glass-border);
}

.compare-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.compare-size-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* QR Code Preview */
.qr-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--input-border);
    border-radius: 12px;
}

.qr-preview-box img {
    width: 180px;
    height: 180px;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}

/* Google SERP Preview */
.serp-preview-box {
    background: #ffffff;
    color: #1a0dab;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e1e3e5;
    font-family: Arial, sans-serif;
    text-align: left;
    margin-top: 12px;
}

.serp-title {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 2px;
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.serp-title:hover {
    text-decoration: underline;
}

.serp-link {
    font-size: 14px;
    color: #202124;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.serp-desc {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.57;
    margin-top: 4px;
    word-wrap: break-word;
}

/* Color Picker Spectrum Panel */
.color-picker-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media(min-width: 576px) {
    .color-picker-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

.color-palette-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    height: 100px;
    margin-top: 16px;
}

.palette-color {
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--input-border);
    position: relative;
}

.palette-color:hover::after {
    content: 'Copy';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.color-tester {
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* JSON Editor & Lint Panel */
.json-lint-status {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
}

.json-status-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.json-status-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Scanning Overlay Background Remover */
.scan-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 240px;
    background: var(--bg-tertiary);
    border: 1px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.scan-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: scanAnimation 2s infinite ease-in-out;
}

@keyframes scanAnimation {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Countdown Circle age calculator */
.countdown-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
    text-align: center;
}

.countdown-segment {
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px;
}

.countdown-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.countdown-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* BMI Health Range Scale */
.bmi-scale-bar {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(to right, #3b82f6 0%, #10b981 30%, #f59e0b 60%, #ef4444 100%);
    margin: 20px 0 8px 0;
    position: relative;
}

.bmi-pointer {
    position: absolute;
    top: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--accent-purple);
    box-shadow: var(--shadow-sm);
    transform: translateX(-10px);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bmi-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* ----------------------------------------------------
   12. Static Pages (Blog, About, Contact, Privacy)
---------------------------------------------------- */
.static-page-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

@media(min-width: 768px) {
    .static-page-card {
        padding: 50px;
    }
}

.static-rich-text h2 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.static-rich-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.static-rich-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.static-rich-text li {
    margin-bottom: 8px;
}

/* Contact Grid info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media(min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.contact-icon i {
    width: 18px;
    height: 18px;
}

.contact-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
}

.contact-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ----------------------------------------------------
   13. Interactive Toast Notifications
---------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 300;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 260px;
    max-width: 380px;
    animation: slideInToast 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.toast.success i { color: #10b981; }
.toast.error i { color: #ef4444; }

@keyframes slideInToast {
    0% { transform: translateX(50px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
