/* ============================================
   2stats.com - Design System
   Clean, modern SaaS-style light theme
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors */
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #DBEAFE;
    --primary-bg: #EFF6FF;
    --secondary: #7C3AED;
    --secondary-hover: #6D28D9;
    --secondary-light: #EDE9FE;
    --accent: #10B981;
    --accent-hover: #059669;
    --accent-light: #D1FAE5;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Surfaces */
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-input: #FFFFFF;
    --bg-hero: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 50%, #ECFDF5 100%);

    /* Borders */
    --border-color: #E2E8F0;
    --border-focus: #2563EB;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 10px 25px -5px rgba(37, 99, 235, 0.12), 0 4px 10px -4px rgba(0,0,0,0.06);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Z-index */
    --z-header: 1000;
    --z-dropdown: 1010;
    --z-modal: 1050;
    --z-toast: 1060;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-hover);
}

/* ---------- Header / Navbar ---------- */
.navbar-2stats {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    transition: box-shadow var(--transition-base);
}

.navbar-2stats.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand-2stats {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand-2stats .brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 900;
}

.navbar-2stats .nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 0.938rem;
}

.navbar-2stats .nav-link:hover,
.navbar-2stats .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-bg);
}

.navbar-search {
    position: relative;
    max-width: 280px;
}

.navbar-search .form-control {
    padding-left: 2.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-size: 0.875rem;
    height: 40px;
    transition: all var(--transition-fast);
}

.navbar-search .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: var(--white);
}

.navbar-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: var(--z-dropdown);
}

.search-results-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    transition: background var(--transition-fast);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
}

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

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item .result-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.search-result-item .result-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.search-result-item .result-category {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* ---------- Hero Section ---------- */
.hero-section {
    background: var(--bg-hero);
    padding: var(--space-24) 0 var(--space-20);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-search {
    max-width: 560px;
    position: relative;
}

.hero-search .form-control {
    height: 56px;
    padding: 0 5rem 0 1.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.hero-search .form-control:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hero-search .btn {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 44px;
    width: 44px;
    border-radius: var(--radius-lg);
    background: var(--primary);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.hero-search .btn:hover {
    background: var(--primary-hover);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.813rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ---------- Section Styles ---------- */
.section {
    padding: var(--space-20) 0;
}

.section-alt {
    background: var(--white);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* ---------- Tool Cards ---------- */
.tool-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--gray-800);
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
}

.tool-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
    color: var(--gray-800);
}

.tool-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.tool-card:hover .tool-card-icon {
    background: var(--primary);
    color: var(--white);
}

.tool-card-body {
    flex: 1;
    min-width: 0;
}

.tool-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
    line-height: 1.3;
}

.tool-card-desc {
    font-size: 0.838rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tool-card-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-bg);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
}

.tool-card-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.35rem;
}

.badge-premium {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.badge-new {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tool-card-lg {
    padding: 1.5rem;
}

.tool-card-lg .tool-card-icon {
    width: 56px;
    height: 56px;
}

.tool-card-lg .tool-card-title {
    font-size: 1.1rem;
}

/* ---------- Category Cards ---------- */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--gray-800);
    transition: all var(--transition-base);
    height: 100%;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
    color: var(--gray-800);
}

.category-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.category-card:hover .category-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.05);
}

.category-card-icon svg {
    width: 28px;
    height: 28px;
}

.category-card-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--gray-900);
}

.category-card-count {
    font-size: 0.813rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ---------- Features / Why Choose ---------- */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-icon.blue {
    background: var(--primary-light);
    color: var(--primary);
}

.feature-icon.purple {
    background: var(--secondary-light);
    color: var(--secondary);
}

.feature-icon.green {
    background: var(--accent-light);
    color: var(--accent);
}

.feature-icon.orange {
    background: #FEF3C7;
    color: #D97706;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ---------- How It Works ---------- */
.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ---------- Tool Page ---------- */
.tool-page-header {
    background: var(--bg-hero);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.tool-page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.tool-page-header .tool-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 700px;
}

.tool-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.tool-widget .form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.938rem;
}

.tool-widget .form-control,
.tool-widget .form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    padding: 0.625rem 0.875rem;
    font-size: 0.938rem;
    transition: all var(--transition-fast);
}

.tool-widget .form-control:focus,
.tool-widget .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tool-widget textarea.form-control {
    min-height: 180px;
    resize: vertical;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
}

.tool-output {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 120px;
}

.tool-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.tool-stat-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.tool-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.tool-stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Buttons ---------- */
.btn-primary-2stats {
    background: linear-gradient(135deg, var(--primary), #3B82F6);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-primary-2stats:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-outline-2stats {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.565rem 1.5rem;
    border-radius: var(--radius-md);
    background: transparent;
    transition: all var(--transition-base);
}

.btn-outline-2stats:hover {
    background: var(--primary);
    color: white;
}

.btn-secondary-2stats {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.btn-secondary-2stats:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
}

/* ---------- FAQ Section ---------- */
.faq-section .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary-bg);
    color: var(--primary);
    box-shadow: none;
}

.faq-section .accordion-button::after {
    background-size: 1rem;
}

.faq-section .accordion-body {
    padding: 1rem 1.5rem 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.938rem;
}

/* ---------- CTA / Newsletter Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: var(--space-20) 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}

.cta-desc {
    opacity: 0.9;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.cta-form .form-control {
    height: 50px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0 1rem;
    font-size: 1rem;
}

.cta-form .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.cta-form .form-control:focus {
    border-color: white;
    background: rgba(255,255,255,0.2);
    box-shadow: none;
    color: white;
}

.cta-form .btn {
    height: 50px;
    background: white;
    color: var(--primary);
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 1.5rem;
    transition: all var(--transition-fast);
}

.cta-form .btn:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

/* ---------- Footer ---------- */
.footer-2stats {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-16) 0 0;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-desc {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: var(--space-12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

/* ---------- Ad Placeholders ---------- */
.ad-placeholder {
    background: var(--gray-50);
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    margin: 1.5rem 0;
}

.ad-placeholder-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.ad-sidebar {
    min-height: 250px;
}

.ad-sidebar .ad-placeholder-inner {
    min-height: 250px;
}

/* ---------- SEO Content ---------- */
.seo-content {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
}

.seo-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.seo-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.seo-content ul,
.seo-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.seo-content li {
    margin-bottom: 0.35rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: var(--gray-500);
}

.breadcrumb-item.active {
    color: var(--gray-700);
    font-weight: 500;
}

/* ---------- Premium Banner ---------- */
.premium-banner {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1px solid #FCD34D;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.premium-banner-icon {
    font-size: 1.5rem;
}

.premium-banner-text {
    flex: 1;
}

.premium-banner-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: var(--gray-900);
}

.premium-banner-text p {
    font-size: 0.838rem;
    color: var(--gray-600);
    margin: 0;
}

/* ---------- Related Tools ---------- */
.related-tools-section {
    padding: var(--space-12) 0;
}

/* ---------- Loading State ---------- */
.loading-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-spinner .spinner-border {
    width: 1.25rem;
    height: 1.25rem;
    border-width: 2px;
}

/* ---------- Empty State ---------- */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-400);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h4 {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9rem;
}

/* ---------- Copy Button ---------- */
.btn-copy {
    position: relative;
    cursor: pointer;
}

.btn-copy .copy-feedback {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.btn-copy.copied .copy-feedback {
    opacity: 1;
}

/* ---------- Page Header (for static pages) ---------- */
.page-header {
    background: var(--bg-hero);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 600px;
}

/* ---------- Animations ---------- */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    h1 { font-size: 2rem; }
    h2, .section-title { font-size: 1.75rem; }
    
    .navbar-search {
        max-width: 100%;
        margin-top: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: var(--space-12) 0 var(--space-10);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-value {
        font-size: 1.35rem;
    }
    
    .section {
        padding: var(--space-12) 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .tool-widget {
        padding: 1.25rem;
    }
    
    .tool-page-header h1 {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .tool-stat-item {
        min-width: 80px;
        padding: 0.5rem 0.75rem;
    }
    
    .tool-stat-value {
        font-size: 1.35rem;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ---------- Selection ---------- */
::selection {
    background: var(--primary-light);
    color: var(--primary);
}
