/* ==========================================================================
   PDFDADDY - MODERN LANDING PAGE
   Redesigned with glassmorphism, animated gradients, and smooth interactions
   ========================================================================== */

/* ===== PREMIUM HEADER OVERRIDE ===== */
.site-header {
    position: relative;
    z-index: 1000;
}

.navbar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border-bottom: 1px solid rgba(244, 185, 66, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0 !important;
}

/* Gold accent line at bottom */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--color-gold) 50%, transparent 100%);
}

/* Logo styling */
.logo {
    color: white !important;
    font-weight: 800 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
}

.logo:hover {
    color: var(--color-gold) !important;
    transform: translateY(-2px);
    text-shadow: 0 4px 12px rgba(244, 185, 66, 0.4);
}

.logo-icon {
    filter: drop-shadow(0 2px 6px rgba(244, 185, 66, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.logo-beta {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%) !important;
    color: #1e293b !important;
    padding: 0.15rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    margin-left: 0.5rem !important;
    box-shadow: 0 2px 6px rgba(244, 185, 66, 0.3);
    animation: betaPulse 3s ease-in-out infinite;
}

@keyframes betaPulse {
    0%, 100% {
        box-shadow: 0 2px 6px rgba(244, 185, 66, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(244, 185, 66, 0.5);
    }
}

/* Navigation links */
.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 700 !important;
    font-size: clamp(0.95rem, 0.7vw + 0.45rem, 1.1rem) !important;
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: 0.01em;
    padding: clamp(0.55rem, 0.7vw, 0.7rem) clamp(0.8rem, 0.9vw, 1rem) !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    color: var(--color-gold) !important;
    background: rgba(244, 185, 66, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link[aria-current="page"] {
    color: var(--color-gold) !important;
    background: rgba(244, 185, 66, 0.15);
    font-weight: 800 !important;
}

.nav-link[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--color-gold) 0%, var(--color-accent) 100%);
    box-shadow: 0 0 8px var(--color-gold);
}

.nav-icon {
    filter: drop-shadow(0 1px 3px rgba(244, 185, 66, 0.2));
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-icon {
    transform: scale(1.15);
}

@media (min-width: 769px) {
    .nav-icon {
        font-size: clamp(1.1rem, 0.9vw, 1.3rem);
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .navbar-nav {
        gap: clamp(0.45rem, 0.8vw, 1.05rem);
        row-gap: 0.6rem;
    }
}

/* Primary button in header */
.navbar .btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%) !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.25rem !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(244, 185, 66, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 185, 66, 0.5) !important;
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-accent) 100%) !important;
}

/* Usage badge */
.usage-badge {
    background: rgba(244, 185, 66, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 185, 66, 0.2) !important;
    border-radius: 8px !important;
    padding: clamp(0.45rem, 0.6vw, 0.6rem) clamp(0.85rem, 0.9vw, 1rem) !important;
    font-size: clamp(0.8rem, 0.6vw, 0.9rem) !important;
    font-weight: 600 !important;
}

.badge-pro {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%) !important;
    color: #1e293b !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: clamp(0.75rem, 0.55vw, 0.85rem) !important;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(244, 185, 66, 0.3);
    animation: proBadgeGlow 3s ease-in-out infinite;
}

@keyframes proBadgeGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(244, 185, 66, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(244, 185, 66, 0.5);
    }
}

.usage-text {
    color: white !important;
    font-weight: 600 !important;
    font-size: clamp(0.8rem, 0.6vw, 0.9rem) !important;
}

.usage-progress {
    background: linear-gradient(to right, var(--color-primary) 0%, var(--color-gold) 100%) !important;
}

.usage-bar {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
}

/* User dropdown */
.dropdown-toggle {
    background: rgba(244, 185, 66, 0.1) !important;
    border: 1px solid rgba(244, 185, 66, 0.2) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.dropdown-toggle:hover {
    background: rgba(244, 185, 66, 0.2) !important;
    border-color: var(--color-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 185, 66, 0.2);
}

.user-avatar {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%) !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    margin-right: 0.5rem !important;
}

.dropdown-menu {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(244, 185, 66, 0.2) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.dropdown-header {
    border-bottom: 1px solid rgba(244, 185, 66, 0.2) !important;
}

.user-email {
    color: white !important;
    font-weight: 600 !important;
}

.user-tier {
    color: var(--color-gold) !important;
    font-size: 0.75rem !important;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s ease !important;
}

.dropdown-item:hover {
    background: rgba(244, 185, 66, 0.1) !important;
    color: var(--color-gold) !important;
    transform: translateX(4px);
}

.dropdown-item.highlight {
    color: var(--color-gold) !important;
    font-weight: 600 !important;
}

.dropdown-item.highlight:hover {
    background: rgba(244, 185, 66, 0.2) !important;
}

.dropdown-divider {
    border-color: rgba(244, 185, 66, 0.2) !important;
}

/* Quick tools bar - Premium floating bar */
.quick-tools-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border-bottom: 1px solid rgba(244, 185, 66, 0.15) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px);
}

.landing-page .quick-tools-bar {
    display: none;
}

/* Gold shimmer line at bottom */
.quick-tools-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--color-gold) 50%, transparent 100%);
    opacity: 0.8;
}

.quick-tools {
    position: relative;
    z-index: 1;
}

.quick-tool {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 8px !important;
    padding: 0.6rem 1.2rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative;
    overflow: hidden;
}

/* Hover glow effect */
.quick-tool::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-tool:hover {
    background: rgba(244, 185, 66, 0.15) !important;
    border-color: rgba(244, 185, 66, 0.3) !important;
    color: var(--color-gold) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(244, 185, 66, 0.3);
}

.quick-tool:hover::before {
    opacity: 1;
}

.quick-tool .tool-icon {
    filter: drop-shadow(0 2px 6px rgba(244, 185, 66, 0.3));
    transition: all 0.3s ease;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.quick-tool:hover .tool-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(244, 185, 66, 0.5));
}

.quick-tool .tool-label {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.quick-tool:hover .tool-label {
    color: var(--color-gold) !important;
}

/* "More" button special styling */
.quick-tool.more {
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%) !important;
    border-color: rgba(244, 185, 66, 0.2) !important;
}

.quick-tool.more:hover {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%) !important;
    color: #1e293b !important;
}

.quick-tool.more:hover .tool-label {
    color: #1e293b !important;
}

/* Mobile menu toggle */
.navbar-toggle span {
    background: white !important;
    transition: all 0.3s ease !important;
}

.navbar-toggle:hover span {
    background: var(--color-gold) !important;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Softer Professional Green & Gold Palette */
    --color-primary: #16a34a;
    --color-primary-dark: #15803d;
    --color-primary-light: #22c55e;
    --color-secondary: #059669;
    --color-accent: #D4AF37;
    --color-gold: #F4B942;
    --color-gold-dark: #D39E00;

    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-600: #616161;
    --gray-700: #424242;
    --gray-800: #212121;
    --gray-900: #1a1a1a;

    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Professional Fonts */
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Merriweather', 'Georgia', serif;
}

/* Global Font Application */
body {
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6,
.hero-title-modern,
.section-title-modern,
.category-title,
.featured-tool-title,
.cta-title {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* ===== HERO SECTION ===== */
.hero-modern {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1220 0%, #111827 45%, #1e293b 100%);
}

.landing-page .hero-modern {
    min-height: 85vh;
    padding-bottom: 5rem;
}

.landing-page .scroll-indicator {
    bottom: 1.25rem;
}

.hero-bg-animated {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(17, 24, 39, 0.95) 50%, rgba(11, 18, 32, 0.98) 100%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-gradient-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 185, 66, 0.2) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(248, 204, 123, 0.14) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-content-modern {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--premium-text);
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 185, 66, 0.4);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease;
    position: relative;
    overflow: hidden;
}

.hero-badge-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-badge-icon {
    width: 16px;
    height: 16px;
    color: var(--color-gold);
    animation: iconSpin 4s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.hero-title-modern {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease 0.1s backwards;
    color: #f8fafc;
}

.hero-title-gradient {
    display: block;
    background: linear-gradient(to right, #F4B942, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-subtitle-modern {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--premium-text-muted);
    margin-bottom: var(--space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

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

.hero-cta-modern {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-16);
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
    color: var(--gray-900);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    font-weight: 700;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-accent) 100%);
}

.btn-secondary-modern {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.btn-secondary-modern:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.25);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-lg-modern {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: indicatorBounce 2s ease-in-out infinite;
}

@keyframes indicatorBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator-dot {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-gold);
    border-radius: 12px;
    position: relative;
    background: rgba(244, 185, 66, 0.05);
    box-shadow: 0 4px 12px rgba(244, 185, 66, 0.2);
}

.scroll-indicator-dot::before {
    content: '';
    width: 4px;
    height: 8px;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-accent));
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--color-gold);
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; top: 6px; }
    50% { opacity: 1; top: 16px; }
}

/* ===== SEARCH BAR - PREMIUM DARK FLOATING ===== */
.search-bar-sticky {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 1.5rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 60px;
    z-index: 100;
    border-bottom: 2px solid rgba(244, 185, 66, 0.2);
    backdrop-filter: blur(10px);
}

.landing-page .search-bar-sticky {
    margin-top: -3rem;
    padding: 1.25rem 0;
    border-radius: 24px;
    border: 1px solid rgba(244, 185, 66, 0.25);
    border-bottom: none;
    overflow: hidden;
}

.landing-page .search-bar-sticky::after {
    display: none;
}

.landing-page .search-wrapper-modern {
    margin-bottom: var(--space-4);
}

/* Animated gold line at bottom */
.search-bar-sticky::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--color-gold) 50%, transparent 100%);
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.search-wrapper-modern {
    position: relative;
    max-width: 600px;
    margin: 0 auto var(--space-6);
}

.search-icon-modern {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(244, 185, 66, 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(244, 185, 66, 0.2));
}

.search-input-modern {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(244, 185, 66, 0.2);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 500;
}

.search-input-modern::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input-modern:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow:
        0 0 0 4px rgba(244, 185, 66, 0.2),
        0 8px 20px rgba(244, 185, 66, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.search-input-modern:focus ~ .search-icon-modern {
    color: var(--color-gold);
    transform: translateY(-50%) scale(1.1);
}

.filter-pills {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pill:hover {
    background: rgba(244, 185, 66, 0.15);
    border-color: rgba(244, 185, 66, 0.3);
    transform: translateY(-2px);
    color: var(--color-gold);
}

.pill:hover::before {
    opacity: 1;
}

.pill.active {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
    color: #1e293b;
    border-color: var(--color-gold);
    box-shadow: 0 4px 16px rgba(244, 185, 66, 0.4);
    transform: translateY(-2px);
    font-weight: 700;
}

.pill.active::after {
    content: '✓';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: white;
    font-weight: 700;
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: var(--space-16) 0;
    background: radial-gradient(circle at top, rgba(244, 185, 66, 0.08) 0%, rgba(11, 18, 32, 0.96) 55%, rgba(11, 18, 32, 1) 100%);
}

.featured-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: var(--space-16);
}

.featured-tools-grid .featured-tool-card {
    margin-bottom: 0;
}

/* Featured Tool Card - Modern Dark Design */
.featured-tool-card {
    background: linear-gradient(
        135deg,
        #1e293b 0%,
        #334155 100%
    );
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: var(--space-16);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.featured-tool-card--signature {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.featured-tool-badge--light {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
    color: #1e293b;
    box-shadow: 0 8px 16px rgba(244, 185, 66, 0.3);
}

/* Accent stripe on left side */
.featured-tool-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--color-gold) 0%, var(--color-accent) 100%);
}

.featured-tool-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
    color: var(--gray-900);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(244, 185, 66, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(244, 185, 66, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(244, 185, 66, 0.6);
        transform: scale(1.05);
    }
}

.featured-tool-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.featured-tool-text {
    flex: 1;
    min-width: 0;
}

.featured-tool-icon {
    font-size: 4rem;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(244, 185, 66, 0.3));
}

.featured-tool-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.featured-tool-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.featured-tool-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.featured-tool-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.featured-tool-actions .featured-tool-cta {
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.feature-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(244, 185, 66, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 185, 66, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--color-gold);
    font-weight: 600;
}

.featured-tool-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
    color: var(--gray-900);
    border-radius: var(--radius-lg);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.featured-tool-cta--light {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
    color: #1e293b;
    box-shadow: 0 12px 24px rgba(244, 185, 66, 0.35);
}

.featured-tool-cta--ghost {
    background: rgba(15, 23, 42, 0.35);
    color: var(--color-gold);
    border: 1px solid rgba(244, 185, 66, 0.4);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.2);
}

.featured-tool-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-accent) 100%);
}

.featured-tool-cta--light:hover {
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-accent) 100%);
    color: #1e293b;
    box-shadow: 0 16px 28px rgba(244, 185, 66, 0.45);
}

.featured-tool-cta--ghost:hover {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(244, 185, 66, 0.6);
    color: var(--color-gold);
    box-shadow: none;
}

.featured-tool-cta svg {
    width: 20px;
    height: 20px;
}

/* Tool Categories - Dark Premium Theme */
.tool-category {
    margin-bottom: var(--space-16);
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Subtle animated gradient overlay */
.tool-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(244, 185, 66, 0.03) 0%,
        transparent 50%,
        rgba(22, 163, 74, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}

.tool-category:hover::before {
    opacity: 1;
}

/* Gold accent bar on top */
.tool-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-gold) 0%, var(--color-accent) 50%, var(--color-gold) 100%);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 1;
}

.category-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 6px rgba(244, 185, 66, 0.4));
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.tool-card-modern {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(17, 24, 39, 0.96) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(244, 185, 66, 0.2);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.55);
    overflow: hidden;
}

/* Animated shine effect on hover */
.tool-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(244, 185, 66, 0.18) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.tool-card-modern:hover::before {
    transform: translateX(0) translateY(0) rotate(45deg);
}

.tool-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 22px 45px rgba(2, 6, 23, 0.6),
        0 0 0 1px var(--color-gold),
        0 0 24px rgba(244, 185, 66, 0.35);
    border-color: rgba(244, 185, 66, 0.6);
}

.tool-card-icon-modern {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 10px rgba(244, 185, 66, 0.25));
}

.tool-card-modern:hover .tool-card-icon-modern {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(244, 185, 66, 0.4));
}

.tool-card-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tool-card-modern:hover .tool-card-title-modern {
    color: var(--color-gold);
}

.tool-card-desc-modern {
    font-size: 0.875rem;
    color: var(--premium-text-muted);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.tool-badge-popular {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #0f172a;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    z-index: 2;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(212, 175, 55, 0.6);
    }
}

/* No Results */
.no-results-modern {
    text-align: center;
    padding: var(--space-16) 0;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    color: var(--gray-300);
    margin: 0 auto var(--space-6);
    stroke-width: 1.5;
}

.no-results-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.no-results-modern p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--space-16) 0;
    background: radial-gradient(circle at top, rgba(244, 185, 66, 0.08) 0%, rgba(11, 18, 32, 0.96) 55%, rgba(11, 18, 32, 1) 100%);
}

.section-header-modern {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.section-subtitle-modern {
    font-size: 1.125rem;
    color: #94a3b8;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card-modern {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(17, 24, 39, 0.96) 100%);
    border: 1px solid rgba(244, 185, 66, 0.2);
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.5);
}

/* Hover effect with subtle background */
.feature-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 185, 66, 0.12) 0%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-lg);
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-card-modern:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 36px rgba(2, 6, 23, 0.6),
        0 0 0 1px rgba(244, 185, 66, 0.5),
        0 0 22px rgba(244, 185, 66, 0.25);
    border-color: rgba(244, 185, 66, 0.55);
}

.feature-icon-modern {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 10px rgba(244, 185, 66, 0.2));
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(244, 185, 66, 0.3));
}

.feature-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-card-modern:hover .feature-title-modern {
    color: var(--color-gold);
}

.feature-desc-modern {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--space-20) 0;
    background: radial-gradient(circle at top, rgba(244, 185, 66, 0.08) 0%, rgba(11, 18, 32, 0.96) 55%, rgba(11, 18, 32, 1) 100%);
}

.cta-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.98) 50%, rgba(15, 23, 42, 0.96) 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 24px 50px rgba(2, 6, 23, 0.6);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(244, 185, 66, 0.3);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 185, 66, 0.15) 0%, transparent 70%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(-20%, -20%); opacity: 0.8; }
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-gold) 0%, var(--color-accent) 50%, var(--color-gold) 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-title::after {
    content: '✨';
    margin-left: 0.5rem;
    display: inline-block;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet & iPad (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }

    /* Header adjustments */
    .navbar {
        padding: 0.75rem 0 !important;
    }

    .logo {
        font-size: 1.5rem !important;
    }

    .nav-link {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.875rem !important;
    }

    /* Hero section */
    .hero-modern {
        min-height: 85vh;
    }

    .hero-title-modern {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .hero-subtitle-modern {
        font-size: 1.125rem;
    }

    /* Featured card */
    .featured-tools-grid {
        grid-template-columns: 1fr;
    }

    .featured-tool-card {
        padding: 2.5rem;
    }

    .featured-tool-title {
        font-size: 1.75rem;
    }

    /* Tool categories */
    .tool-category {
        padding: 2rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }

    /* Quick tools bar */
    .quick-tools {
        gap: 12px;
        padding: 10px 20px;
    }

    .quick-tool {
        padding: 0.5rem 1rem !important;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    /* Header - Mobile optimized */
    .navbar {
        padding: 0.5rem 0 !important;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .logo {
        font-size: 1.25rem !important;
    }

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

    .logo-beta {
        font-size: 0.6rem !important;
        padding: 0.1rem 0.4rem !important;
    }

    /* Mobile navigation */
    .navbar-menu {
        width: 100%;
        margin-top: 1rem;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem !important;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    /* Hero section - Mobile */
    .hero-modern {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-title-modern {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle-modern {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-badge-modern {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .hero-cta-modern {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

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

    .stat-label {
        font-size: 0.8rem;
    }

    /* Scroll indicator - hide on mobile */
    .scroll-indicator {
        display: none;
    }

    /* Search bar - Mobile */
    .search-bar-sticky {
        padding: 1rem 0;
        top: 50px;
    }

    .landing-page .search-bar-sticky {
        margin-top: -2rem;
        border-radius: 18px;
    }

    .search-wrapper-modern {
        margin-bottom: 1rem;
    }

    .search-input-modern {
        font-size: 0.875rem;
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    }

    .search-icon-modern {
        width: 18px;
        height: 18px;
        left: 0.875rem;
    }

    /* Filter pills - Mobile scroll */
    .filter-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        justify-content: flex-start;
    }

    .filter-pills::-webkit-scrollbar {
        height: 4px;
    }

    .filter-pills::-webkit-scrollbar-thumb {
        background: rgba(244, 185, 66, 0.3);
        border-radius: 2px;
    }

    .pill {
        flex-shrink: 0;
        padding: 0.4rem 0.875rem;
        font-size: 0.8rem;
    }

    /* Featured card - Mobile */
    .featured-tool-card {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .featured-tool-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .featured-tool-icon {
        font-size: 3rem;
    }

    .featured-tool-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .featured-tool-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .featured-tool-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.65rem;
        padding: 0.4rem 0.75rem;
    }

    .featured-tool-features {
        justify-content: center;
        gap: 0.5rem;
    }

    .featured-tool-actions .featured-tool-cta {
        min-width: 100%;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    /* Tool categories - Mobile */
    .tool-category {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .category-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

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

    /* Cards grid - Single column on mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .tool-card-icon-modern {
        font-size: 2.5rem;
    }

    .tool-card-title-modern {
        font-size: 1.125rem;
    }

    /* Features section - Mobile */
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card-modern {
        padding: 1.5rem;
    }

    .feature-icon-modern {
        font-size: 2.5rem;
    }

    /* CTA section - Mobile */
    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    /* Quick tools bar - Mobile horizontal scroll */
    .quick-tools-bar {
        top: 50px;
    }

    .quick-tools {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 16px;
        gap: 10px;
        justify-content: flex-start;
    }

    .quick-tools::-webkit-scrollbar {
        height: 4px;
    }

    .quick-tools::-webkit-scrollbar-thumb {
        background: rgba(244, 185, 66, 0.3);
        border-radius: 2px;
    }

    .quick-tool {
        flex-shrink: 0;
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }

    .quick-tool .tool-icon {
        font-size: 1.125rem;
    }

    .quick-tool .tool-label {
        font-size: 0.8rem !important;
    }

    /* Spacing adjustments */
    :root {
        --space-4: 0.75rem;
        --space-6: 1rem;
        --space-8: 1.5rem;
        --space-12: 2rem;
        --space-16: 2.5rem;
        --space-20: 3rem;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.875rem;
    }

    /* Extra compact hero */
    .hero-title-modern {
        font-size: 1.75rem;
    }

    .hero-subtitle-modern {
        font-size: 0.9rem;
    }

    .hero-badge-modern {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
    }

    /* Compact buttons */
    .btn-modern {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    /* Stats */
    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Search input */
    .search-input-modern {
        font-size: 0.8rem;
    }

    .landing-page .search-bar-sticky {
        margin-top: -1.5rem;
        border-radius: 14px;
    }

    /* Featured card */
    .featured-tool-card {
        padding: 1.25rem;
    }

    .featured-tool-title {
        font-size: 1.25rem;
    }

    .featured-tool-description {
        font-size: 0.9rem;
    }

    /* Tool cards */
    .tool-card-modern {
        padding: 1.25rem;
    }

    .tool-card-icon-modern {
        font-size: 2.25rem;
    }

    .tool-card-title-modern {
        font-size: 1rem;
    }

    .tool-card-desc-modern {
        font-size: 0.8rem;
    }

    /* Category titles */
    .category-title {
        font-size: 1.125rem;
    }

    /* CTA */
    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }
}

/* Landscape mobile optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-modern {
        min-height: auto;
        padding: 1.5rem 0;
    }

    .hero-stats {
        margin-top: 1rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .btn-modern {
        min-height: 44px;
    }

    .nav-link {
        min-height: 44px;
    }

    .pill {
        min-height: 36px;
    }

    .quick-tool {
        min-height: 44px;
    }

    /* Disable hover effects on touch */
    .tool-card-modern:hover {
        transform: none;
    }

    /* Make tap feedback instant */
    .tool-card-modern:active {
        transform: scale(0.98);
    }

    .btn-modern:active {
        transform: scale(0.98);
    }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.landing-page .container {
    max-width: 1440px;
}

@media (min-width: 1600px) {
    .landing-page .container {
        max-width: 1560px;
    }
}
