/*
 * HowToT.com - Modern Design System
 * Professional, aesthetically pleasing CSS for all pages
 * Version: 2.0.0
 */

/* ================================================
   DESIGN TOKENS & CSS VARIABLES
   ================================================ */

:root {
    /* Modern Color Palette */
    --primary: #0ea5e9;        /* Sky blue */
    --primary-dark: #0284c7;   /* Darker sky */
    --primary-light: #38bdf8;  /* Light sky */
    --secondary: #06b6d4;      /* Cyan */
    --accent: #14b8a6;         /* Teal */
    --success: #10b981;        /* Emerald */
    --warning: #f59e0b;        /* Amber */
    --danger: #ef4444;         /* Red */
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-card: #ffffff;
    --bg-hover: rgba(14, 165, 233, 0.05);
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
    --gradient-subtle: linear-gradient(135deg, #f9fafb 0%, #ffffff 50%, #f0f9ff 100%);
    --gradient-hero: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(14,165,233,0.05) 100%);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'Fira Code', 'Monaco', 'Courier New', monospace;
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ================================================
   GLOBAL RESET & BASE
   ================================================ */

body.howtot-theme {
    font-family: var(--font-sans) !important;
    color: var(--text-primary) !important;
    background: var(--bg-secondary) !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

body.howtot-theme * {
    box-sizing: border-box !important;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

body.howtot-theme h1,
body.howtot-theme h2,
body.howtot-theme h3,
body.howtot-theme h4,
body.howtot-theme h5,
body.howtot-theme h6 {
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--text-primary) !important;
    margin-top: 0 !important;
}

body.howtot-theme h1 { 
    font-size: 3rem !important; 
    letter-spacing: -0.025em !important;
}

body.howtot-theme h2 { 
    font-size: 2.25rem !important; 
    letter-spacing: -0.02em !important;
}

body.howtot-theme h3 { 
    font-size: 1.875rem !important; 
    letter-spacing: -0.015em !important;
}

body.howtot-theme h4 { 
    font-size: 1.5rem !important; 
    letter-spacing: -0.01em !important;
}

body.howtot-theme h5 { 
    font-size: 1.25rem !important; 
}

body.howtot-theme h6 { 
    font-size: 1.125rem !important; 
}

body.howtot-theme p {
    margin: 0 0 1.5rem 0 !important;
    color: var(--text-secondary) !important;
    line-height: 1.75 !important;
}

/* ================================================
   MODERN TOOL PAGE DESIGN
   ================================================ */

/* Tool Page Container */
body.howtot-theme .tool-page-container {
    min-height: 100vh !important;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%) !important;
}

body.howtot-theme .tool-page-container .container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 2rem 1.5rem !important;
}

/* Tool Layout Grid */
body.howtot-theme .tool-layout {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 2rem !important;
    align-items: start !important;
}

/* Tool Header - Premium Design */
body.howtot-theme .tool-header {
    background: var(--bg-card) !important;
    border-radius: var(--radius-2xl) !important;
    padding: 3rem !important;
    margin-bottom: 2rem !important;
    box-shadow: var(--shadow-lg) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(14, 165, 233, 0.1) !important;
}

body.howtot-theme .tool-header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: var(--gradient-primary) !important;
}

body.howtot-theme .tool-header::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -10% !important;
    width: 500px !important;
    height: 500px !important;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

/* Tool Header Content */
body.howtot-theme .tool-header-content {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    margin-bottom: 2.5rem !important;
    position: relative !important;
    z-index: 1 !important;
}

body.howtot-theme .tool-icon-header {
    width: 100px !important;
    height: 100px !important;
    background: var(--gradient-primary) !important;
    border-radius: var(--radius-xl) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 48px !important;
    flex-shrink: 0 !important;
    box-shadow: var(--shadow-lg) !important;
    position: relative !important;
    animation: float 6s ease-in-out infinite !important;
}

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

body.howtot-theme .tool-header-text {
    flex: 1 !important;
}

body.howtot-theme .tool-title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.1 !important;
}

body.howtot-theme .tool-description-header {
    font-size: 1.125rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

/* Trust Signals - Modern Cards */
body.howtot-theme .trust-signals {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
}

body.howtot-theme .trust-item {
    background: var(--bg-secondary) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1rem 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    border: 1px solid var(--gray-200) !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .trust-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
    border-color: var(--primary-light) !important;
    background: var(--bg-card) !important;
}

body.howtot-theme .trust-icon {
    font-size: 1.5rem !important;
    filter: saturate(1.5) !important;
}

body.howtot-theme .trust-text {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}

/* Tool Stats - Premium Cards */
body.howtot-theme .tool-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
}

body.howtot-theme .tool-stats .stat-item {
    background: var(--gradient-primary) !important;
    border-radius: var(--radius-xl) !important;
    padding: 1.5rem !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-md) !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .tool-stats .stat-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%) !important;
    pointer-events: none !important;
}

body.howtot-theme .tool-stats .stat-item:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: var(--shadow-xl) !important;
}

body.howtot-theme .tool-stats .stat-number {
    display: block !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: var(--text-white) !important;
    margin-bottom: 0.25rem !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

body.howtot-theme .tool-stats .stat-label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.9) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Tool Interface Section - Clean Design */
body.howtot-theme .tool-interface-section {
    margin-bottom: 2rem !important;
}

body.howtot-theme .tool-intro {
    background: var(--bg-card) !important;
    border-radius: var(--radius-2xl) !important;
    padding: 3rem !important;
    margin-bottom: 2rem !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--gray-200) !important;
    position: relative !important;
    overflow: hidden !important;
}

body.howtot-theme .tool-intro::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 200px !important;
    height: 200px !important;
    background: var(--gradient-primary) !important;
    opacity: 0.05 !important;
    border-radius: 50% !important;
    transform: translate(50%, 50%) !important;
}

body.howtot-theme .intro-content {
    position: relative !important;
    z-index: 1 !important;
}

body.howtot-theme .intro-content h3 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    color: var(--text-primary) !important;
}

body.howtot-theme .intro-content p {
    font-size: 1.0625rem !important;
    line-height: 1.75 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 2rem !important;
}

body.howtot-theme .intro-stats {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 1rem !important;
}

body.howtot-theme .intro-stats .stat {
    background: var(--bg-secondary) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.25rem !important;
    text-align: center !important;
    border: 1px solid var(--gray-200) !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .intro-stats .stat:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-md) !important;
    border-color: var(--primary-light) !important;
    background: var(--bg-card) !important;
}

body.howtot-theme .intro-stats .stat .number {
    display: block !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-bottom: 0.25rem !important;
}

body.howtot-theme .intro-stats .stat .label {
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Form Sections - Modern Style */
body.howtot-theme .form-section {
    background: var(--bg-card) !important;
    border-radius: var(--radius-xl) !important;
    padding: 2rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid var(--gray-200) !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .form-section:hover {
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary-light) !important;
}

body.howtot-theme .section-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

body.howtot-theme .step-number {
    width: 2rem !important;
    height: 2rem !important;
    background: var(--gradient-primary) !important;
    color: var(--text-white) !important;
    border-radius: var(--radius-full) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
}

/* Form Controls - Modern Input Design */
body.howtot-theme .form-group {
    margin-bottom: 1.5rem !important;
}

body.howtot-theme .form-label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.5rem !important;
}

body.howtot-theme .form-control {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    border: 2px solid var(--gray-300) !important;
    border-radius: var(--radius-lg) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    transition: var(--transition-fast) !important;
}

body.howtot-theme .form-control:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
}

body.howtot-theme .form-control::placeholder {
    color: var(--text-light) !important;
}

/* Buttons - Modern Design */
body.howtot-theme .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-lg) !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition-base) !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
}

body.howtot-theme .btn-primary {
    background: var(--gradient-primary) !important;
    color: var(--text-white) !important;
    box-shadow: var(--shadow-md) !important;
}

body.howtot-theme .btn-primary::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%) !important;
    opacity: 0 !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

body.howtot-theme .btn-primary:hover::before {
    opacity: 1 !important;
}

body.howtot-theme .btn-primary:active {
    transform: translateY(0) !important;
}

/* Content Sections - Clean Cards */
body.howtot-theme .content-section {
    background: var(--bg-card) !important;
    border-radius: var(--radius-xl) !important;
    padding: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid var(--gray-200) !important;
}

body.howtot-theme .content-section h2 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid var(--gray-200) !important;
    position: relative !important;
}

body.howtot-theme .content-section h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 60px !important;
    height: 2px !important;
    background: var(--gradient-primary) !important;
}

/* Sidebar - Premium Widgets */
body.howtot-theme .tool-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    position: sticky !important;
    top: 2rem !important;
}

body.howtot-theme .sidebar-widget {
    background: var(--bg-card) !important;
    border-radius: var(--radius-xl) !important;
    padding: 1.75rem !important;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid var(--gray-200) !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .sidebar-widget:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-2px) !important;
}

body.howtot-theme .widget-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

body.howtot-theme .widget-icon {
    font-size: 1.25rem !important;
}

/* Newsletter Widget - Special Style */
body.howtot-theme .newsletter-widget {
    background: var(--gradient-primary) !important;
    color: var(--text-white) !important;
    position: relative !important;
    overflow: hidden !important;
}

body.howtot-theme .newsletter-widget::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%) !important;
    animation: rotate 30s linear infinite !important;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

body.howtot-theme .newsletter-widget .widget-title {
    color: var(--text-white) !important;
    position: relative !important;
    z-index: 1 !important;
}

body.howtot-theme .newsletter-widget p {
    color: rgba(255,255,255,0.9) !important;
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 1rem !important;
}

body.howtot-theme .newsletter-form {
    position: relative !important;
    z-index: 1 !important;
}

body.howtot-theme .newsletter-form input[type="email"] {
    background: rgba(255,255,255,0.2) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    color: var(--text-white) !important;
    backdrop-filter: blur(10px) !important;
}

body.howtot-theme .newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.7) !important;
}

body.howtot-theme .newsletter-form input[type="email"]:focus {
    background: rgba(255,255,255,0.25) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

body.howtot-theme .newsletter-btn {
    background: var(--bg-card) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    margin-top: 0.75rem !important;
}

body.howtot-theme .newsletter-btn:hover {
    background: var(--gray-50) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Quick Tools Widget */
body.howtot-theme .quick-tools-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

body.howtot-theme .quick-tool-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.875rem 1rem !important;
    background: var(--bg-secondary) !important;
    border-radius: var(--radius-lg) !important;
    text-decoration: none !important;
    color: var(--text-primary) !important;
    border: 1px solid transparent !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .quick-tool-item:hover {
    background: var(--bg-hover) !important;
    border-color: var(--primary-light) !important;
    transform: translateX(4px) !important;
}

body.howtot-theme .quick-tool-icon {
    font-size: 1.25rem !important;
}

body.howtot-theme .quick-tool-name {
    font-weight: 500 !important;
    font-size: 0.9375rem !important;
}

/* Categories Widget */
body.howtot-theme .categories-widget .categories-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

body.howtot-theme .categories-widget .category-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    background: var(--bg-secondary) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--gray-200) !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .categories-widget .category-item:hover {
    background: var(--bg-hover) !important;
    border-color: var(--primary-light) !important;
    transform: translateX(3px) !important;
}

body.howtot-theme .categories-widget .category-icon {
    font-size: 1.125rem !important;
    margin-right: 0.75rem !important;
}

body.howtot-theme .categories-widget .category-name {
    flex: 1 !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
}

body.howtot-theme .categories-widget .category-count {
    background: var(--primary) !important;
    color: var(--text-white) !important;
    padding: 0.125rem 0.5rem !important;
    border-radius: var(--radius-full) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

/* Results Display - Premium Cards */
body.howtot-theme .analysis-results,
body.howtot-theme .qr-results,
body.howtot-theme .calculation-results {
    background: var(--gradient-subtle) !important;
    border-radius: var(--radius-2xl) !important;
    padding: 2.5rem !important;
    margin-top: 2rem !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--gray-200) !important;
}

body.howtot-theme .results-header {
    text-align: center !important;
    margin-bottom: 2rem !important;
}

body.howtot-theme .results-header h4 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.5rem !important;
}

body.howtot-theme .results-header p {
    color: var(--text-secondary) !important;
    font-size: 1rem !important;
}

body.howtot-theme .analysis-grid,
body.howtot-theme .results-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

body.howtot-theme .analysis-card,
body.howtot-theme .result-card {
    background: var(--bg-card) !important;
    border-radius: var(--radius-xl) !important;
    padding: 1.75rem !important;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid var(--gray-200) !important;
    transition: var(--transition-base) !important;
}

body.howtot-theme .analysis-card:hover,
body.howtot-theme .result-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary-light) !important;
}

body.howtot-theme .analysis-card h5,
body.howtot-theme .result-card h5 {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    body.howtot-theme .tool-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    body.howtot-theme .tool-sidebar {
        position: static !important;
    }
}

@media (max-width: 768px) {
    body.howtot-theme .tool-header {
        padding: 2rem 1.5rem !important;
    }
    
    body.howtot-theme .tool-header-content {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    body.howtot-theme .tool-title {
        font-size: 2rem !important;
    }
    
    body.howtot-theme .tool-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    body.howtot-theme .trust-signals {
        grid-template-columns: 1fr !important;
    }
    
    body.howtot-theme .content-section {
        padding: 1.5rem !important;
    }
    
    body.howtot-theme .sidebar-widget {
        padding: 1.5rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth !important;
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.loading {
    animation-duration: 1.25s !important;
    animation-fill-mode: forwards !important;
    animation-iteration-count: infinite !important;
    animation-name: shimmer !important;
    animation-timing-function: linear !important;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%) !important;
    background-size: 800px 104px !important;
    position: relative !important;
}